"use strict";const actionMethods={init:function(){document.querySelectorAll("#app .Link").forEach((t=>{t.addEventListener("click",actionMethods.doClick),t.addEventListener("keydown",actionMethods.doKeyDown),actionMethods.initComponent(t)}))},initComponent:function(t){const e=$(t),n=actionMethods.identifyPlaceToAddShiv(e),i=actionMethods.uuid();n.attr("id",i),e.attr("aria-expanded","false"),e.attr("aria-controls",i)},doKeyDown:function(t){if(" "===t.key)t.preventDefault(),t.target.click()},doClick:function(t){t.preventDefault();const e=$(this),n=e.data("shiv");if(!n){const t=e.data("target").split(" "),n=t.map((function(t){return $("#"+t).html()}));if(0===t.length)return;const i=e.attr("aria-controls"),o=$("#"+i);actionMethods.addShiv(e,o,n),e.data("shiv",i),e.attr("data-shiv",i)}const i=$("#"+n);i.is(":visible")?(i.hide(),e.attr("aria-expanded","false")):(i.show(),e.attr("aria-expanded","true")),$("#"+n+" .shivContents").show()},identifyPlaceToAddShiv:function(t){const e=t.parent().contents().toArray(),n=e.indexOf(t[0]),i=e.length>n?e[n+1]:"";if(""===i||void 0===i)return t;const o=/^(\)?[.,;]?)/.exec(i.textContent),a=$("");if(o){const e=i.textContent.length>1?i.textContent.replace(o[1],""):"";t.after(e),t.after(a),t.after(o[1]),i.textContent=""}else t.after(a);return a},addShiv:function(t,e,n){for(let t=0;t