vendor: 5,026 bytes, lines 1-2
1/*! For license information please see bundle.js.LICENSE.txt */ 2(()=>{"use strict";var e={5454:e=>{const{entries:t,setPrototypeOf:i,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object;let{freeze:r,seal:a,create:l}=Object,{apply:c,construct:d}="undefined"!=typeof Reflect&&Reflect;r||(r=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,i){return e.apply(t,i)}),d||(d=function(e,t){return new e(...t)});const h=O(Array.prototype.forEach),u=O(Array.prototype.lastIndexOf),m=O(Array.prototype.pop),p=O(Array.prototype.push),f=O(Array.prototype.splice),g=O(String.prototype.toLowerCase),b=O(String.prototype.toString),v=O(String.prototype.match),y=O(String.prototype.replace),E=O(String.prototype.indexOf),x=O(String.prototype.trim),C=O(Object.prototype.hasOwnProperty),_=O(RegExp.prototype.test),S=(w=TypeError,function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return d(w,t)});var w;function O(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return c(e,t,n)}}function A(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;i&&i(e,null);let s=t.length;for(;s--;){let i=t[s];if("string"==typeof i){const e=o(i);e!==i&&(n(t)||(t[s]=e),i=e)}e[i]=!0}return e}function N(e){for(let t=0;t<e.length;t++)C(e,t)||(e[t]=null);return e}function P(e){const i=l(null);for(const[n,o]of t(e))C(e,n)&&(Array.isArray(o)?i[n]=N(o):o&&"object"==typeof o&&o.constructor===Object?i[n]=P(o):i[n]=o);return i}function T(e,t){for(;null!==e;){const i=s(e,t);if(i){if(i.get)return O(i.get);if("function"==typeof i.value)return O(i.value)}e=o(e)}return function(){return null}}const k=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),B=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),D=r(["#text"]),R=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),H=r(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),F=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=a(/<%[\w\W]*|[\w\W]*%>/gm),q=a(/\$\{[\w\W]*/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=a(/^aria-[\-\w]+$/),V=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i),J=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:J,DATA_ATTR:W,DOCTYPE_NAME:Y,ERB_EXPR:$,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:U,TMPLIT_EXPR:q});const Q=function(){return"undefined"==typeof window?null:window};var ee=function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q();const n=t=>e(t);if(n.version="3.2.6",n.removed=[],!i||!i.document||9!==i.document.nodeType||!i.Element)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:d,Node:w,Element:O,NodeFilter:N,NamedNodeMap:U=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:q,trustedTypes:W}=i,G=O.prototype,K=T(G,"cloneNode"),X=T(G,"remove"),J=T(G,"nextSibling"),ee=T(G,"childNodes"),te=T(G,"parentNode");if("function"==typeof d){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ie,ne="";const{implementation:oe,createNodeIterator:se,createDocumentFragment:re,getElementsByTagName:ae}=o,{importNode:le}=s;let ce={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof t&&"function"==typeof te&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:de,ERB_EXPR:he,TMPLIT_EXPR:ue,DATA_ATTR:me,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:ge,CUSTOM_ELEMENT:be}=Z;let{IS_ALLOWED_URI:ve}=Z,ye=null;const Ee=A({},[...k,...L,...M,...I,...D]);let xe=null;const Ce=A({},[...R,...H,...F,...z]);let _e=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,we=null,Oe=!0,Ae=!0,Ne=!1,Pe=!0,Te=!1,ke=!0,Le=!1,Me=!1,je=!1,Ie=!1,Be=!1,De=!1,Re=!0,He=!1,Fe=!0,ze=!1,Ue={},$e=null;const qe=A({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let We=null;const Ge=A({},["audio","video","img","source","image","track"]);let Ve=null;const Ke=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml";let Ze=Je,Qe=!1,et=null;const tt=A({},[Xe,Ye,Je],b);let it=A({},["mi","mo","mn","ms","mtext"]),nt=A({},["annotation-xml"]);const ot=A({},["title","style","font","a","script"]);let st=null;const rt=["application/xhtml+xml","text/html"];let at=null,lt=null;const ct=o.createElement("form"),dt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!lt||lt!==e){if(e&&"object"==typeof e||(e={}
vendor: 2,625 bytes, line 2
2),e=P(e),st=-1===rt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,at="application/xhtml+xml"===st?b:g,ye=C(e,"ALLOWED_TAGS")?A({},e.ALLOWED_TAGS,at):Ee,xe=C(e,"ALLOWED_ATTR")?A({},e.ALLOWED_ATTR,at):Ce,et=C(e,"ALLOWED_NAMESPACES")?A({},e.ALLOWED_NAMESPACES,b):tt,Ve=C(e,"ADD_URI_SAFE_ATTR")?A(P(Ke),e.ADD_URI_SAFE_ATTR,at):Ke,We=C(e,"ADD_DATA_URI_TAGS")?A(P(Ge),e.ADD_DATA_URI_TAGS,at):Ge,$e=C(e,"FORBID_CONTENTS")?A({},e.FORBID_CONTENTS,at):qe,Se=C(e,"FORBID_TAGS")?A({},e.FORBID_TAGS,at):P({}),we=C(e,"FORBID_ATTR")?A({},e.FORBID_ATTR,at):P({}),Ue=!!C(e,"USE_PROFILES")&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Te=e.SAFE_FOR_TEMPLATES||!1,ke=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,je=e.FORCE_BODY||!1,Re=!1!==e.SANITIZE_DOM,He=e.SANITIZE_NAMED_PROPS||!1,Fe=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||V,Ze=e.NAMESPACE||Je,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,nt=e.HTML_INTEGRATION_POINTS||nt,_e=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_e.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&dt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_e.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(_e.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Te&&(Ae=!1),Be&&(Ie=!0),Ue&&(ye=A({},D),xe=[],!0===Ue.html&&(A(ye,k),A(xe,R)),!0===Ue.svg&&(A(ye,L),A(xe,H),A(xe,z)),!0===Ue.svgFilters&&(A(ye,M),A(xe,H),A(xe,z)),!0===Ue.mathMl&&(A(ye,I),A(xe,F),A(xe,z))),e.ADD_TAGS&&(ye===Ee&&(ye=P(ye)),A(ye,e.ADD_TAGS,at)),e.ADD_ATTR&&(xe===Ce&&(xe=P(xe)),A(xe,e.ADD_ATTR,at)),e.ADD_URI_SAFE_ATTR&&A(Ve,e.ADD_URI_SAFE_ATTR,at),e.FORBID_CONTENTS&&($e===qe&&($e=P($e)),A($e,e.FORBID_CONTENTS,at)),Fe&&(ye["#text"]=!0),Le&&A(ye,["html","head","body"]),ye.table&&(A(ye,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ne=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let i=null;
vendor: 4,155 bytes, line 2
2const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(i=t.getAttribute(n));const o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(W,a)),null!==ie&&"string"==typeof ne&&(ne=ie.createHTML(""));r&&r(e),lt=e}},ut=A({},[...L,...M,...j]),mt=A({},[...I,...B]),pt=function(e){p(n.removed,{element:e});try{te(e).removeChild(e)}catch(t){X(e)}},ft=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Ie||Be)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},gt=function(e){let t=null,i=null;if(je)e="<remove></remove>"+e;else{const t=v(e,/^[\r\n\t ]+/);i=t&&t[0]}"application/xhtml+xml"===st&&Ze===Je&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const n=ie?ie.createHTML(e):e;if(Ze===Je)try{t=(new q).parseFromString(n,st)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=Qe?ne:n}catch(e){}}const s=t.body||t.documentElement;return e&&i&&s.insertBefore(o.createTextNode(i),s.childNodes[0]||null),Ze===Je?ae.call(t,Le?"html":"body")[0]:Le?t.documentElement:s},bt=function(e){return se.call(e.ownerDocument||e,e,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT|N.SHOW_PROCESSING_INSTRUCTION|N.SHOW_CDATA_SECTION,null)},vt=function(e){return e instanceof $&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof U)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},yt=function(e){return"function"==typeof w&&e instanceof w};function Et(e,t,i){h(e,(e=>{e.call(n,t,i,lt)}))}const xt=function(e){let t=null;if(Et(ce.beforeSanitizeElements,e,null),vt(e))return pt(e),!0;const i=at(e.nodeName);if(Et(ce.uponSanitizeElement,e,{tagName:i,allowedTags:ye}),ke&&e.hasChildNodes()&&!yt(e.firstElementChild)&&_(/<[/\w!]/g,e.innerHTML)&&_(/<[/\w!]/g,e.textContent))return pt(e),!0;if(7===e.nodeType)return pt(e),!0;if(ke&&8===e.nodeType&&_(/<[/\w]/g,e.data))return pt(e),!0;if(!ye[i]||Se[i]){if(!Se[i]&&_t(i)){if(_e.tagNameCheck instanceof RegExp&&_(_e.tagNameCheck,i))return!1;if(_e.tagNameCheck instanceof Function&&_e.tagNameCheck(i))return!1}if(Fe&&!$e[i]){const t=te(e)||e.parentNode,i=ee(e)||e.childNodes;if(i&&t)for(let n=i.length-1;n>=0;--n){const o=K(i[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,J(e))}}return pt(e),!0}return e instanceof O&&!function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});const i=g(e.tagName),n=g(t.tagName);return!!et[e.namespaceURI]&&(e.namespaceURI===Ye?t.namespaceURI===Je?"svg"===i:t.namespaceURI===Xe?"svg"===i&&("annotation-xml"===n||it[n]):Boolean(ut[i]):e.namespaceURI===Xe?t.namespaceURI===Je?"math"===i:t.namespaceURI===Ye?"math"===i&&nt[n]:Boolean(mt[i]):e.namespaceURI===Je?!(t.namespaceURI===Ye&&!nt[n])&&!(t.namespaceURI===Xe&&!it[n])&&!mt[i]&&(ot[i]||!ut[i]):!("application/xhtml+xml"!==st||!et[e.namespaceURI]))}(e)?(pt(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(Te&&3===e.nodeType&&(t=e.textContent,h([de,he,ue],(e=>{t=y(t,e," ")})),e.textContent!==t&&(p(n.removed,{element:e.cloneNode()}),e.textContent=t)),Et(ce.afterSanitizeElements,e,null),!1):(pt(e),!0)},Ct=function(e,t,i){if(Re&&("id"===t||"name"===t)&&(i in o||i in ct))return!1;if(Ae&&!we[t]&&_(me,t));else if(Oe&&_(pe,t));else if(!xe[t]||we[t]){if(!(_t(e)&&(_e.tagNameCheck instanceof RegExp&&_(_e.tagNameCheck,e)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(e))&&(_e.attributeNameCheck instanceof RegExp&&_(_e.attributeNameCheck,t)||_e.attributeNameCheck instanceof Function&&_e.attributeNameCheck(t))||"is"===t&&_e.allowCustomizedBuiltInElements&&(_e.tagNameCheck instanceof RegExp&&_(_e.tagNameCheck,i)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(i))))return!1}else if(Ve[t]);else if(_(ve,y(i,ge,"")));
2else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(i,"data:")||!We[e])if(Ne&&!_(fe,y(i,ge,"")));else if(i)return!1;return!0},_t=function(e){return"annotation-xml"!==e&&v(e,be)},St=function(e){Et(ce.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||vt(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe,forceKeepAttr:void 0};let o=t.length;for(;o--;){const s=t[o],{name:r,namespaceURI:a,value:l}=s,c=at(r),d=l;let u="value"===r?d:x(d);if(i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,Et(ce.uponSanitizeAttribute,e,i),u=i.attrValue,!He||"id"!==c&&"name"!==c||(ft(r,e),u="user-content-"+u),ke&&_(/((--!?|])>)|<\/(style|title)/i,u)){ft(r,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){ft(r,e);continue}if(!Pe&&_(/\/>/i,u)){ft(r,e);continue}Te&&h([de,he,ue],(e=>{u=y(u,e," ")}));const p=at(e.nodeName);if(Ct(p,c,u)){if(ie&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(a);else switch(W.getAttributeType(p,c)){case"TrustedHTML":u=ie.createHTML(u);break;case"TrustedScriptURL":u=ie.createScriptURL(u)}if(u!==d)try{a?e.setAttributeNS(a,r,u):e.setAttribute(r,u),vt(e)?pt(e):m(n.removed)}catch(t){ft(r,e)}}else ft(r,e)}Et(ce.afterSanitizeAttributes,e,null)},wt=function e(t){let i=null;const n=bt(t);for(Et(ce.beforeSanitizeShadowDOM,t,null);i=n.nextNode();)Et(ce.uponSanitizeShadowNode,i,null),xt(i),St(i),i.content instanceof c&&e(i.content);Et(ce.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,r=null,a=null;if(Qe=!e,Qe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!yt(e)){if("function"!=typeof e.toString)throw S("toString is not a function");if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Me||ht(t),n.removed=[],"string"==typeof e&&(ze=!1),ze){if(e.nodeName){const t=at(e.nodeName);if(!ye[t]||Se[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof w)i=gt("\x3c!----\x3e"),o=i.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!Ie&&!Te&&!Le&&-1===e.indexOf("<"))return ie&&De?ie.createHTML(e):e;if(i=gt(e),!i)return Ie?null:De?ne:""}i&&je&&pt(i.firstChild);const l=bt(ze?e:i);for(;r=l.nextNode();)xt(r),St(r),r.content instanceof c&&wt(r.content);if(ze)return e;if(Ie){if(Be)for(a=re.call(i.ownerDocument);i.firstChild;)a.appendChild(i.firstChild);else a=i;return(xe.shadowroot||xe.shadowrootmode)&&(a=le.call(s,a,!0)),a}let d=Le?i.outerHTML:i.innerHTML;return Le&&ye["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(Y,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),Te&&h([de,he,ue],(e=>{d=y(d,e," ")})),ie&&De?ie.createHTML(d):d},n.setConfig=function(){ht(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Me=!0},n.clearConfig=function(){lt=null,Me=!1},n.isValidAttribute=function(e,t,i){lt||ht({});const n=at(e),o=at(t);return Ct(n,o,i)},n.addHook=function(e,t){"function"==typeof t&&p(ce[e],t)},n.removeHook=function(e,t){if(void 0!==t){const i=u(ce[e],t);return-1===i?void 0:f(ce[e],i,1)[0]}return m(ce[e])},n.removeHooks=function(e){ce[e]=[]},n.removeAllHooks=function(){ce={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();e.exports=ee},811:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssetsLoader=void 0;class i extends HTMLElement{constructor(){super(),this.scriptKey=this.getAttribute("script-key")||"",this.scriptIncludes=JSON.parse(this.getAttribute("script-includes")||"[]"),this.styleIncludes=JSON.parse(this.getAttribute("style-includes")||"[]"),window.widgetCallbacks||(window.widgetCallbacks={}),window.widgetCallbacks[this.scriptKey]||(window.widgetCallbacks[this.scriptKey]=[])}connectedCallback(){this.loadIncludes()}isScriptIncludeAlreadyLoaded(e){return document.querySelectorAll(`script[src="${e}"]`).length>0}loadScriptInclude(e,t,i){if(this.isScriptIncludeAlreadyLoaded(e))return null;const n=document.createElement("script");return n.setAttribute("src",e),i&&n.setAttribute("type","module"),n.onload=()=>{t&&t(),window.widgetCallbacks&&window.widgetCallbacks[this.scriptKey]&&window.widgetCallbacks[this.scriptKey].forEac
2h((e=>e()))},document.getElementsByTagName("head")[0].appendChild(n),n}isStyleIncludeAlreadyLoaded(e){return document.querySelectorAll(`link[href="${e}"]`).length>0}loadStyleInclude(e){if(this.isStyleIncludeAlreadyLoaded(e))return null;const t=document.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(t),t}loadIncludes(){this.scriptIncludes.forEach((e=>{this.loadScriptInclude(e.url,e.callback,e.isModule)})),this.styleIncludes.forEach((e=>{this.loadStyleInclude(e.url)}))}}t.AssetsLoader=i},4395:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.CookieCategory=void 0,function(e){e[e.Mandatory=1]="Mandatory",e[e.Analytic=2]="Analytic",e[e.Targeted=3]="Targeted",e[e.Functional=4]="Functional"}(i||(t.CookieCategory=i={}))},1024:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CookieConsentConditionalContent=void 0;class i extends HTMLElement{static get observedAttributes(){return["categories","identifier","use-local-storage"]}constructor(){super(),this.useLocalStorage=!1,this.categories=[],this.injectedHeadNodes=[],this.injectedBodyStartNodes=[],this.injectedBodyEndNodes=[],this.contentState="none",this.identifier="",this.initializedAttributes=new Set,this.allAttributesInitialized=!1,this.contentContainer=null,this.checkAndRenderContent=this.checkAndRenderContent.bind(this),this.onCookieConsentUpdated=this.onCookieConsentUpdated.bind(this)}getTemplate(e){return this.querySelector(`template[data-template="${e}"]`)}processTemplateScripts(e){const t=e.querySelectorAll("script");0!==t.length&&Array.from(t).forEach((e=>{const t=document.createElement("script");Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)})),e.textContent&&(t.textContent=e.textContent),e.parentNode&&e.parentNode.replaceChild(t,e)}))}connectedCallback(){this.contentContainer||(this.contentContainer=document.createElement("div"),this.contentContainer.className="cookie-consent-content",this.appendChild(this.contentContainer)),this.parseAttributes(),this.allAttributesInitialized=!0,window.eventBus&&window.eventBus.addEventListener("cookie-consent-updated",this.onCookieConsentUpdated),this.checkAndRenderContent()}disconnectedCallback(){window.eventBus&&window.eventBus.removeEventListener&&window.eventBus.removeEventListener("cookie-consent-updated",this.onCookieConsentUpdated),this.removeGlobalTemplates()}attributeChangedCallback(e,t,i){if(t!==i){this.initializedAttributes.add(e);const t=this.constructor.observedAttributes;t&&t.every((e=>this.initializedAttributes.has(e)||!this.hasAttribute(e)))&&(this.allAttributesInitialized=!0),this.parseAttributes(),this.allAttributesInitialized&&this.checkAndRenderContent()}}parseAttributes(){const e=this.getAttribute("categories");e&&(this.categories=e.split(",").map((e=>e.trim())).filter((e=>!isNaN(Number(e)))).map((e=>Number(e))));const t=this.getAttribute("identifier");this.identifier=t||"default",this.useLocalStorage="true"===this.getAttribute("use-local-storage")}onCookieConsentUpdated(e){window.initializeCookieNotice&&window.initializeCookieNotice(),this.checkAndRenderContent()}checkAndRenderContent(){if(!this.contentContainer)return;let e=null;this.categories.length>0&&(e=this.getConsentState());let t=!1,i=!1;if(0===this.categories.length?t=!0:e?(t=this.categories.every((t=>!0===e[t])),i=!t):i=!0,t&&"accepted"===this.contentState||i&&"rejected"===this.contentState)return;const n=this.contentState;if(this.contentState=t?"accepted":i?"rejected":"none",("accepted"===n&&i||"rejected"===n&&t)&&this.contentContainer)for(;this.contentContainer.firstChild;)this.contentContainer.removeChild(this.contentContainer.firstChild);if(t){const e=this.getTemplate("acceptedBodyContent"),t=this.getTemplate("acceptedHeadContent"),i=this.getTemplate("acceptedBodyStartContent"),n=this.getTemplate("acceptedBodyEndContent");if(e&&this.contentContainer){const t=e.content.cloneNode(!0);this.processTemplateScripts(t),this.contentContainer.appendChild(t)}(t||i||n)&&this.injectGlobalTemplates(t,i,n)}else if(i){const e=this.getTemplate("rejectedBodyContent");
2if(e&&this.contentContainer){const t=e.content.cloneNode(!0);this.processTemplateScripts(t),this.contentContainer.appendChild(t)}this.removeGlobalTemplates()}}injectGlobalTemplates(e,t,i){if(e&&0===this.injectedHeadNodes.length){const t=document.head;if(t){const i=e.content.cloneNode(!0);this.processTemplateScripts(i);const n=Array.from(i.childNodes);n.forEach((e=>t.appendChild(e))),this.injectedHeadNodes=n}}if(t&&0===this.injectedBodyStartNodes.length){const e=document.body;if(e){const i=t.content.cloneNode(!0);this.processTemplateScripts(i);const n=Array.from(i.childNodes);for(let t=n.length-1;t>=0;t--)e.insertBefore(n[t],e.firstChild);this.injectedBodyStartNodes=n}}if(i&&0===this.injectedBodyEndNodes.length){const e=document.body;if(e){const t=i.content.cloneNode(!0);this.processTemplateScripts(t);const n=Array.from(t.childNodes);n.forEach((t=>e.appendChild(t))),this.injectedBodyEndNodes=n}}}removeGlobalTemplates(){const e=e=>{e.forEach((e=>{e.parentNode&&e.parentNode.removeChild(e)}))};this.injectedHeadNodes.length&&(e(this.injectedHeadNodes),this.injectedHeadNodes=[]),this.injectedBodyStartNodes.length&&(e(this.injectedBodyStartNodes),this.injectedBodyStartNodes=[]),this.injectedBodyEndNodes.length&&(e(this.injectedBodyEndNodes),this.injectedBodyEndNodes=[])}getConsentState(){const e=`cookie-consent-${this.identifier}`;let t=null;if(t=this.useLocalStorage?localStorage.getItem(e):document.cookie.split("; ").reduce(((t,i)=>{const n=i.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),""),!t)return null;try{return JSON.parse(t)}catch(e){return console.error("Error parsing cookie consent state:",e),null}}}t.CookieConsentConditionalContent=i},4568:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CookieManager=void 0;const n=i(568);class o extends HTMLElement{constructor(){super(),this.useLocalStorage=!1,this.getCookiesToDelete=this.getCookiesToDelete.bind(this),this.getConsentState=this.getConsentState.bind(this),this.onCookieConsentUpdated=this.onCookieConsentUpdated.bind(this)}connectedCallback(){if(!window.cookieService){const e=new n.CookieService;window.cookieService=e,e.init()}window.eventBus&&window.eventBus.addEventListener("cookie-consent-updated",this.onCookieConsentUpdated),this.getCookiesToDelete(`cookie-consent-${this.getAttribute("identifier")}`)}disconnectedCallback(){}onCookieConsentUpdated(e){const t=`cookie-consent-${e.target.identifier}`;this.getCookiesToDelete(t)}getCookiesToDelete(e){const t=this.getConsentState(e);t&&fetch("/api/presentation/v2/cookies-to-reject",{method:"POST",headers:{"Content-Type":"application/json"},body:t}).then((e=>e.json().then((e=>{window.cookieService.deleteCookies(e.content)}))))}getConsentState(e){return this.useLocalStorage?localStorage.getItem(e):document.cookie.split("; ").reduce(((t,i)=>{const n=i.split("=");return n[0]===e?decodeURIComponent(n[1]):t}),"")}}t.CookieManager=o},568:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CookieService=void 0,t.CookieService=class{deleteCookies(e){e.forEach((e=>{this.deleteCookie(e.name,e.domain)}))}deleteCookie(e,t){document.cookie=t?`${e}=; domain=${t}; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT;`:`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`}init(){}}},3465:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(4568),t),o(i(568),t),o(i(4395),t),o(i(1024),t)},7216:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EventBus=void 0;const n=i(5737);class o extends HTMLElement{constructor(){super()}connectedCallback(){window.eventBusV2||(window.eventBusV2=new n.EventBusService)}}t.EventBus=o},5737:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EventBusService=void 0,t.EventBusService=class{constructor(){this.listeners={}}
2dispatchEvent(e){const t=this.listeners[e.name];t&&t.forEach((t=>t(e.args,e.sender)))}subscribeToEvent(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)}unsubscribeFromEvent(e,t){const i=this.listeners[e];i&&(this.listeners[e]=i.filter((e=>e!==t)),0===this.listeners[e].length&&delete this.listeners[e])}}},1428:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(7216),t)},2949:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.App=void 0;class i extends HTMLElement{static get observedAttributes(){return["styles","scripts"]}constructor(){super(),this.isValidLocalUrl=e=>{if(!e||""===e.trim())return!1;const t=e.trim();return!(!t.startsWith("/")||t.startsWith("//")||t.includes("://")||t.toLowerCase().startsWith("data:")||t.toLowerCase().startsWith("javascript:"))}}connectedCallback(){this.update()}attributeChangedCallback(e,t,i){this.update()}processStyles(e){e.forEach((e=>{if(this.isValidLocalUrl(e.url)){if(!document.head.querySelector(`link[href="${e.url}"]`)){const t=document.createElement("link");t.href=e.url,t.rel="stylesheet",e.append?document.head.appendChild(t):document.head.insertBefore(t,document.head.firstChild)}}else console.warn(`Blocked non-local stylesheet URL: ${e.url}`)}))}processScripts(e){e.forEach((e=>{if(this.isValidLocalUrl(e.url))if(document.head.querySelector(`script[src="${e.url}"]`)){if(e.onLoadCallbackName){const t=window[e.onLoadCallbackName];"function"==typeof t?t():console.warn(`Callback function '${e.onLoadCallbackName}' is not defined.`)}}else{const t=document.createElement("script");t.src=e.url,e.isAsync&&(t.async=!0),e.isModule&&(t.type="module"),e.onLoadCallbackName&&(t.onload=()=>{const t=window[e.onLoadCallbackName];"function"==typeof t?t():console.warn(`Callback function '${e.onLoadCallbackName}' is not defined.`)}),e.append?document.body.appendChild(t):document.head.appendChild(t)}else console.warn(`Blocked non-local script URL: ${e.url}`)}))}update(){this.processStyles(JSON.parse(this.getAttribute("styles")||"[]")),this.processScripts(JSON.parse(this.getAttribute("scripts")||"[]"))}}t.App=i},315:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},1527:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3434:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(2949),t),o(i(315),t),o(i(1527),t)},4277:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HtmxApp=void 0;const n=i(2254);let o=null,s=!1;const r=e=>new Promise(((t,i)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>i(new Error(`Failed to load ${e}`)),document.head.appendChild(n)}));class a extends HTMLElement{constructor(){super()}connectedCallback(){(0,n.isElementVisibleInDom)(this)?this.loadHtmx():(this.onContainerOpen=(e,t)=>{t&&t.contains(this)&&this.loadHtmx(),e.target&&e.target.contains(this)&&this.loadHtmx()},(0,n.subscribeToEvent)("container-open",this.onContainerOpen),(0,n.subscribeToLegacyEvent)("show-container",this.onContainerOpen))}disconnectedCallback(){this.onContainerOpen&&(0,n.unsubscribeFromEvent)("container-open",this.onContainerOpen)}initializeView(){const e=this.querySelector("template");if(e){const t=e.content.cloneNode(!0),i=this.firstElementChild;i&&(i.innerHTML="",i.appendChild(t),window.htmx.process(i))}}loadHtmx(){(window.htmx?Promise.resolve():(o||(s||(document.body.addEventListener("htmx:configRequest",(e=>{e.detail.headers["X-ANTI-CSRF"]="1"})),s=!0),o=r("/templates/assets/js/htmx.min.js").then((()=>r("/templates/assets/js/json-enc.js"))).catch((e=>{throw o=null,e}))),o)).then((()=>this.initializeView())).catch(console.error)}}t.HtmxApp=a},7409:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);
2o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(4277),t)},1230:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(3434),t),o(i(7409),t)},5623:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Faq=void 0;const n=i(2254),o=i(106);class s extends HTMLElement{constructor(){super(),this.classNamePrefix="cc",this.handleToggleAllItems=e=>{this.state===o.FaqState.Expanded?this.closeAllItems():this.openAllItems(),this.updateState()},this.handleToggleItem=e=>{this.items.forEach((t=>{t.element===e.target&&(t.isOpen=t.element.open,t.isOpen?this.updateHashFragment(t.identifier):this.updateHashFragment(""))})),this.updateState()},this.handleFragmentLink=()=>{let e=window.location.hash;e&&(e=e.startsWith("#!#")?e.substring(2):e.substring(1),this.items.forEach((t=>{t.identifier===e&&this.openItem(t)})),window.eventBus&&window.eventBus.dispatch("show-parent-container",this))},this.handleBeforePrint=e=>{this.openAllItems()},this.handleAfterPrint=e=>{this.closeAllItems()},this.handleShowParentContainer=e=>{if(e&&e.target){const t=e.target;this.items.forEach((e=>{e.element.contains(t)&&!e.isOpen&&(this.openItem(e),this.updateState())}))}},this.items=[],this.state=o.FaqState.Collapsed}connectedCallback(){this.init(),window.addEventListener("beforeprint",this.handleBeforePrint),window.addEventListener("afterprint",this.handleAfterPrint),window.addEventListener("hashchange",this.handleFragmentLink.bind(this)),window.eventBus&&window.eventBus.addEventListener("show-parent-container",this.handleShowParentContainer)}disconnectedCallback(){window.removeEventListener("beforeprint",this.handleBeforePrint),window.removeEventListener("afterprint",this.handleAfterPrint),window.removeEventListener("hashchange",this.handleFragmentLink.bind(this))}init(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.querySelectorAll(`:scope > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"faq")} > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"faq-item")}`);Array.from(t).forEach((e=>{e.id=`faq-item-${(0,n.getClientID)()}`,e.addEventListener("toggle",this.handleToggleItem),this.items.push({element:e,identifier:e.getAttribute("data-identifier"),isOpen:e.open})})),this.items.length>1&&this.createToggleButton(),this.handleFragmentLink(),this.updateState()}createToggleButton(){const e=document.createElement("button");e.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"faq-toggle-button"),e.type="button",e.setAttribute("aria-pressed","false");const t=this.items.map((e=>e.element.id)).join(",");e.setAttribute("aria-controls",t),e.addEventListener("click",this.handleToggleAllItems),this.prepend(e);const i=document.createElement("span");i.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"faq-toggle-button-text"),i.textContent=this.getAttribute("open-all-text"),e.appendChild(i),this.toggleButtonElement=e}updateToggleButton(){if(this.toggleButtonElement){const e=this.toggleButtonElement.querySelector("span"),t=this.getAttribute("open-all-text"),i=this.getAttribute("close-all-text");e.innerText=this.state===o.FaqState.Expanded?i:t;let n="false";this.state===o.FaqState.Expanded?n="true":this.state===o.FaqState.Mixed&&(n="mixed"),this.toggleButtonElement.setAttribute("aria-pressed",n)}}updateState(){this.isExpanded()?this.state=o.FaqState.Expanded:this.isPartiallyExpanded()?this.state=o.FaqState.Mixed:this.state=o.FaqState.Collapsed,this.updateToggleButton()}updateHashFragment(e){const t=window.location.href.split("#")[0],i=e?t+"#"+e:t;history.replaceState({},"",i)}isExpanded(){return this.items.filter((e=>e.isOpen)).length===this.items.length}isPartiallyExpanded(){const e=this.items.filter((e=>e.isOpen));return e.length>0&&e.length<this.items.length}
2openAllItems(){this.items.forEach((e=>{this.openItem(e)}))}openItem(e){e.isOpen=!0,e.element.open=!0,window.eventBus&&window.eventBus.dispatch("show-container",this)}closeAllItems(){this.items.forEach((e=>{this.closeItem(e)}))}closeItem(e){e.isOpen=!1,e.element.open=!1}}t.Faq=s},7204:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},106:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FaqState=void 0,function(e){e[e.Expanded=0]="Expanded",e[e.Collapsed=1]="Collapsed",e[e.Mixed=2]="Mixed"}(i||(t.FaqState=i={}))},123:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(5623),t),o(i(7204),t),o(i(106),t)},1691:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ImageGallery=void 0;const n=i(2254),o=i(3100);var s;!function(e){e[e.Left=-1]="Left",e[e.Right=1]="Right"}(s||(s={}));class r extends HTMLElement{constructor(){super(),this.items=[],this.index=0,this.options={maximumHeight:650},this.classNamePrefix="cc",this.imageElement=null,this.descriptionElement=null,this.imageGalleryMetaElement=null,this.isItemsSet=!1,this.isOptionsSet=!1,this.aspectRatio=1,this.setResponsiveHeight=()=>{const e=this.getBoundingClientRect(),t=Math.min(e.width/this.aspectRatio,this.options.maximumHeight);let i=t;t>this.options.maximumHeight&&(i=this.options.maximumHeight),this.firstElementChild.style.setProperty("--v-image-gallery-height",`${i}px`)},this.navLeft=()=>{this.nav(s.Left)},this.navRight=()=>{this.nav(s.Right)}}static get observedAttributes(){return["items","options"]}connectedCallback(){this.resizeObserver=new ResizeObserver((0,n.debounce)((e=>{this.setResponsiveHeight()}),250)),this.resizeObserver.observe(this.firstElementChild)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.firstElementChild)}attributeChangedCallback(e,t,i){switch(e){case"items":i&&(this.items=JSON.parse(i),this.isItemsSet=!0);break;case"options":i&&(this.options=JSON.parse(i),this.isOptionsSet=!0)}this.init()}init(){var e,t,i,n,s,r,a,l,c;if(this.isItemsSet&&this.isOptionsSet){let d=!1;const h=this.querySelectorAll(`.${this.classNamePrefix}-image-gallery-item`);for(let o=0;o<h.length;o++){o==this.index&&h[o].classList.add(`${this.classNamePrefix}-is-active`);const r=this.items[o];if(r.lightboxUrl){d=!0;const a=document.createElement("a");a.classList.add("js-lightbox-image-anchor"),a.setAttribute("href",r.lightboxUrl);const l=h[o].querySelector("img"),c=null!==(e=r.alternateText)&&void 0!==e?e:`Illustrasjonsbilde ${o+1} av ${this.items.length}`;l.setAttribute("alt",c),null===(t=l.parentNode)||void 0===t||t.insertBefore(a,l),l.classList.add("js-lightbox-image"),l.setAttribute("data-lightbox-image-url",null!==(i=r.lightboxUrl)&&void 0!==i?i:r.imageUrl),l.setAttribute("data-lightbox-thumbnail-url",null!==(n=r.thumbnailUrl)&&void 0!==n?n:r.imageUrl),l.setAttribute("data-lightbox-image-description",null!==(s=r.description)&&void 0!==s?s:""),l.setAttribute("data-lightbox-image-alttext",c),a.appendChild(l)}}const u=this.querySelector(`.${this.classNamePrefix}-image-gallery-item-list`);d&&(u.classList.add("js-lightbox-image-collection"),window.eventBus&&setTimeout((()=>{window.eventBus.dispatch("init-lightbox","")}),4e3)),this.imageElement=this.querySelector("img");const m=(0,o.createButton)(this.classNamePrefix,"image-gallery-navigation-button",this.getAttribute("previous-button-text"));m.classList.add(`${this.classNamePrefix}-image-gallery-navigation-button--previous`),m.addEventListener("click",this.navLeft),m.setAttribute("aria-label","Forrige bilde");const p=(0,o.createButton)(this.classNamePrefix,"image-gallery-navigation-button",this.getAttribute("next-button-text"));p.classList.add(`${this.classNamePrefix}-image-gallery-navigation-button--next`),p.addEventListener("click",this.navRight),p.setAttribute("aria-label","Neste bilde");const f=document.createElement("div");f.className=`${this.classNamePrefix}-image-gallery-navigation`,f.appendChild(m),f.appendChild(p),null===(r=this.firstElementChild)||void 0===r||r.appendChild(f),this.imageGalleryMetaElement=document.createElement("div"),this.imageGalleryMetaElement.className=`${this.classNamePrefix}-image-gallery-meta`,this.imageGalleryMetaElement.innerHTML=`Bilde ${this.index+1} av ${this.items.length}`,null===(a=this.firstElementChild)||void 0===a||a.appendChild(this.imageGalleryMetaElement),this.items[this.index].description&&(this.descriptionElement=document.createElement("div"),this.descriptionElement.className=`${this.classNamePrefix}-image-gallery-item-description`,this.descriptionElement.innerHTML=null!==(l=this.items[this.index].description)&&void 0!==l?l:"Ingen bildebeskrivelse",null===(c=this.firstElementChild)||void 0===c||c.appendChild(this.descriptionElement)),this.getLargestImage(((e,t)=>{const i=t/e;this.aspectRatio=i,this.setResponsiveHeight()}))}}update(){var e;const t=this.querySelectorAll(`.${this.classNamePrefix}-image-gallery-item`);for(let e=0;e<t.length;e++)e==this.index?t[e].classList.add(`${this.classNamePrefix}-is-active`):t[e].classList.remove(`${this.classNamePrefix}-is-active`);this.descriptionElement&&this.items[this.index].description&&(this.descriptionElement.innerHTML=null!==(e=this.items[this.index].description)&&void 0!==e?e:"Ingen bildebeskrivelse"),this.imageGalleryMetaElement.innerHTML=`Bilde ${this.index+1} av ${this.items.length}`}getLargestImage(e){Promise.all(this.items.map((e=>{return t=e.imageUrl,new Promise(((e,i)=>{const n=new Image;n.onload=()=>e({url:t,height:n.height,width:n.width}),n.onerror=i,n.src=t}));var t}))).then((t=>{const i=t.reduce(((e,t)=>e.height>t.height?e:t));e(i.height,i.width)})).catch((e=>{console.error("An error occurred:",e)}))}nav(e){const t=this.index+e;t<0?this.index=this.items.length-1:t>=this.items.length?this.index=0:this.index=t,this.update()}}t.ImageGallery=r},6509:(e,t)=>
2{Object.defineProperty(t,"__esModule",{value:!0})},8468:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(1691),t),o(i(6509),t)},7799:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0;const n=i(7615),o=i(6245),s=i(2254);class r extends HTMLElement{constructor(){super(),this.classNamePrefix="cc",this.options=null,this.items=[],this.provider=new n.GoogleMapsProvider(this,this.classNamePrefix)}static get observedAttributes(){return["options","items"]}connectedCallback(){const e=this.getAttribute("class-prefix");this.firstElementChild&&(this.firstElementChild.id=(0,s.getClientID)()),e&&(this.classNamePrefix=e)}initialize(){this.provider.createMap(this.items)}attributeChangedCallback(e,t,i){switch(e){case"options":const e=JSON.parse(i);this.options=e,this.setProvider(e.providerName),this.provider.initialize(this.options);break;case"items":const t=JSON.parse(i);this.items=t}}setProvider(e){this.provider="NorkartWebatlas"===e?new o.NorkartWebatlasProvider:new n.GoogleMapsProvider(this,this.classNamePrefix)}disconnectedCallback(){}}t.Map=r},565:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(7799),t)},7615:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsProvider=void 0;const n=i(2254),o=i(532);t.GoogleMapsProvider=class{constructor(e,t){this.map=null,this.options=null,this.element=null,this.classNamePrefix="cc",this.element=e,this.classNamePrefix=t}addScript(e){var t;if(window.webcomponentgooglemaps||(window.webcomponentgooglemaps=()=>{document.querySelectorAll(o.WebComponentNames.Map).forEach((e=>{e.initialize()}))}),!document.scripts.namedItem("goooooogle")){var i=document.createElement("script");i.async=!0,i.id="goooooogle",i.src="https://maps.googleapis.com/maps/api/js?key="+e+"&language=no&libraries=marker®ion=no&loading=async&callback=webcomponentgooglemaps";var n=document.getElementsByTagName("script")[0];null===(t=n.parentNode)||void 0===t||t.insertBefore(i,n)}}createMap(e){var t;const i=(0,n.createButton)(this.classNamePrefix,"map-mode-button",this.options.clickForInteractiveMapText);i.addEventListener("click",(()=>{this.initMap(e),i.remove()})),null===(t=this.element)||void 0===t||t.appendChild(i)}initMap(e){var t,i;const n=null===(t=this.element)||void 0===t?void 0:t.firstElementChild;if(n){if(this.options){var o={center:new google.maps.LatLng(this.options.initialLatitude,this.options.initialLongitude),zoom:this.options.initialZoomLevel,mapId:n.id+"google"};this.map=new google.maps.Map(n,o)}var s=new google.maps.LatLngBounds,r=[];if(e.forEach((e=>{const t=this.createAndAddMarker(e);let i=null;if(i=t instanceof google.maps.Marker?t.getPosition():t.position,i){if(e.description){const i=new google.maps.InfoWindow({content:e.description});t.addListener("click",(()=>{i.open(this.map,t)}))}s.extend(i),r.push(t)}})),this.map&&this.options&&e.length>0)if(e.length>1){this.map.fitBounds(s);const e=null!==(i=this.map.getZoom())&&void 0!==i?i:this.options.initialZoomLevel;this.map.setZoom(e>this.options.initialZoomLevel?this.options.initialZoomLevel:e)}else{this.map.setZoom(this.options.initialZoomLevel);let e=null;const t=r[0];e=t instanceof google.maps.Marker?t.getPosition():t.position,e&&this.map.setCenter(e)}}}initialize(e){this.options=e,this.addScript(e.apiKey)}createAndAddMarker(e){if(google.maps.marker){const t=new google.maps.marker.AdvancedMarkerElement({position:{lat:e.latitude,lng:e.longitude},map:this.map,title:e.title});if(e.iconUrl){const i=document.createElement("img");i.src=e.iconUrl,t.content=i}return t}const t=new google.maps.Marker({position:{lat:e.latitude,lng:e.longitude},map:this.map,title:e.title});return e.iconUrl&&t.setIcon(e.iconUrl),t}}},6245:(e,t)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.NorkartWebatlasProvider=void 0,t.NorkartWebatlasProvider=class{initialize(e){}createMap(){}addMarker(e){}}},4110:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.SortDirection=void 0,function(e){e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending"}(i||(t.SortDirection=i={}))},8175:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;const n=i(2254),o=i(4110);class s extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.sortByText="Sort by",this.ascendingText="Ascending",this.descendingText="Descending",this.removeSortingForText="Remove sorting for",this.handleSortToggleButtonClick=e=>{const t=e.currentTarget,i=parseInt(t.getAttribute("data-column-index"));this.currentSortColumnIndex===i?this.currentSortDirection===o.SortDirection.Ascending?this.currentSortDirection=o.SortDirection.Descending:(this.currentSortColumnIndex=void 0,this.currentSortDirection=void 0):(this.currentSortColumnIndex=i,this.currentSortDirection=o.SortDirection.Ascending),this.decorateHeaderColumns(),this.decorateSortToggleButtons(),void 0!==this.currentSortColumnIndex&&this.rearrangeBodyRows()}}connectedCallback(){this.init()}disconnectedCallback(){}init(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.getAttribute("sort-by-text");t&&(this.sortByText=t);const i=this.getAttribute("ascending-text");i&&(this.ascendingText=i);const o=this.getAttribute("descending-text");o&&(this.descendingText=o);const s=this.getAttribute("remove-sort-text");s&&(this.removeSortingForText=s),"true"===this.getAttribute("is-sortable")&&this.addSortToggleButtons();const r="true"===this.getAttribute("is-stackable");r&&this.addStackedTableHeaderColumns();const a=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table")),l=document.createElement(`${this.classNamePrefix}-double-scrollbar-container-component`);l.setAttribute("class-prefix",this.classNamePrefix),l.appendChild(a),this.appendChild(l),r&&a.classList.add((0,n.getPrefixedClassName)(this.classNamePrefix,"is-stackable"))}addSortToggleButtons(){const e=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-header-column"));Array.from(e).forEach(((e,t)=>{var i,o;const s=document.createElement("button");s.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"table-header-sort-toggle-button"),s.type="button",s.setAttribute("data-column-index",t.toString()),s.addEventListener("click",this.handleSortToggleButtonClick);const r=document.createElement("span");r.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"table-header-sort-toggle-button-text"),r.textContent=(null===(i=e.textContent)||void 0===i?void 0:i.trim())||"",s.appendChild(r),s.setAttribute("aria-label",`${this.sortByText} ${(null===(o=e.textContent)||void 0===o?void 0:o.trim())||""} (${this.ascendingText.toLowerCase()})`),e.innerHTML="",e.appendChild(s)}))}addStackedTableHeaderColumns(){const e=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-header-column")),t=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-row"));Array.from(t).forEach((t=>{const i=t.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-column"));Array.from(i).forEach(((t,i)=>{var o;const s=document.createElement("div");s.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"stacked-table-header-column"),s.textContent=(null===(o=e[i].textContent)||void 0===o?void 0:o.trim())||"",s.setAttribute("aria-hidden","true"),t.prepend(s)}))}))}decorateHeaderColumns(){const e=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-header-column"));Array.from(e).forEach(((e,t)=>{this.currentSortColumnIndex===t?e.setAttribute("aria-sort",this.currentSortDirection===o.SortDirection.Ascending?"ascending":"descending"):e.removeAttribute("aria-sort")}))}decorateSortToggleButtons(){const e=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-header-sort-toggle-button")),t=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-header-column"));Array.from(e).forEach(((e,i)=>{var n,s;const r=(null===(s=null===(n=t[i])||void 0===n?void 0:n.textContent)||void 0===s?void 0:s.trim())||"";this.currentSortColumnIndex===i?(e.setAttribute("aria-pressed","true"),this.currentSortDirection===o.SortDirection.Ascending?e.setAttribute("aria-label",`${this.sortByText} ${r} (${this.descendingText.toLowerCase()})`):e.setAttribute("aria-label",`${this.removeSortingForText} ${r}`)):(e.removeAttribute("aria-pressed"),e.setAttribute("aria-label",`${this.sortByText} ${r} (${this.ascendingText.toLowerCase()})`))}))}rearrangeBodyRows(){const e=[],t=this.querySelectorAll(`${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-column")}:nth-child(${this.currentSortColumnIndex+1})`);Array.from(t).forEach((t=>{const i=t.closest((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-row"));e.push({sortExpression:t.innerText,rowElement:i})}
2)),e.sort(((e,t)=>{if((0,n.isNumber)(e.sortExpression)&&(0,n.isNumber)(t.sortExpression)){const i=parseFloat(e.sortExpression),n=parseFloat(t.sortExpression);return i<n?this.currentSortDirection===o.SortDirection.Ascending?-1:1:i>n?this.currentSortDirection===o.SortDirection.Ascending?1:-1:0}return e.sortExpression<t.sortExpression?this.currentSortDirection===o.SortDirection.Ascending?-1:1:e.sortExpression>t.sortExpression?this.currentSortDirection===o.SortDirection.Ascending?1:-1:0})),e.forEach((e=>{const t=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"table-body"));t&&t.appendChild(e.rowElement)}))}}t.Table=s},1391:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(8175),t),o(i(4110),t)},340:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(123),t),o(i(8468),t),o(i(565),t),o(i(1391),t)},5937:function(e,t){var i=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthConditionalContent=void 0;class n extends HTMLElement{static get observedAttributes(){return["authentication-scope"]}constructor(){super(),this.classNamePrefix="cc",this.authenticationScope=0,this.contentState="loading",this.contentContainer=null,this.signOutButton=null,this.signOutIntervalId=null,this.signInErrorMessageText="Du må være innlogget for å se dette innholdet, men vi opplever for tiden problemer med innloggingsfunksjonen. Prøv igjen senere.",this.signOutButtonText="Logg ut",this.signOutErrorMessageText="Det oppstod en feil ved utlogging. Vennligst prøv igjen.",this.checkAuthentication=this.checkAuthentication.bind(this),this.handleSignOut=this.handleSignOut.bind(this),this.handleSignOutEvent=this.handleSignOutEvent.bind(this)}getTemplate(e){return this.querySelector(`template[data-template="${e}"]`)}processTemplateScripts(e){const t=e.querySelectorAll("script");0!==t.length&&Array.from(t).forEach((e=>{const t=document.createElement("script");Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)})),e.textContent&&(t.textContent=e.textContent),e.parentNode&&e.parentNode.replaceChild(t,e)}))}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e),this.contentContainer||(this.contentContainer=document.createElement("div"),this.contentContainer.className=this.getPrefixedClassName("auth-conditional-content"),this.appendChild(this.contentContainer)),this.parseAttributes(),this.checkAuthentication(),this.subscribeToSignOutEvent()}disconnectedCallback(){this.signOutButton&&this.signOutButton.removeEventListener("click",this.handleSignOut),this.unsubscribeFromSignOutEvent()}attributeChangedCallback(e,t,i){t!==i&&this.parseAttributes()}parseAttributes(){const e=this.getAttribute("authentication-scope");if(e){const t=Number(e);isNaN(t)||(this.authenticationScope=t)}const t=this.getAttribute("sign-in-error-message-text");t&&(this.signInErrorMessageText=t);const i=this.getAttribute("sign-out-button-text");i&&(this.signOutButtonText=i);const n=this.getAttribute("sign-out-error-message-text");n&&(this.signOutErrorMessageText=n)}checkAuthentication(){return i(this,void 0,void 0,(function*(){var e;if(this.contentContainer){this.contentState="loading",this.renderLoadingState();try{const t=yield fetch(`/api/v2/authentication/check-authentication?scopeID=${this.authenticationScope}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!t.ok)throw new Error("Authentication check failed");const i=!0===(null===(e=(yield t.json()).content)||void 0===e?void 0:e.isAuthenticated);this.contentState=i?"authenticated":"unauthenticated",this.renderContent()}catch(e){console.error("Error checking authentication:",e),this.contentState="error",this.renderContent()}}}))}
2renderLoadingState(){if(!this.contentContainer)return;for(;this.contentContainer.firstChild;)this.contentContainer.removeChild(this.contentContainer.firstChild);const e=document.createElement("div");e.className="auth-conditional-content__loading",e.innerHTML='<div class="spinner"></div>',this.contentContainer.appendChild(e)}renderContent(){if(this.contentContainer){for(;this.contentContainer.firstChild;)this.contentContainer.removeChild(this.contentContainer.firstChild);if("authenticated"===this.contentState){this.createSignOutButton();const e=document.createElement("div");e.className=this.getPrefixedClassName("auth-conditional-content-body");const t=this.getTemplate("authenticated");if(t){const i=t.content.cloneNode(!0);this.processTemplateScripts(i),e.appendChild(i)}this.contentContainer.appendChild(e)}else if("error"===this.contentState){this.signOutButton&&(this.signOutButton.removeEventListener("click",this.handleSignOut),this.signOutButton=null);const e=document.createElement("div");e.className=this.getPrefixedClassName("auth-conditional-content-body");const t=document.createElement("div");t.className=this.getPrefixedClassName("alert"),t.classList.add(this.getPrefixedClassName("alert--error"));const i=document.createElement("div");i.className=this.getPrefixedClassName("alert-message"),i.textContent=this.signInErrorMessageText,t.appendChild(i),e.appendChild(t),this.contentContainer.appendChild(e)}else if("unauthenticated"===this.contentState){this.signOutButton&&(this.signOutButton.removeEventListener("click",this.handleSignOut),this.signOutButton=null);const e=document.createElement("div");e.className=this.getPrefixedClassName("auth-conditional-content-body");const t=this.getTemplate("unauthenticated");if(t){const i=t.content.cloneNode(!0);this.processTemplateScripts(i),e.appendChild(i)}this.contentContainer.appendChild(e)}}}createSignOutButton(){if(!this.contentContainer)return;const e=document.createElement("div");e.className=this.getPrefixedClassName("auth-conditional-content-header"),this.signOutButton=document.createElement("button"),this.signOutButton.className=this.getPrefixedClassName("button");const t=document.createElement("span");t.className=this.getPrefixedClassName("button-text"),t.textContent=this.signOutButtonText,this.signOutButton.appendChild(t),this.signOutButton.type="button",this.signOutButton.addEventListener("click",this.handleSignOut),e.appendChild(this.signOutButton),this.contentContainer.insertBefore(e,this.contentContainer.firstChild)}handleSignOut(){return i(this,void 0,void 0,(function*(){if(this.signOutButton)if(this.signOutButton.disabled=!0,this.signOutButton.textContent=`${this.signOutButtonText}...`,yield this.performSignOut())this.contentState="unauthenticated",this.renderContent();else if(this.signOutButton&&(this.signOutButton.disabled=!1,this.signOutButton.textContent=this.signOutButtonText),this.contentContainer){const e=this.contentContainer.querySelector(`.${this.getPrefixedClassName("auth-conditional-content-body")}`),t=document.createElement("div");t.className=this.getPrefixedClassName("alert"),t.classList.add(this.getPrefixedClassName("alert--error"));const i=document.createElement("div");i.className=this.getPrefixedClassName("alert-message"),i.textContent=this.signOutErrorMessageText,t.appendChild(i),e?e.insertBefore(t,e.firstChild):this.contentContainer.appendChild(t)}}))}performSignOut(){return i(this,void 0,void 0,(function*(){try{const e=yield fetch(`/api/v2/authentication/signout?scopeID=${this.authenticationScope}`,{method:"POST",headers:{"Content-Type":"application/json","X-ANTI-CSRF":"1"}});return!!e.ok&&200===(yield e.json()).statusCode}catch(e){return console.error("Error signing out:",e),!1}}))}getPrefixedClassName(e){return this.classNamePrefix?`${this.classNamePrefix}-${e}
2`:e}subscribeToSignOutEvent(){if(window.eventBusV2)return void window.eventBusV2.subscribeToEvent("auth-signout",this.handleSignOutEvent);let e=0;this.signOutIntervalId=setInterval((()=>{e++,window.eventBusV2?(window.eventBusV2.subscribeToEvent("auth-signout",this.handleSignOutEvent),null!==this.signOutIntervalId&&(clearInterval(this.signOutIntervalId),this.signOutIntervalId=null)):e>=20&&null!==this.signOutIntervalId&&(clearInterval(this.signOutIntervalId),this.signOutIntervalId=null)}),100)}unsubscribeFromSignOutEvent(){null!==this.signOutIntervalId&&(clearInterval(this.signOutIntervalId),this.signOutIntervalId=null),window.eventBusV2&&window.eventBusV2.unsubscribeFromEvent("auth-signout",this.handleSignOutEvent)}handleSignOutEvent(){return i(this,void 0,void 0,(function*(){(yield this.performSignOut())&&(this.contentState="unauthenticated",this.renderContent())}))}}t.AuthConditionalContent=n},3788:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AuthConditionalContent=void 0;var n=i(5937);Object.defineProperty(t,"AuthConditionalContent",{enumerable:!0,get:function(){return n.AuthConditionalContent}})},7367:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DoubleScrollbarContainer=void 0;const n=i(2254);class o extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc"}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=document.createElement("div");t.className=this.getPrefixedClassName("double-scrollbar-container"),this.topScrollbar=new s(this.getPrefixedClassName("top-scrollbar")),t.appendChild(this.topScrollbar.element),this.contentElement=document.createElement("div"),this.contentElement.className=this.getPrefixedClassName("double-scrollbar-container-content"),this.contentElement.style.overflowX="scroll",this.contentElement.style.overflowY="hidden",this.contentElement.append(...this.childNodes),t.appendChild(this.contentElement),this.bottomScrollbar=new s(this.getPrefixedClassName("bottom-scrollbar")),t.appendChild(this.bottomScrollbar.element),this.appendChild(t),this.setupScrollbarLogic()}setupScrollbarLogic(){if(!this.contentElement||!this.topScrollbar||!this.bottomScrollbar)return;const e=()=>{if(!this.contentElement||!this.topScrollbar||!this.bottomScrollbar)return;const e=this.contentElement.scrollWidth,t=this.contentElement.clientWidth,i=this.contentElement.scrollLeft;e>t?(this.topScrollbar.show(t,e,i),this.bottomScrollbar.show(t,e,i)):(this.topScrollbar.hide(),this.bottomScrollbar.hide())};this.resizeObserver=new ResizeObserver((0,n.debounce)(e,250)),this.resizeObserver.observe(this.contentElement),e(),this.contentElement.addEventListener("scroll",(()=>{if(!this.contentElement||!this.topScrollbar||!this.bottomScrollbar)return;const e=this.contentElement.scrollLeft;this.topScrollbar.setScrollPosition(e),this.bottomScrollbar.setScrollPosition(e)})),this.topScrollbar.onScroll=e=>{var t;this.contentElement&&(this.contentElement.scrollLeft=e,null===(t=this.bottomScrollbar)||void 0===t||t.setScrollPosition(e))},this.bottomScrollbar.onScroll=e=>{var t;this.contentElement&&(this.contentElement.scrollLeft=e,null===(t=this.topScrollbar)||void 0===t||t.setScrollPosition(e))}}disconnectedCallback(){this.contentElement&&this.resizeObserver&&this.resizeObserver.unobserve(this.contentElement)}getPrefixedClassName(e){return this.classNamePrefix?`${this.classNamePrefix}-${e}
2`:e}}t.DoubleScrollbarContainer=o;class s{constructor(e){this.isDragging=!1,this.dragStartX=0,this.dragStartScrollLeft=0,this.scrollWidth=0,this.clientWidth=0,this.onMouseMove=e=>{var t;if(!this.isDragging)return;const i=e.clientX-this.dragStartX,n=this.track.offsetWidth,o=this.thumb.offsetWidth,s=this.scrollWidth-this.clientWidth,r=i/(n-o),a=this.dragStartScrollLeft+r*s,l=Math.max(0,Math.min(a,s));null===(t=this.onScroll)||void 0===t||t.call(this,l)},this.onMouseUp=()=>{this.isDragging=!1,this.thumb.classList.remove("dragging"),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp)},this.onTouchMove=e=>{var t;if(!this.isDragging)return;const i=e.touches[0].clientX-this.dragStartX,n=this.track.offsetWidth,o=this.thumb.offsetWidth,s=this.scrollWidth-this.clientWidth,r=i/(n-o),a=this.dragStartScrollLeft+r*s,l=Math.max(0,Math.min(a,s));null===(t=this.onScroll)||void 0===t||t.call(this,l)},this.onTouchEnd=()=>{this.isDragging=!1,this.thumb.classList.remove("dragging"),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd)},this.element=document.createElement("div"),this.element.className=e,this.track=document.createElement("div"),this.track.className="cc-scrollbar-track",this.thumb=document.createElement("div"),this.thumb.className="cc-scrollbar-thumb",this.track.appendChild(this.thumb),this.element.appendChild(this.track),this.setupEvents()}setupEvents(){this.thumb.addEventListener("mousedown",(e=>{e.preventDefault(),this.isDragging=!0,this.dragStartX=e.clientX,this.dragStartScrollLeft=this.getScrollLeft(),this.thumb.classList.add("dragging"),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)})),this.thumb.addEventListener("touchstart",(e=>{e.preventDefault(),this.isDragging=!0,this.dragStartX=e.touches[0].clientX,this.dragStartScrollLeft=this.getScrollLeft(),this.thumb.classList.add("dragging"),document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd)})),this.track.addEventListener("click",(e=>{var t;if(e.target===this.thumb)return;const i=this.track.getBoundingClientRect(),n=e.clientX-i.left,o=this.thumb.offsetWidth,s=this.track.offsetWidth,r=this.scrollWidth-this.clientWidth,a=n-o/2,l=Math.max(0,Math.min(a,s-o))/(s-o)*r;null===(t=this.onScroll)||void 0===t||t.call(this,l)})),this.track.addEventListener("touchstart",(e=>{var t;if(e.target===this.thumb)return;const i=this.track.getBoundingClientRect(),n=e.touches[0].clientX-i.left,o=this.thumb.offsetWidth,s=this.track.offsetWidth,r=this.scrollWidth-this.clientWidth,a=n-o/2,l=Math.max(0,Math.min(a,s-o))/(s-o)*r;null===(t=this.onScroll)||void 0===t||t.call(this,l)}))}show(e,t,i){this.clientWidth=e,this.scrollWidth=t,this.element.style.display="block";const n=this.element.offsetWidth,o=e/t,s=Math.max(30,n*o),r=t-e,a=(r>0?i/r:0)*(n-s);this.thumb.style.width=`${s}px`,this.thumb.style.left=`${a}px`}hide(){this.element.style.display="none"}setScrollPosition(e){if(!this.element.offsetWidth)return;const t=this.element.offsetWidth,i=this.thumb.offsetWidth,n=this.scrollWidth-this.clientWidth,o=(n>0?e/n:0)*(t-i);this.thumb.style.left=`${o}px`}getScrollLeft(){const e=this.element.offsetWidth,t=this.thumb.offsetWidth,i=parseFloat(this.thumb.style.left)||0,n=this.scrollWidth-this.clientWidth;return e-t<=0?0:i/(e-t)*n}}},6867:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(7367),t)},5153:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMoreContainer=void 0;const n=i(2254);class o extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.isOpen=!1}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.querySelector(`.${(0,n.getPrefixedClassName)(this.classNamePrefix,"show-more-container")}`),i=this.querySelector(`.${(0,n.getPrefixedClassName)(this.classNamePrefix,"show-more-container-content")}`);i.id=`show-more-container-content-${(0,n.getClientID)()}`;const o=parseInt(this.getAttribute("line-limit"));if(o>0){const e=i.scrollHeight,s=getComputedStyle(i);let r=parseFloat(s.lineHeight);if(isNaN(r)&&(r=1.2*parseFloat(s.fontSize)),Math.ceil(e/r)>o){i.style.overflow="hidden",i.style.maxHeight=`${o}em`;const e=document.createElement("button");e.type="button",e.className=(0,n.getPrefixedClassName)(this.classNamePrefix,"show-more-container-button"),e.textContent=this.getAttribute("show-more-text"),e.setAttribute("aria-expanded","fal
2se"),e.setAttribute("aria-controls",i.id),e.addEventListener("click",(()=>{this.isOpen?(t.classList.remove("u-is-open"),i.style.maxHeight=`${o}em`,e.textContent=this.getAttribute("show-more-text"),e.setAttribute("aria-expanded","false"),this.isOpen=!1):(t.classList.add("u-is-open"),i.style.removeProperty("max-height"),e.textContent=this.getAttribute("show-less-text"),e.setAttribute("aria-expanded","true"),this.isOpen=!0)})),i.parentElement.appendChild(e)}else t.classList.add("u-is-open"),this.isOpen=!0}}disconnectedCallback(){}}t.ShowMoreContainer=o},2810:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(5153),t)},6870:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentOrientation=void 0,function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(i||(t.ComponentOrientation=i={}))},3250:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},6607:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TabContainer=void 0;const n=i(2254),o=i(1996),s=i(6870);class r extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.selectedTabIndex=0,this.orientation=s.ComponentOrientation.Horizontal,this.tabs=[],this.tabPanels=[],this.handleTabClick=e=>{let t=-1;const i=e.currentTarget.getAttribute("data-index");i&&(t=parseInt(i)),t>-1&&t<this.tabs.length&&this.selectTab(t)},this.handleTabKeyDown=e=>{let t=-1;switch(e.key){case"Home":t=0;break;case"End":t=this.tabs.length-1;break;case"ArrowUp":this.orientation===s.ComponentOrientation.Vertical&&(t=this.selectedTabIndex-1);break;case"ArrowLeft":this.orientation===s.ComponentOrientation.Horizontal&&(t=this.selectedTabIndex-1);break;case"ArrowRight":this.orientation===s.ComponentOrientation.Horizontal&&(t=this.selectedTabIndex+1);break;case"ArrowDown":this.orientation===s.ComponentOrientation.Vertical&&(t=this.selectedTabIndex+1)}t>-1&&t<this.tabs.length&&this.selectTab(t)},this.handleFragmentLink=()=>{let e=window.location.hash;e&&(e=e.startsWith("#!#")?e.substring(2):e.substring(1),this.tabs.forEac
2h(((t,i)=>{t.identifier===e&&this.selectTab(i,!1)})))}}connectedCallback(){this.setupTabs(),this.setupTabPanels(),this.handleFragmentLink(),window.addEventListener("hashchange",this.handleFragmentLink)}disconnectedCallback(){window.removeEventListener("hashchange",this.handleFragmentLink)}static get observedAttributes(){return["orientation"]}attributeChangedCallback(e,t,i){"orientation"===e&&(this.orientation=parseInt(i))}setupTabs(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.querySelectorAll(`:scope > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tab-container")} > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tab-list")} > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tab")}`);Array.from(t).forEach(((e,t)=>{"true"===e.getAttribute("aria-selected")&&(this.selectedTabIndex=t);const i=e.getAttribute("data-id"),n={element:e,identifier:null!=i?i:void 0};this.tabs.push(n),e.setAttribute("data-index",t.toString()),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown)}))}setupTabPanels(){const e=this.querySelectorAll(`:scope > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tab-container")} > ${(0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tab-panel")}`);Array.from(e).forEach((e=>{const t={element:e};this.tabPanels.push(t)}))}
2selectTab(e,t=!0){if(this.tabs.forEach(((t,i)=>{e===i?(t.element.tabIndex=0,t.element.setAttribute("aria-selected","true"),t.element.focus()):(t.element.tabIndex=-1,t.element.setAttribute("aria-selected","false"))})),this.tabPanels.forEach(((t,i)=>{e===i?((0,o.dispatchEvent)({name:"container-open",args:{tabIndex:e},sender:t.element}),t.element.removeAttribute("hidden")):t.element.setAttribute("hidden","")})),this.selectedTabIndex=e,t){const t=this.tabs[e];t&&t.identifier&&this.updateHashFragment(t.identifier)}}updateHashFragment(e){const t=window.location.href.split("#")[0],i=e?t+"#"+e:t;history.replaceState({},"",i)}}t.TabContainer=r},6074:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},9033:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(6607),t),o(i(6870),t),o(i(3250),t),o(i(6074),t)},4458:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(3788),t),o(i(6867),t),o(i(2810),t),o(i(9033),t)},9198:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Iframe=void 0;const o=n(i(5454));class s extends HTMLElement{static get observedAttributes(){return["src","title","width","height","frameborder","allow","allowfullscreen","loading","sandbox","referrerpolicy","style","class","useshadowroot","lazyload","lazymargin"]}constructor(){if(super(),this._iframe=null,this._useShadowRoot=!1,this._observer=null,this._lazyLoad=!1,this._isLoaded=!1,this._useShadowRoot=this.hasAttribute("useshadowroot")&&"false"!==this.getAttribute("useshadowroot"),this._lazyLoad=this.hasAttribute("lazyload")&&"false"!==this.getAttribute("lazyload"),this._useShadowRoot){this.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent="\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n iframe {\n border: none;\n display: block;\n max-width: 100%;\n max-height: 100%;\n width: 100%;\n }\n ",this.shadowRoot.appendChild(e)}this._updateIframe=this._updateIframe.bind(this)}connectedCallback(){this._lazyLoad&&!this._isLoaded?this._setupLazyLoading():this._createAndUpdateIframe()}disconnectedCallback(){this._observer&&(this._observer.disconnect(),this._observer=null)}attributeChangedCallback(e,t,i){if(t!==i){if("lazyload"===e)return void(this._lazyLoad=null!==i&&"false"!==i);this._iframe&&this._updateIframe()}}_setupLazyLoading(){const e=this.getAttribute("lazymargin")||"300px";this._observer=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this._createAndUpdateIframe(),this._isLoaded=!0,this._observer&&(this._observer.disconnect(),this._observer=null))}))}),{rootMargin:e}),this._observer.observe(this)}_createAndUpdateIframe(){this._iframe||(this._iframe=document.createElement("iframe"),this._useShadowRoot?this.shadowRoot.appendChild(this._iframe):(this._iframe.style.cssText="border: none; display: block; max-width: 100%; max-height: 100%; width: 100%;",this.appendChild(this._iframe))),this._updateIframe()}_sanitizeAttributeValue(e,t){if(!t)return"";const i=document.createElement("div");i.setAttribute(e,t);const n=o.default.sanitize(i.outerHTML,{ALLOWED_TAGS:["div"],ALLOWED_ATTR:[e],ALLOW_DATA_ATTR:!1,FORBID_TAGS:["script","style"],FORBID_ATTR:["onload","onerror","onclick","onmouseover","onfocus","onblur","onchange","onsubmit","onreset","onselect","onkeydown","onkeypress","onkeyup"]}),s=document.createElement("div");s.innerHTML=n;const r=s.firstElementChild;return r&&r.getAttribute(e)||""}_updateIframe(){if(!this._iframe)return;const e="lazy"===this.getAttribute("loading");
2if(Array.from(this._iframe.attributes).forEach((e=>{this._iframe.removeAttribute(e.name)})),s.SAFE_IFRAME_ATTRIBUTES.forEach((t=>{const i=this.getAttribute(t);if(null!==i)if("allowfullscreen"===t)this._iframe.setAttribute("allowfullscreen","");else{const n=this._sanitizeAttributeValue(t,i);n&&("loading"===t&&e?this._iframe.setAttribute("loading","lazy"):"src"===t&&e||n&&this._iframe.setAttribute(t,n))}})),e){const e=this.getAttribute("src");if(e){const t=this._sanitizeAttributeValue("src",e);t&&this._iframe.setAttribute("src",t)}}!this.hasAttribute("sandbox")&&this.hasAttribute("src")&&this._iframe.setAttribute("sandbox","allow-scripts"),!this.getAttribute("title")&&this.getAttribute("src")&&this._iframe.setAttribute("title","Embedded content")}}t.Iframe=s,s.SAFE_IFRAME_ATTRIBUTES=["src","title","width","height","frameborder","allow","allowfullscreen","loading","sandbox","referrerpolicy","style","class"]},7128:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(9198),t)},2779:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(7128),t)},5785:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(1230),t),o(i(340),t),o(i(2779),t),o(i(4458),t),o(i(1428),t),o(i(7467),t),o(i(108),t),o(i(8096),t),o(i(811),t),o(i(3465),t)},2108:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DetailList=void 0;const n=i(2254);class o extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc"}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.querySelectorAll((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"detail-list-item"));Array.from(t).forEach((e=>{const t=e.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"detail-list-item-header-column-trigger"));t&&t.addEventListener("click",(i=>{"true"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded","false"),e.classList.remove("u-is-open")):(t.setAttribute("aria-expanded","true"),e.classList.add("u-is-open"))}))}))}disconnectedCallback(){}}t.DetailList=o},6053:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(2108),t)},7467:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};
2Object.defineProperty(t,"__esModule",{value:!0}),o(i(6053),t)},1607:function(e,t,i){var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;const o=i(2254);class s extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.triggerElement=null,this.closeButtonElement=null,this.backdropElement=null,this.contentElement=null,this.templateElement=null,this.contentUrl=null,this.closeButtonText="Close",this.allowPageScroll=!1,this.escapeKeyListener=null,this.backdropClickListener=null,this.focusTrapListener=null,this.focusableElements=[],this.previouslyFocusedElement=null,this.isContentInitialized=!1}connectedCallback(){var e;const t=this.getAttribute("class-prefix");t&&(this.classNamePrefix=t);const i=this.getAttribute("content-url");i&&(this.contentUrl=i);const n=this.getAttribute("close-button-text");n&&(this.closeButtonText=n),"true"===this.getAttribute("allow-page-scroll")&&(this.allowPageScroll=!0,this.classList.add((0,o.getPrefixedClassName)(this.classNamePrefix,"modal-page-scroll"))),requestAnimationFrame((()=>{this.classList.add((0,o.getPrefixedClassName)(this.classNamePrefix,"modal-ready"))})),this.triggerElement=this.querySelector((0,o.getPrefixedClassNameSelector)(this.classNamePrefix,"modal-trigger")),this.backdropElement=this.querySelector((0,o.getPrefixedClassNameSelector)(this.classNamePrefix,"modal-backdrop")),this.contentElement=this.querySelector((0,o.getPrefixedClassNameSelector)(this.classNamePrefix,"modal-content")),this.templateElement=null===(e=this.contentElement)||void 0===e?void 0:e.querySelector("template"),this.createCloseButton(),this.triggerElement&&(this.triggerElement.addEventListener("click",(e=>{this.toggle(),e.stopImmediatePropagation()})),"true"===this.triggerElement.getAttribute("aria-expanded")&&this.open()),this.escapeKeyListener=e=>{"Escape"===e.key&&this.isOpen()&&this.close()},document.addEventListener("keydown",this.escapeKeyListener,!1),this.backdropClickListener=e=>{this.backdropElement&&e.target===this.backdropElement&&this.isOpen()&&this.close()},this.backdropElement&&this.backdropElement.addEventListener("click",this.backdropClickListener,!1),this.focusTrapListener=e=>{"Tab"===e.key&&this.isOpen()&&this.handleFocusTrap(e)},document.addEventListener("keydown",this.focusTrapListener,!1)}disconnectedCallback(){this.escapeKeyListener&&document.removeEventListener("keydown",this.escapeKeyListener,!1),this.backdropClickListener&&this.backdropElement&&this.backdropElement.removeEventListener("click",this.backdropClickListener,!1),this.focusTrapListener&&document.removeEventListener("keydown",this.focusTrapListener,!1)}isOpen(){var e;return"true"===(null===(e=this.triggerElement)||void 0===e?void 0:e.getAttribute("aria-expanded"))}toggle(){this.isOpen()?this.close():this.open()}open(){return n(this,void 0,void 0,(function*(){var e,t;this.closeOtherModals(),this.isContentInitialized||(yield this.initializeContent(),this.isContentInitialized=!0),null===(e=this.triggerElement)||void 0===e||e.setAttribute("aria-expanded","true"),null===(t=this.contentElement)||void 0===t||t.setAttribute("aria-hidden","false"),this.allowPageScroll?this.backdropElement&&this.contentElement&&requestAnimationFrame((()=>{if(this.backdropElement&&this.contentElement){const e=this.contentElement.offsetHeight,t=window.innerHeight,i=this.contentElement.offsetTop+e;if(e+64<t){const i=Math.max(32,(t-e)/2);this.contentElement.style.top=`${i}px`}else this.contentElement.style.top="2rem";const n=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight,i+32);this.backdropElement.style.height=`${n}px`,document.body.style.minHeight=`${n}px`,window.scrollTo({top:0,behavior:"smooth"})}})):document.body.classList.add((0,o.getPrefixedClassName)(this.classNamePrefix,"modal-open")),this.previouslyFocusedElement=document.activeElement,this.setupFocusTrap(),this.focusableElements.length>0&&this.focusableElements[0].focus()}))}close(){var e,t;if(null===(e=this.triggerElement)||void 0===e||e.setAttribute("aria-expanded","fal
2se"),null===(t=this.contentElement)||void 0===t||t.setAttribute("aria-hidden","true"),this.contentElement&&!this.contentUrl&&setTimeout((()=>{if(this.contentElement&&!this.isOpen()){const e=this.closeButtonElement;for(;this.contentElement.firstChild;)this.contentElement.removeChild(this.contentElement.firstChild);e&&this.contentElement.appendChild(e),this.templateElement&&this.contentElement.appendChild(this.templateElement),this.isContentInitialized=!1}}),200),this.allowPageScroll){this.backdropElement&&(this.backdropElement.style.height=""),document.body.style.minHeight="";const e=Math.max(0,document.body.scrollHeight-window.innerHeight);window.scrollY>e&&window.scrollTo({top:e,behavior:"auto"})}else document.body.classList.remove((0,o.getPrefixedClassName)(this.classNamePrefix,"modal-open"));this.previouslyFocusedElement?this.previouslyFocusedElement.focus():this.triggerElement&&this.triggerElement.focus()}closeOtherModals(){document.querySelectorAll("cc-modal-component").forEach((e=>{if(e!==this){const t=e.querySelector((0,o.getPrefixedClassNameSelector)(this.classNamePrefix,"modal-trigger"));t&&"true"===t.getAttribute("aria-expanded")&&(t.setAttribute("aria-expanded","false"),document.body.classList.remove((0,o.getPrefixedClassName)(this.classNamePrefix,"modal-open")))}}))}setupFocusTrap(){this.contentElement&&(this.focusableElements=Array.from(this.contentElement.querySelectorAll(["a[href]","area[href]",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","))))}handleFocusTrap(e){if(0===this.focusableElements.length)return;const t=this.focusableElements[0],i=this.focusableElements[this.focusableElements.length-1];e.shiftKey?document.activeElement===t&&(i.focus(),e.preventDefault()):document.activeElement===i&&(t.focus(),e.preventDefault())}createCloseButton(){if(!this.contentElement)return;this.closeButtonElement=document.createElement("button"),this.closeButtonElement.type="button",this.closeButtonElement.className=(0,o.getPrefixedClassName)(this.classNamePrefix,"modal-close-button");const e=document.createElement("span");e.className=(0,o.getPrefixedClassName)(this.classNamePrefix,"modal-close-button-text"),e.textContent=this.closeButtonText,this.closeButtonElement.appendChild(e),this.closeButtonElement.setAttribute("aria-label",this.closeButtonText),this.closeButtonElement.addEventListener("click",(()=>{this.close()})),this.contentElement.insertBefore(this.closeButtonElement,this.contentElement.firstChild)}initializeContent(){return n(this,void 0,void 0,(function*(){if(this.contentElement){if(this.contentUrl)yield this.fetchContent();else if(this.templateElement){const e=this.templateElement.content.cloneNode(!0);this.contentElement.appendChild(e),this.templateElement.remove()}this.setupAdditionalCloseButtons()}}))}fetchContent(){return n(this,void 0,void 0,(function*(){if(this.contentUrl&&this.contentElement)try{const e=yield fetch(this.contentUrl);if(!e.ok)throw new Error(`Failed to fetch content: ${e.statusText}`);const t=yield e.text();this.templateElement&&this.templateElement.remove(),this.contentElement.insertAdjacentHTML("beforeend",t)}catch(e){if(console.error("Error fetching modal content:",e),this.templateElement){const e=this.templateElement.content.cloneNode(!0);this.contentElement.appendChild(e),this.templateElement.remove()}}}))}setupAdditionalCloseButtons(){this.contentElement&&this.contentElement.querySelectorAll(".js-modal-close-button").forEach((e=>{e.addEventListener("click",(()=>{this.close()}))}))}}t.Modal=s},4866:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Modal=void 0;var n=i(1607);Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return n.Modal}})},3499:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;const n=i(2254);class o extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.triggerElement=null,this.escapeKeyListener=null,this.clickOutsideListener=null}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e),this.triggerElement=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tooltip-trigger")),this.triggerElement&&(this.triggerElement.addEventListener("click",(e=>{this.toogle(),e.stopImmediatePropagation()})),this.triggerElement.addEventListener("focusin",(e=>{this.open()})),this.triggerElement.addEventListener("mouseenter",(e=>{this.open()})),this.triggerElement.addEventListener("mouseleave",(0,n.debounce)((e=>{this.close()}),500)),this.triggerElement.addEventListener("focusout",(0,n.debounce)((e=>{this.close()}),500))),this.escapeKeyListener=e=>{"Escape"===e.key&&this.close()},document.addEventListener("keydown",this.escapeKeyListener,!1),this.clickOutsideListener=e=>{if(this.triggerElement){const t=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"tooltip"));t&&!t.contains(e.target)&&this.isOpen()&&this.close()}},document.addEventListener("click",this.clickOutsideListener,!1)}disconnectedCallback(){this.escapeKeyListener&&document.removeEventListener("keydown",this.escapeKeyListener,!1),this.clickOutsideListener&&document.removeEventListener("click",this.clickOutsideListener,!1)}isOpen(){return!!this.triggerElement&&"true"===this.triggerElement.getAttribute("aria-expanded")}toogle(){this.triggerElement&&(this.isOpen()&&this.close(),this.open())}open(){this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","true")}close(){this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","fal
2se")}}t.Tooltip=o},5424:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(3499),t)},7323:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WordExplanation=void 0;const n=i(2254);class o extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc",this.escapeKeyListener=null,this.clickOutsideListener=null,this.focusTrapListener=null}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e);const t=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"word-explanation-popup-trigger"));t&&t.addEventListener("click",(e=>{const i="true"===t.getAttribute("aria-expanded");if(t.setAttribute("aria-expanded",i?"false":"true"),i)this.removeFocusTrap();else{this.setupFocusTrap();const e=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"word-explanation-popup-close-button"));e&&setTimeout((()=>e.focus()),0)}e.stopImmediatePropagation()}));const i=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"word-explanation-popup-close-button"));i&&i.addEventListener("click",(e=>{t&&(t.setAttribute("aria-expanded","false"),this.removeFocusTrap(),t.focus())})),this.escapeKeyListener=e=>{console.log(e),"Escape"===e.key&&t&&(t.setAttribute("aria-expanded","false"),this.removeFocusTrap(),t.focus())},document.addEventListener("keydown",this.escapeKeyListener,!1),this.clickOutsideListener=e=>{if(t){const i=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"word-explanation"));i&&(i.contains(e.target)||"true"!==t.getAttribute("aria-expanded")||(t.setAttribute("aria-expanded","false"),this.removeFocusTrap(),t.focus()))}},document.addEventListener("click",this.clickOutsideListener,!1)}getFocusableElements(){const e=this.querySelector((0,n.getPrefixedClassNameSelector)(this.classNamePrefix,"word-explanation-popup"));return e?Array.from(e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter((e=>!e.hasAttribute("disabled")&&null!==e.offsetParent)):[]}setupFocusTrap(){this.focusTrapListener=e=>{if("Tab"!==e.key)return;const t=this.getFocusableElements();if(0===t.length)return;const i=t[0],n=t[t.length-1];e.shiftKey?document.activeElement===i&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),i.focus())},document.addEventListener("keydown",this.focusTrapListener,!1)}removeFocusTrap(){this.focusTrapListener&&(document.removeEventListener("keydown",this.focusTrapListener,!1),this.focusTrapListener=null)}disconnectedCallback(){this.escapeKeyListener&&document.removeEventListener("keydown",this.escapeKeyListener,!1),this.clickOutsideListener&&document.removeEventListener("click",this.clickOutsideListener,!1),this.removeFocusTrap()}}t.WordExplanation=o},3392:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(7323),t)},108:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};
2Object.defineProperty(t,"__esModule",{value:!0}),o(i(4866),t),o(i(5424),t),o(i(3392),t)},5655:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Breadcrumb=void 0;class i extends HTMLElement{constructor(){super(...arguments),this.classNamePrefix="cc"}connectedCallback(){const e=this.getAttribute("class-prefix");e&&(this.classNamePrefix=e)}disconnectedCallback(){}}t.Breadcrumb=i},3176:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(5655),t)},5703:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollToLinkTarget=void 0;class i extends HTMLElement{constructor(){super(),this.handleClick=e=>{const t=e.target.closest('a[href*="#"]');if(!t)return;const i=t.getAttribute("href");if(!i)return;const n=i.substring(i.indexOf("#")+1);if(n){const t=document.getElementById(n);t&&(e.preventDefault(),t.scrollIntoView({behavior:"smooth",block:"start"}),t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),t.focus())}},this.attachShadow({mode:"open"})}connectedCallback(){document.addEventListener("click",this.handleClick)}disconnectedCallback(){document.removeEventListener("click",this.handleClick)}}t.ScrollToLinkTarget=i},9080:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(5703),t)},8096:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(3176),t),o(i(9080),t)},3100:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createButton=void 0;const n=i(1452);t.createButton=(e,t,i)=>{const o=document.createElement("button");o.className=(0,n.getPrefixedClassName)(e,t),o.type="button";const s=document.createElement("span");return s.className=(0,n.getPrefixedClassName)(e,`${t}-text`),s.textContent=i,o.appendChild(s),o}},1271:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=(e,t=400)=>{const i=t||400;let n;return t=>{n&&clearTimeout(n),n=setTimeout(e,i,t)}}},1996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unsubscribeFromEvent=t.subscribeToLegacyEvent=t.subscribeToEvent=t.dispatchEvent=void 0,t.dispatchEvent=e=>{window.eventBusV2&&window.eventBusV2.dispatchEvent(e)},t.subscribeToEvent=(e,t)=>{window.eventBusV2&&window.eventBusV2.subscribeToEvent(e,t)},t.subscribeToLegacyEvent=(e,t)=>{window.eventBus&&window.eventBus.addEventListener(e,t)},t.unsubscribeFromEvent=(e,t)=>{window.eventBusV2&&window.eventBusV2.unsubscribeFromEvent(e,t)}},4688:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getClientID=void 0,t.getClientID=()=>`component_${"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}`.replace(/[-]/g,"_")},1452:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefixedClassName=void 0,t.getPrefixedClassName=(e,t)=>e?`${e}-${t}`:t},4477:(e,t)=>
2{Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefixedClassNameSelector=void 0,t.getPrefixedClassNameSelector=(e,t)=>e?`.${e}-${t}`:`.${t}`},2254:function(e,t,i){var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var o=Object.getOwnPropertyDescriptor(t,i);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,o)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),o(i(4688),t),o(i(3100),t),o(i(1996),t),o(i(1452),t),o(i(4477),t),o(i(8345),t),o(i(4941),t),o(i(1271),t)},8345:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isElementVisibleInDom=void 0,t.isElementVisibleInDom=e=>{e.getBoundingClientRect(),window.innerHeight||document.documentElement.clientHeight,window.innerWidth||document.documentElement.clientWidth;const t=window.getComputedStyle(e),i="none"!==t.display&&"hidden"!==t.visibility&&"0"!==t.opacity;let n=!1,o=e.parentElement;for(;o&&!n;){const e=window.getComputedStyle(o);"none"!==e.display&&"hidden"!==e.visibility&&"0"!==e.opacity||(n=!0),o=o.parentElement}return i&&!n}},4941:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=e=>!isNaN(parseFloat(e))&&!isNaN(+e)},532:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebComponentNames=void 0,t.WebComponentNames={App:"cc-app-component",AssetsLoader:"cc-assets-loader-component",HtmxApp:"cc-htmx-app-component",Breadcrumb:"cc-breadcrumb-component",DetailList:"cc-detail-list-component",EventBus:"cc-event-bus-component",Faq:"cc-faq-component",ImageGallery:"cc-image-gallery-component",Map:"cc-map-component",ScrollToLinkTarget:"cc-scroll-to-link-target-component",ShowMoreContainer:"cc-show-more-container-component",TabContainer:"cc-tab-container-component",Table:"cc-table-component",Tooltip:"cc-tooltip-component",WordExplanation:"cc-word-explanation-component"}}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,i),s.exports}(()=>{const e=i(5785);customElements.define("cc-app-component",e.App),customElements.define("cc-auth-conditional-content-component",e.AuthConditionalContent),customElements.define("cc-htmx-app-component",e.HtmxApp),customElements.define("cc-breadcrumb-component",e.Breadcrumb),customElements.define("cc-detail-list-component",e.DetailList),customElements.define("cc-double-scrollbar-container-component",e.DoubleScrollbarContainer),customElements.define("cc-event-bus-component",e.EventBus),customElements.define("cc-faq-component",e.Faq),customElements.define("cc-image-gallery-component",e.ImageGallery),customElements.define("cc-map-component",e.Map),customElements.define("cc-modal-component",e.Modal),customElements.define("cc-show-more-container-component",e.ShowMoreContainer),customElements.define("cc-tab-container-component",e.TabContainer),customElements.define("cc-table-component",e.Table),customElements.define("cc-tooltip-component",e.Tooltip),customElements.define("cc-word-explanation-component",e.WordExplanation),customElements.define("cc-scroll-to-link-target-component",e.ScrollToLinkTarget),customElements.define("cc-assets-loader-component",e.AssetsLoader),customElements.define("cc-cookie-manager-component",e.CookieManager),customElements.define("cc-cookie-consent-conditional-content-component",e.CookieConsentConditionalContent),customElements.define("cc-iframe-component",e.Iframe)})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.