@govtechsg/sgds-web-component 3.8.1 → 3.9.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/Masthead/index.js +3 -3
  2. package/components/Mainnav/index.umd.min.js +2 -2
  3. package/components/Mainnav/index.umd.min.js.map +1 -1
  4. package/components/Mainnav/mainnav.js +1 -1
  5. package/components/Mainnav/sgds-mainnav.d.ts +2 -0
  6. package/components/Mainnav/sgds-mainnav.js +5 -0
  7. package/components/Mainnav/sgds-mainnav.js.map +1 -1
  8. package/components/Masthead/index.umd.min.js +3 -3
  9. package/components/Masthead/index.umd.min.js.map +1 -1
  10. package/components/Masthead/masthead.js +1 -1
  11. package/components/Masthead/sgds-masthead.d.ts +2 -0
  12. package/components/Masthead/sgds-masthead.js +6 -1
  13. package/components/Masthead/sgds-masthead.js.map +1 -1
  14. package/components/SystemBanner/index.umd.min.js +48 -46
  15. package/components/SystemBanner/index.umd.min.js.map +1 -1
  16. package/components/SystemBanner/sgds-system-banner.d.ts +2 -0
  17. package/components/SystemBanner/sgds-system-banner.js +39 -32
  18. package/components/SystemBanner/sgds-system-banner.js.map +1 -1
  19. package/components/SystemBanner/system-banner-item.js +1 -1
  20. package/components/SystemBanner/system-banner.js +1 -1
  21. package/components/index.umd.min.js +39 -37
  22. package/components/index.umd.min.js.map +1 -1
  23. package/css/fouc.css +11 -11
  24. package/index.umd.min.js +39 -37
  25. package/index.umd.min.js.map +1 -1
  26. package/package.json +1 -1
  27. package/react/components/Mainnav/mainnav.cjs.js +1 -1
  28. package/react/components/Mainnav/mainnav.js +1 -1
  29. package/react/components/Mainnav/sgds-mainnav.cjs.js +5 -0
  30. package/react/components/Mainnav/sgds-mainnav.cjs.js.map +1 -1
  31. package/react/components/Mainnav/sgds-mainnav.js +5 -0
  32. package/react/components/Mainnav/sgds-mainnav.js.map +1 -1
  33. package/react/components/Masthead/masthead.cjs.js +1 -1
  34. package/react/components/Masthead/masthead.js +1 -1
  35. package/react/components/Masthead/sgds-masthead.cjs.js +5 -0
  36. package/react/components/Masthead/sgds-masthead.cjs.js.map +1 -1
  37. package/react/components/Masthead/sgds-masthead.js +6 -1
  38. package/react/components/Masthead/sgds-masthead.js.map +1 -1
  39. package/react/components/SystemBanner/sgds-system-banner.cjs.js +39 -32
  40. package/react/components/SystemBanner/sgds-system-banner.cjs.js.map +1 -1
  41. package/react/components/SystemBanner/sgds-system-banner.js +39 -32
  42. package/react/components/SystemBanner/sgds-system-banner.js.map +1 -1
  43. package/react/components/SystemBanner/system-banner-item.cjs.js +1 -1
  44. package/react/components/SystemBanner/system-banner-item.js +1 -1
  45. package/react/components/SystemBanner/system-banner.cjs.js +1 -1
  46. package/react/components/SystemBanner/system-banner.js +1 -1
  47. package/react/index.cjs.js +40 -40
  48. package/react/index.d.ts +11 -11
  49. package/react/index.js +11 -11
package/Masthead/index.js CHANGED
@@ -10,7 +10,7 @@ const t=globalThis,i=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
10
10
  * Copyright 2017 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const S=globalThis,P=e=>{S.emitLitDebugLogEvents&&S.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let k,E=0;S.litIssuedWarnings??=new Set,k=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",S.litIssuedWarnings.has(t)||S.litIssuedWarnings.has(e)||(console.warn(t),S.litIssuedWarnings.add(t))},queueMicrotask(()=>{k("dev-mode","Lit is in dev mode. Not recommended for production!")});const V=S.ShadyDOM?.inUse&&!0===S.ShadyDOM?.noPatch?S.ShadyDOM.wrap:e=>e,T=S.trustedTypes,M=T?T.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,O=(e,t,i)=>N,U=e=>{if(re!==O)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");re=e},H=()=>{re=O},z=(e,t,i)=>re(e,t,i),L="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,W="?"+A,R=`<${W}>`,D=document,I=()=>D.createComment(""),Z=e=>null===e||"object"!=typeof e&&"function"!=typeof e,j=Array.isArray,B="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,J=/>/g,G=new RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(ee=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&k("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ee,strings:e,values:t}));var ee;const te=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),se=new WeakMap,ne=D.createTreeWalker(D,129);let re=O;function oe(e,t){if(!j(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==M?M.createHTML(t):t}class ae{constructor({strings:e,_$litType$:t},i){let s;this.parts=[];let n=0,r=0;const o=e.length-1,a=this.parts,[l,d]=((e,t)=>{const i=e.length-1,s=[];let n,r=2===t?"<svg>":3===t?"<math>":"",o=q;for(let t=0;t<i;t++){const i=e[t];let a,l,d=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)if(c=o.lastIndex,o===q){if("!--"===l[1])o=F;else if(void 0!==l[1])o=J;else if(void 0!==l[2])X.test(l[2])&&(n=new RegExp(`</${l[2]}`,"g")),o=G;else if(void 0!==l[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else o===G?">"===l[0]?(o=n??q,d=-1):void 0===l[1]?d=-2:(d=o.lastIndex-l[2].length,a=l[1],o=void 0===l[3]?G:'"'===l[3]?Y:K):o===Y||o===K?o=G:o===F||o===J?o=q:(o=G,n=void 0);console.assert(-1===d||o===G||o===K||o===Y,"unexpected parse state B");const h=o===G&&e[t+1].startsWith("/>")?" ":"";r+=o===q?i+R:d>=0?(s.push(a),i.slice(0,d)+L+i.slice(d)+A+h):i+A+(-2===d?t:h)}return[oe(e,r+(e[i]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),s]})(e,t);if(this.el=ae.createElement(l,i),ne.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(s=ne.nextNode())&&a.length<o;){if(1===s.nodeType){{const e=s.localName;if(/^(?:textarea|template)$/i.test(e)&&s.innerHTML.includes(A)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);k("",t)}}if(s.hasAttributes())for(const e of s.getAttributeNames())if(e.endsWith(L)){const t=d[r++],i=s.getAttribute(e).split(A),o=/([.?@])?(.*)/.exec(t);a.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?pe:"?"===o[1]?ue:"@"===o[1]?me:he}),s.removeAttribute(e)}else e.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(e));if(X.test(s.tagName)){const e=s.textContent.split(A),t=e.length-1;if(t>0){s.textContent=T?T.emptyScript:"";for(let i=0;i<t;i++)s.append(e[i],I()),ne.nextNode(),a.push({type:2,index:++n});s.append(e[t],I())}}}else if(8===s.nodeType){if(s.data===W)a.push({type:2,index:n});else{let e=-1;for(;-1!==(e=s.data.indexOf(A,e+1));)a.push({type:7,index:n}),e+=A.length-1}}n++}if(d.length!==r)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");P&&P({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const i=D.createElement("template");return i.innerHTML=e,i}}function le(e,t,i=e,s){if(t===te)return t;let n=void 0!==s?i.__directives?.[s]:i.__directive;const r=Z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$notifyDirectiveConnectionChanged?.(!1),void 0===r?n=void 0:(n=new r(e),n._$initialize(e,i,s)),void 0!==s?(i.__directives??=[])[s]=n:i.__directive=n),void 0!==n&&(t=le(e,n._$resolve(e,t.values),n,s)),t}class de{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:i}=this._$template,s=(e?.creationScope??D).importNode(t,!0);ne.currentNode=s;let n=ne.nextNode(),r=0,o=0,a=i[0];for(;void 0!==a;){if(r===a.index){let t;2===a.type?t=new ce(n,n.nextSibling,this,e):1===a.type?t=new a.ctor(n,a.name,a.strings,this,e):6===a.type&&(t=new ge(n,this,e)),this._$parts.push(t),a=i[++o]}r!==a?.index&&(n=ne.nextNode(),r++)}return ne.currentNode=D,s}_update(e){let t=0;for(const i of this._$parts)void 0!==i&&(P&&P({kind:"set part",part:i,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==i.strings?(i._$setValue(e,i,t),t+=i.strings.length-2):i._$setValue(e[t])),t++}}class ce{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,i,s){this.type=2,this._$committedValue=ie,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=i,this.options=s,this.__isConnected=s?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=V(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=le(this,e,t),Z(e))e===ie||null==e||""===e?(this._$committedValue!==ie&&(P&&P({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=ie):e!==this._$committedValue&&e!==te&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>j(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return V(V(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),re!==O){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}P&&P({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==ie&&Z(this._$committedValue)){const t=V(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),P&&P({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=D.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),P&&P({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:i}=e,s="number"==typeof i?this._$getTemplate(e):(void 0===i.el&&(i.el=ae.createElement(oe(i.h,i.h[0]),this.options)),i);if(this._$committedValue?._$template===s)P&&P({kind:"template updating",template:s,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new de(s,this),i=e._clone(this.options);P&&P({kind:"template instantiated",template:s,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),e._update(t),P&&P({kind:"template instantiated and updated",template:s,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),this._commitNode(i),this._$committedValue=e}}_$getTemplate(e){let t=se.get(e.strings);return void 0===t&&se.set(e.strings,t=new ae(e)),t}_commitIterable(e){j(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let i,s=0;for(const n of e)s===t.length?t.push(i=new ce(this._insert(I()),this._insert(I()),this,this.options)):i=t[s],i._$setValue(n),s++;s<t.length&&(this._$clear(i&&V(i._$endNode).nextSibling,s),t.length=s)}_$clear(e=V(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=V(e).nextSibling;V(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class he{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,i,s,n){this.type=1,this._$committedValue=ie,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$committedValue=new Array(i.length-1).fill(new String),this.strings=i):this._$committedValue=ie,this._sanitizer=void 0}_$setValue(e,t=this,i,s){const n=this.strings;let r=!1;if(void 0===n)e=le(this,e,t,0),r=!Z(e)||e!==this._$committedValue&&e!==te,r&&(this._$committedValue=e);else{const s=e;let o,a;for(e=n[0],o=0;o<n.length-1;o++)a=le(this,s[i+o],t,o),a===te&&(a=this._$committedValue[o]),r||=!Z(a)||a!==this._$committedValue[o],a===ie?e=ie:e!==ie&&(e+=(a??"")+n[o+1]),this._$committedValue[o]=a}r&&!s&&this._commitValue(e)}_commitValue(e){e===ie?V(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=re(this.element,this.name,"attribute")),e=this._sanitizer(e??""),P&&P({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),V(this.element).setAttribute(this.name,e??""))}}class pe extends he{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=re(this.element,this.name,"property")),e=this._sanitizer(e),P&&P({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===ie?void 0:e}}class ue extends he{constructor(){super(...arguments),this.type=4}_commitValue(e){P&&P({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===ie),options:this.options}),V(this.element).toggleAttribute(this.name,!!e&&e!==ie)}}class me extends he{constructor(e,t,i,s,n){if(super(e,t,i,s,n),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=le(this,e,t,0)??ie)===te)return;const i=this._$committedValue,s=e===ie&&i!==ie||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==ie&&(i===ie||s);P&&P({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:s,addListener:n,oldListener:i}),s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ge{constructor(e,t,i){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=i}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){P&&P({kind:"commit to element binding",element:this.element,value:e,options:this.options}),le(this,e)}}const fe=S.litHtmlPolyfillSupportDevMode;fe?.(ae,ce),(S.litHtmlVersions??=[]).push("3.3.2"),S.litHtmlVersions.length>1&&queueMicrotask(()=>{k("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const ve=(e,t,i)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const s=E++,n=i?.renderBefore??t;let r=n._$litPart$;if(P&&P({kind:"begin render",id:s,value:e,container:t,options:i,part:r}),void 0===r){const e=i?.renderBefore??null;n._$litPart$=r=new ce(t.insertBefore(I(),e),e,void 0,i??{})}return r._$setValue(e),P&&P({kind:"end render",id:s,value:e,container:t,options:i,part:r}),r};ve.setSanitizer=U,ve.createSanitizer=z,ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=H;
13
+ const S=globalThis,P=e=>{S.emitLitDebugLogEvents&&S.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let k,E=0;S.litIssuedWarnings??=new Set,k=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",S.litIssuedWarnings.has(t)||S.litIssuedWarnings.has(e)||(console.warn(t),S.litIssuedWarnings.add(t))},queueMicrotask(()=>{k("dev-mode","Lit is in dev mode. Not recommended for production!")});const V=S.ShadyDOM?.inUse&&!0===S.ShadyDOM?.noPatch?S.ShadyDOM.wrap:e=>e,T=S.trustedTypes,M=T?T.createPolicy("lit-html",{createHTML:e=>e}):void 0,N=e=>e,O=(e,t,i)=>N,U=e=>{if(re!==O)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");re=e},H=()=>{re=O},z=(e,t,i)=>re(e,t,i),L="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,W="?"+A,R=`<${W}>`,D=document,I=()=>D.createComment(""),Z=e=>null===e||"object"!=typeof e&&"function"!=typeof e,B=Array.isArray,j="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,J=/>/g,G=new RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=(ee=1,(e,...t)=>(e.some(e=>void 0===e)&&console.warn("Some template strings are undefined.\nThis is probably caused by illegal octal escape sequences."),t.some(e=>e?._$litStatic$)&&k("","Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\nPlease use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions"),{_$litType$:ee,strings:e,values:t}));var ee;const te=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),se=new WeakMap,ne=D.createTreeWalker(D,129);let re=O;function oe(e,t){if(!B(e)||!e.hasOwnProperty("raw")){let e="invalid template strings array";throw e="\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n ".trim().replace(/\n */g,"\n"),new Error(e)}return void 0!==M?M.createHTML(t):t}class ae{constructor({strings:e,_$litType$:t},i){let s;this.parts=[];let n=0,r=0;const o=e.length-1,a=this.parts,[l,d]=((e,t)=>{const i=e.length-1,s=[];let n,r=2===t?"<svg>":3===t?"<math>":"",o=q;for(let t=0;t<i;t++){const i=e[t];let a,l,d=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)if(c=o.lastIndex,o===q){if("!--"===l[1])o=F;else if(void 0!==l[1])o=J;else if(void 0!==l[2])X.test(l[2])&&(n=new RegExp(`</${l[2]}`,"g")),o=G;else if(void 0!==l[3])throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions")}else o===G?">"===l[0]?(o=n??q,d=-1):void 0===l[1]?d=-2:(d=o.lastIndex-l[2].length,a=l[1],o=void 0===l[3]?G:'"'===l[3]?Y:K):o===Y||o===K?o=G:o===F||o===J?o=q:(o=G,n=void 0);console.assert(-1===d||o===G||o===K||o===Y,"unexpected parse state B");const h=o===G&&e[t+1].startsWith("/>")?" ":"";r+=o===q?i+R:d>=0?(s.push(a),i.slice(0,d)+L+i.slice(d)+A+h):i+A+(-2===d?t:h)}return[oe(e,r+(e[i]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),s]})(e,t);if(this.el=ae.createElement(l,i),ne.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(s=ne.nextNode())&&a.length<o;){if(1===s.nodeType){{const e=s.localName;if(/^(?:textarea|template)$/i.test(e)&&s.innerHTML.includes(A)){const t=`Expressions are not supported inside \`${e}\` elements. See https://lit.dev/msg/expression-in-${e} for more information.`;if("template"===e)throw new Error(t);k("",t)}}if(s.hasAttributes())for(const e of s.getAttributeNames())if(e.endsWith(L)){const t=d[r++],i=s.getAttribute(e).split(A),o=/([.?@])?(.*)/.exec(t);a.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?pe:"?"===o[1]?ue:"@"===o[1]?me:he}),s.removeAttribute(e)}else e.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(e));if(X.test(s.tagName)){const e=s.textContent.split(A),t=e.length-1;if(t>0){s.textContent=T?T.emptyScript:"";for(let i=0;i<t;i++)s.append(e[i],I()),ne.nextNode(),a.push({type:2,index:++n});s.append(e[t],I())}}}else if(8===s.nodeType){if(s.data===W)a.push({type:2,index:n});else{let e=-1;for(;-1!==(e=s.data.indexOf(A,e+1));)a.push({type:7,index:n}),e+=A.length-1}}n++}if(d.length!==r)throw new Error('Detected duplicate attribute bindings. This occurs if your template has duplicate attributes on an element tag. For example "<input ?disabled=${true} ?disabled=${false}>" contains a duplicate "disabled" attribute. The error was detected in the following template: \n`'+e.join("${...}")+"`");P&&P({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const i=D.createElement("template");return i.innerHTML=e,i}}function le(e,t,i=e,s){if(t===te)return t;let n=void 0!==s?i.__directives?.[s]:i.__directive;const r=Z(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$notifyDirectiveConnectionChanged?.(!1),void 0===r?n=void 0:(n=new r(e),n._$initialize(e,i,s)),void 0!==s?(i.__directives??=[])[s]=n:i.__directive=n),void 0!==n&&(t=le(e,n._$resolve(e,t.values),n,s)),t}class de{constructor(e,t){this._$parts=[],this._$disconnectableChildren=void 0,this._$template=e,this._$parent=t}get parentNode(){return this._$parent.parentNode}get _$isConnected(){return this._$parent._$isConnected}_clone(e){const{el:{content:t},parts:i}=this._$template,s=(e?.creationScope??D).importNode(t,!0);ne.currentNode=s;let n=ne.nextNode(),r=0,o=0,a=i[0];for(;void 0!==a;){if(r===a.index){let t;2===a.type?t=new ce(n,n.nextSibling,this,e):1===a.type?t=new a.ctor(n,a.name,a.strings,this,e):6===a.type&&(t=new ge(n,this,e)),this._$parts.push(t),a=i[++o]}r!==a?.index&&(n=ne.nextNode(),r++)}return ne.currentNode=D,s}_update(e){let t=0;for(const i of this._$parts)void 0!==i&&(P&&P({kind:"set part",part:i,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==i.strings?(i._$setValue(e,i,t),t+=i.strings.length-2):i._$setValue(e[t])),t++}}class ce{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,i,s){this.type=2,this._$committedValue=ie,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=i,this.options=s,this.__isConnected=s?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=V(this._$startNode).parentNode;const t=this._$parent;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$startNode}get endNode(){return this._$endNode}_$setValue(e,t=this){if(null===this.parentNode)throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");if(e=le(this,e,t),Z(e))e===ie||null==e||""===e?(this._$committedValue!==ie&&(P&&P({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=ie):e!==this._$committedValue&&e!==te&&this._commitText(e);else if(void 0!==e._$litType$)this._commitTemplateResult(e);else if(void 0!==e.nodeType){if(this.options?.host===e)return this._commitText("[probable mistake: rendered a template's host in itself (commonly caused by writing ${this} in a template]"),void console.warn("Attempted to render the template host",e,"inside itself. This is almost always a mistake, and in dev mode ","we render some warning text. In production however, we'll ","render it, which will usually result in an error, and sometimes ","in the element disappearing from the DOM.");this._commitNode(e)}else(e=>B(e)||"function"==typeof e?.[Symbol.iterator])(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return V(V(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),re!==O){const e=this._$startNode.parentNode?.nodeName;if("STYLE"===e||"SCRIPT"===e){let t="Forbidden";throw t="STYLE"===e?"Lit does not support binding inside style nodes. This is a security risk, as style injection attacks can exfiltrate data and spoof UIs. Consider instead using css`...` literals to compose styles, and do dynamic styling with css custom properties, ::parts, <slot>s, and by mutating the DOM rather than stylesheets.":"Lit does not support binding inside script nodes. This is a security risk, as it could allow arbitrary code execution.",new Error(t)}}P&&P({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==ie&&Z(this._$committedValue)){const t=V(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),P&&P({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=D.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=z(t,"data","property")),e=this._textSanitizer(e),P&&P({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:i}=e,s="number"==typeof i?this._$getTemplate(e):(void 0===i.el&&(i.el=ae.createElement(oe(i.h,i.h[0]),this.options)),i);if(this._$committedValue?._$template===s)P&&P({kind:"template updating",template:s,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new de(s,this),i=e._clone(this.options);P&&P({kind:"template instantiated",template:s,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),e._update(t),P&&P({kind:"template instantiated and updated",template:s,instance:e,parts:e._$parts,options:this.options,fragment:i,values:t}),this._commitNode(i),this._$committedValue=e}}_$getTemplate(e){let t=se.get(e.strings);return void 0===t&&se.set(e.strings,t=new ae(e)),t}_commitIterable(e){B(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let i,s=0;for(const n of e)s===t.length?t.push(i=new ce(this._insert(I()),this._insert(I()),this,this.options)):i=t[s],i._$setValue(n),s++;s<t.length&&(this._$clear(i&&V(i._$endNode).nextSibling,s),t.length=s)}_$clear(e=V(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=V(e).nextSibling;V(e).remove(),e=t}}setConnected(e){if(void 0!==this._$parent)throw new Error("part.setConnected() may only be called on a RootPart returned from render().");this.__isConnected=e,this._$notifyConnectionChanged?.(e)}}class he{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,i,s,n){this.type=1,this._$committedValue=ie,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$committedValue=new Array(i.length-1).fill(new String),this.strings=i):this._$committedValue=ie,this._sanitizer=void 0}_$setValue(e,t=this,i,s){const n=this.strings;let r=!1;if(void 0===n)e=le(this,e,t,0),r=!Z(e)||e!==this._$committedValue&&e!==te,r&&(this._$committedValue=e);else{const s=e;let o,a;for(e=n[0],o=0;o<n.length-1;o++)a=le(this,s[i+o],t,o),a===te&&(a=this._$committedValue[o]),r||=!Z(a)||a!==this._$committedValue[o],a===ie?e=ie:e!==ie&&(e+=(a??"")+n[o+1]),this._$committedValue[o]=a}r&&!s&&this._commitValue(e)}_commitValue(e){e===ie?V(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=re(this.element,this.name,"attribute")),e=this._sanitizer(e??""),P&&P({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),V(this.element).setAttribute(this.name,e??""))}}class pe extends he{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=re(this.element,this.name,"property")),e=this._sanitizer(e),P&&P({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===ie?void 0:e}}class ue extends he{constructor(){super(...arguments),this.type=4}_commitValue(e){P&&P({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===ie),options:this.options}),V(this.element).toggleAttribute(this.name,!!e&&e!==ie)}}class me extends he{constructor(e,t,i,s,n){if(super(e,t,i,s,n),this.type=5,void 0!==this.strings)throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`)}_$setValue(e,t=this){if((e=le(this,e,t,0)??ie)===te)return;const i=this._$committedValue,s=e===ie&&i!==ie||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,n=e!==ie&&(i===ie||s);P&&P({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:s,addListener:n,oldListener:i}),s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,e),this._$committedValue=e}handleEvent(e){"function"==typeof this._$committedValue?this._$committedValue.call(this.options?.host??this.element,e):this._$committedValue.handleEvent(e)}}class ge{constructor(e,t,i){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=i}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){P&&P({kind:"commit to element binding",element:this.element,value:e,options:this.options}),le(this,e)}}const fe=S.litHtmlPolyfillSupportDevMode;fe?.(ae,ce),(S.litHtmlVersions??=[]).push("3.3.2"),S.litHtmlVersions.length>1&&queueMicrotask(()=>{k("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const ve=(e,t,i)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const s=E++,n=i?.renderBefore??t;let r=n._$litPart$;if(P&&P({kind:"begin render",id:s,value:e,container:t,options:i,part:r}),void 0===r){const e=i?.renderBefore??null;n._$litPart$=r=new ce(t.insertBefore(I(),e),e,void 0,i??{})}return r._$setValue(e),P&&P({kind:"end render",id:s,value:e,container:t,options:i,part:r}),r};ve.setSanitizer=U,ve.createSanitizer=z,ve._testOnlyClearSanitizerFactoryDoNotCallOrElse=H;
14
14
  /**
15
15
  * @license
16
16
  * Copyright 2017 Google LLC
@@ -27,7 +27,7 @@ let $e;Ce?.({LitElement:be}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litEl
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
- */globalThis.litIssuedWarnings??=new Set;var ke=o`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--sgds-body-color-default);font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-2);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Ee extends be{emit(e,t){const i=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(i),i}static define(e,t=this,i={}){if(customElements.get(e));else try{customElements.define(e,t,i)}catch(s){customElements.define(e,class extends t{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}Ee.styles=[ke],Ee.dependencies={},e([Pe({type:Boolean,reflect:!0})],Ee.prototype,"ssr",void 0);var Ve,Te,Me,Ne=o`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.875rem;line-height:1.25rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .75rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:20px;width:20px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:767px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`,Oe=o`svg{vertical-align:middle}`,Ue=o`::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}`;class He extends Ee{constructor(){super(...arguments),this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return Q`
30
+ */globalThis.litIssuedWarnings??=new Set;var ke=o`:host{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--sgds-body-color-default);font-family:var(--sgds-font-family-brand);font-size:var(--sgds-font-size-2);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-24);margin:0;*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:disabled{cursor:not-allowed}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}::slotted(svg){vertical-align:middle}}`;class Ee extends be{emit(e,t){const i=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(i),i}static define(e,t=this,i={}){if(customElements.get(e));else try{customElements.define(e,t,i)}catch(s){customElements.define(e,class extends t{},i)}}constructor(){super(),this.ssr=Boolean(this.shadowRoot),Object.entries(this.constructor.dependencies).forEach(([e,t])=>{this.constructor.define(e,t)})}firstUpdated(e){var t;super.firstUpdated(e),this.ssr&&(null===(t=this.shadowRoot)||void 0===t||t.querySelectorAll("slot").forEach(e=>{e.dispatchEvent(new Event("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}))}}Ee.styles=[ke],Ee.dependencies={},e([Pe({type:Boolean,reflect:!0})],Ee.prototype,"ssr",void 0);var Ve,Te,Me,Ne=o`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm)!important}a:hover{color:#0022b9}.sgds-masthead{font-family:Inter,system-ui,sans-serif;font-size:.875rem;line-height:1.25rem}.banner{background-color:light-dark(#f3f3f3,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-padding-x,2rem);width:100%}:host([fluid]) .container{max-width:none}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .75rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(oklch(from #0e0e0e l c h/.1),oklch(from #fff l c h/.1))}.sgds-masthead .sgds-masthead-content{display:none;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content.show{display:block}.content-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:20px;width:20px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (max-width:767px){.container{padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem)}.sgds-masthead-content .content-grid{gap:1rem;grid-template-columns:1fr}}`,Oe=o`svg{vertical-align:middle}`,Ue=o`::slotted(a[target=_blank]):after,a[target=_blank]:after{background-color:currentColor;content:"/";display:inline-block;height:1em;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.774 4.4H9.8a.6.6 0 1 1 0 1.2c-.85 0-1.451 0-1.922.039-.463.038-.745.11-.968.223A2.4 2.4 0 0 0 5.861 6.91c-.113.223-.184.505-.222.968-.039.47-.04 1.072-.04 1.922v4.4c0 .85.001 1.451.04 1.922.038.463.11.745.222.968a2.4 2.4 0 0 0 1.05 1.048c.222.114.504.185.967.223.47.038 1.072.039 1.922.039h4.4c.85 0 1.451 0 1.921-.039.464-.038.746-.11.969-.223a2.4 2.4 0 0 0 1.048-1.048c.113-.223.185-.505.223-.968.038-.47.039-1.072.039-1.922a.6.6 0 1 1 1.2 0v.026c0 .818 0 1.468-.043 1.993-.044.538-.136.996-.35 1.415a3.6 3.6 0 0 1-1.573 1.574c-.42.213-.878.305-1.415.35-.525.042-1.175.042-1.993.042H9.774c-.818 0-1.469 0-1.993-.043-.538-.044-.996-.136-1.415-.35a3.6 3.6 0 0 1-1.574-1.573c-.213-.42-.305-.877-.35-1.415-.042-.525-.042-1.175-.042-1.993V9.774c0-.818 0-1.468.043-1.993.044-.538.136-.996.35-1.415a3.6 3.6 0 0 1 1.573-1.574c.42-.213.877-.305 1.415-.35C8.305 4.4 8.956 4.4 9.774 4.4ZM12.4 5a.6.6 0 0 1 .6-.6h6a.6.6 0 0 1 .6.6v6a.6.6 0 1 1-1.2 0V6.449l-5.976 5.975a.6.6 0 0 1-.848-.848L17.55 5.6H13a.6.6 0 0 1-.6-.6Z' fill='%230E0E0E'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;vertical-align:top;width:1em}`;class He extends Ee{constructor(){super(...arguments),this.fluid=!1,this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return Q`
31
31
  <div id="sgds-masthead" class="sgds-masthead" aria-label="A Singapore Government Agency Website" role="banner">
32
32
  <div class="banner">
33
33
  <div class="container">
@@ -179,5 +179,5 @@ let $e;Ce?.({LitElement:be}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litEl
179
179
  </div>
180
180
  </div>
181
181
  </div>
182
- `}}He.styles=[...Ee.styles,Oe,Ue,Ne],e([Pe({...Ve,state:!0,attribute:!1})],He.prototype,"toggleVisibility",void 0),Te="sgds-masthead",Me=He,customElements.get(Te)||customElements.define(Te,Me)});
182
+ `}}He.styles=[...Ee.styles,Oe,Ue,Ne],e([Pe({type:Boolean,reflect:!0})],He.prototype,"fluid",void 0),e([Pe({...Ve,state:!0,attribute:!1})],He.prototype,"toggleVisibility",void 0),Te="sgds-masthead",Me=He,customElements.get(Te)||customElements.define(Te,Me)});
183
183
  //# sourceMappingURL=index.umd.min.js.map
@@ -2125,7 +2125,7 @@ let Se;$e?.({LitElement:He}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litEl
2125
2125
  size=${it(this._assignIconSize(this.size))}
2126
2126
  ></sgds-icon>`}
2127
2127
  </${t}>
2128
- `}}bt.styles=[...ht.styles,mt],bt.dependencies={"sgds-icon":gt,"sgds-spinner":ft},e([Ae({type:String,reflect:!0})],bt.prototype,"name",void 0);const xt="mainnav-context",yt="mainnav-expanded-context";var Zt=p`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}@media screen and (max-width:767px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:767px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:512px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;const Ct={sm:512,md:768,lg:1024,xl:1280,xxl:1440,never:1/0,always:-1};class Mt extends qe{constructor(){super(...arguments),this._breakpointReached=!1,this.expanded=!1,this.expanding=!1,this.brandHref="",this.collapseId=tt("mainnav","collapse"),this.expand="lg",this.breakpointReached=!1,this._handleMobileNavBound=this._handleMobileNav.bind(this)}get defaultSlotItems(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}get endSlotItems(){return[...this.endNodes||[]].filter(e=>void 0!==e.tagName)}connectedCallback(){super.connectedCallback(),this._handleResize(),window.addEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.addEventListener("resize",this._handleResize.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.removeEventListener("resize",this._handleResize.bind(this))}firstUpdated(e){super.firstUpdated(e),this.breakpointReached&&this.body&&(this.expanded=!1,this.body.hidden=!0,this._handleMobileNav(),this._breakpointReached=!0);[...this.defaultSlotItems,...this.endSlotItems].forEach(e=>{e.setAttribute("expand",this.expand)})}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.header)||this.hide()}_handleSummaryClick(){this.expanded?this.hide():(document.querySelector("body").style.overflow="hidden",this.show())}_handleResize(){const e=window.innerWidth<Ct[this.expand];e!==this.breakpointReached?this.requestUpdate():(this.body&&(this.body.hidden=!0),this.expanding=!1),e?(this._handleMobileNav(),this._breakpointReached||(this._breakpointReached=!0,window.addEventListener("scrollend",this._handleMobileNavBound))):(this._handleDesktopNav(),this._breakpointReached=!1,window.removeEventListener("scrollend",this._handleMobileNavBound))}async _handleMobileNav(){if(!this.nav)return;this.nav.appendChild(this.body),await customElements.whenDefined("sgds-masthead");const{bottom:e}=this.nav.getBoundingClientRect(),t=parseFloat(getComputedStyle(this.body).paddingTop)+parseFloat(getComputedStyle(this.body).paddingBottom);this.navScroll.style.maxHeight=`calc(100dvh - ${e}px - ${t}px)`}_handleDesktopNav(){var e;null===(e=this.navbar)||void 0===e||e.insertBefore(this.body,this.nonCollapsibleSlot)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!1);await Je(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=Ge(this,"mainnav.show");await je(this.body,Ke(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!0);await Je(this.body);const{keyframes:e,options:t}=Ge(this,"mainnav.hide");await je(this.body,Ke(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}async handleOpenChange(){this.expanding?(await this._animateToShow(),this.expanded=!0):(this.header.focus(),await this._animateToHide(),this.expanded=!1)}async show(){if(!this.expanded)return this.expanding=!0,et(this,"sgds-after-show")}async hide(){if(this.expanded)return this.expanding=!1,document.querySelector("body").style.removeProperty("overflow"),et(this,"sgds-after-hide")}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{e.setAttribute("name",e.tagName.toLowerCase())})}render(){return this.breakpointReached=window.innerWidth<Ct[this.expand],le`
2128
+ `}}bt.styles=[...ht.styles,mt],bt.dependencies={"sgds-icon":gt,"sgds-spinner":ft},e([Ae({type:String,reflect:!0})],bt.prototype,"name",void 0);const xt="mainnav-context",yt="mainnav-expanded-context";var Zt=p`:host{position:relative;z-index:1200}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);min-height:80px;padding:0 var(--sgds-mainnav-padding-x);position:relative;width:100%}:host([fluid]) .navbar{max-width:none}@media screen and (max-width:767px){.navbar{padding:0 var(--sgds-mainnav-mobile-padding-x)}}.navbar-brand{align-items:center;display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body .navbar-nav{height:100dvh}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:2000}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}@media screen and (max-width:767px){nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}@media (prefers-reduced-motion:reduce){.navbar-toggler{transition:none}}.navbar-nav-scroll{overflow-y:auto}@media (min-width:512px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;const Ct={sm:512,md:768,lg:1024,xl:1280,xxl:1440,never:1/0,always:-1};class Mt extends qe{constructor(){super(...arguments),this._breakpointReached=!1,this.expanded=!1,this.expanding=!1,this.brandHref="",this.collapseId=tt("mainnav","collapse"),this.expand="lg",this.fluid=!1,this.breakpointReached=!1,this._handleMobileNavBound=this._handleMobileNav.bind(this)}get defaultSlotItems(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}get endSlotItems(){return[...this.endNodes||[]].filter(e=>void 0!==e.tagName)}connectedCallback(){super.connectedCallback(),this._handleResize(),window.addEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.addEventListener("resize",this._handleResize.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.removeEventListener("resize",this._handleResize.bind(this))}firstUpdated(e){super.firstUpdated(e),this.breakpointReached&&this.body&&(this.expanded=!1,this.body.hidden=!0,this._handleMobileNav(),this._breakpointReached=!0);[...this.defaultSlotItems,...this.endSlotItems].forEach(e=>{e.setAttribute("expand",this.expand)})}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.header)||this.hide()}_handleSummaryClick(){this.expanded?this.hide():(document.querySelector("body").style.overflow="hidden",this.show())}_handleResize(){const e=window.innerWidth<Ct[this.expand];e!==this.breakpointReached?this.requestUpdate():(this.body&&(this.body.hidden=!0),this.expanding=!1),e?(this._handleMobileNav(),this._breakpointReached||(this._breakpointReached=!0,window.addEventListener("scrollend",this._handleMobileNavBound))):(this._handleDesktopNav(),this._breakpointReached=!1,window.removeEventListener("scrollend",this._handleMobileNavBound))}async _handleMobileNav(){if(!this.nav)return;this.nav.appendChild(this.body),await customElements.whenDefined("sgds-masthead");const{bottom:e}=this.nav.getBoundingClientRect(),t=parseFloat(getComputedStyle(this.body).paddingTop)+parseFloat(getComputedStyle(this.body).paddingBottom);this.navScroll.style.maxHeight=`calc(100dvh - ${e}px - ${t}px)`}_handleDesktopNav(){var e;null===(e=this.navbar)||void 0===e||e.insertBefore(this.body,this.nonCollapsibleSlot)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!1);await Je(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=Ge(this,"mainnav.show");await je(this.body,Ke(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!0);await Je(this.body);const{keyframes:e,options:t}=Ge(this,"mainnav.hide");await je(this.body,Ke(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}async handleOpenChange(){this.expanding?(await this._animateToShow(),this.expanded=!0):(this.header.focus(),await this._animateToHide(),this.expanded=!1)}async show(){if(!this.expanded)return this.expanding=!0,et(this,"sgds-after-show")}async hide(){if(this.expanded)return this.expanding=!1,document.querySelector("body").style.removeProperty("overflow"),et(this,"sgds-after-hide")}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{e.setAttribute("name",e.tagName.toLowerCase())})}render(){return this.breakpointReached=window.innerWidth<Ct[this.expand],le`
2129
2129
  <nav>
2130
2130
  <div class="navbar ${this._expandClass()}">
2131
2131
  <a class="navbar-brand" href=${this.brandHref} aria-label="brand-link">
@@ -2154,7 +2154,7 @@ let Se;$e?.({LitElement:He}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litEl
2154
2154
  ></sgds-icon-button>
2155
2155
  </div>
2156
2156
  </nav>
2157
- `}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Mt.styles=[...qe.styles,Zt],Mt.dependencies={"sgds-icon-button":bt},e([l({context:xt}),Ee()],Mt.prototype,"_breakpointReached",void 0),e([l({context:yt}),Ee()],Mt.prototype,"expanded",void 0),e([Ee()],Mt.prototype,"expanding",void 0),e([Te("nav")],Mt.prototype,"nav",void 0),e([Te(".navbar")],Mt.prototype,"navbar",void 0),e([Te(".navbar-toggler")],Mt.prototype,"header",void 0),e([Te(".navbar-body")],Mt.prototype,"body",void 0),e([Te(".navbar-nav-scroll")],Mt.prototype,"navScroll",void 0),e([Te("slot[name='non-collapsible']")],Mt.prototype,"nonCollapsibleSlot",void 0),e([Ae({type:String})],Mt.prototype,"brandHref",void 0),e([Ae({type:String})],Mt.prototype,"expand",void 0),e([Ee()],Mt.prototype,"breakpointReached",void 0),e([Oe()],Mt.prototype,"defaultNodes",void 0),e([Oe({slot:"end"})],Mt.prototype,"endNodes",void 0),e([at("expanding",{waitUntilFirstUpdate:!0})],Mt.prototype,"handleOpenChange",null),Qe("mainnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),Qe("mainnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});const _t=Math.min,Vt=Math.max,Ht=Math.round,kt=Math.floor,$t=e=>({x:e,y:e}),St={left:"right",right:"left",bottom:"top",top:"bottom"},Bt={start:"end",end:"start"};function Lt(e,t,a){return Vt(e,_t(t,a))}function At(e,t){return"function"==typeof e?e(t):e}function Et(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function Rt(e){return"x"===e?"y":"x"}function Tt(e){return"y"===e?"height":"width"}const Ot=new Set(["top","bottom"]);function zt(e){return Ot.has(Et(e))?"y":"x"}function Nt(e){return Rt(zt(e))}function It(e,t,a){void 0===a&&(a=!1);const i=Pt(e),n=Nt(e),o=Tt(n);let l="x"===n?i===(a?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Kt(l)),[l,Kt(l)]}function Dt(e){return e.replace(/start|end/g,e=>Bt[e])}const Ut=["left","right"],Wt=["right","left"],qt=["top","bottom"],jt=["bottom","top"];function Ft(e,t,a,i){const n=Pt(e);let o=function(e,t,a){switch(e){case"top":case"bottom":return a?t?Wt:Ut:t?Ut:Wt;case"left":case"right":return t?qt:jt;default:return[]}}(Et(e),"start"===a,i);return n&&(o=o.map(e=>e+"-"+n),t&&(o=o.concat(o.map(Dt)))),o}function Kt(e){return e.replace(/left|right|bottom|top/g,e=>St[e])}function Jt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Xt(e){const{x:t,y:a,width:i,height:n}=e;return{width:i,height:n,top:a,left:t,right:t+i,bottom:a+n,x:t,y:a}}function Yt(e,t,a){let{reference:i,floating:n}=e;const o=zt(t),l=Nt(t),s=Tt(l),r=Et(t),c="y"===o,d=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2,v=i[s]/2-n[s]/2;let p;switch(r){case"top":p={x:d,y:i.y-n.height};break;case"bottom":p={x:d,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-n.width,y:h};break;default:p={x:i.x,y:i.y}}switch(Pt(t)){case"start":p[l]-=v*(a&&c?-1:1);break;case"end":p[l]+=v*(a&&c?-1:1)}return p}async function Gt(e,t){var a;void 0===t&&(t={});const{x:i,y:n,platform:o,rects:l,elements:s,strategy:r}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:v=!1,padding:p=0}=At(t,e),g=Jt(p),u=s[v?"floating"===h?"reference":"floating":h],w=Xt(await o.getClippingRect({element:null==(a=await(null==o.isElement?void 0:o.isElement(u)))||a?u:u.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:r})),f="floating"===h?{x:i,y:n,width:l.floating.width,height:l.floating.height}:l.reference,m=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await(null==o.isElement?void 0:o.isElement(m))&&await(null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},x=Xt(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:f,offsetParent:m,strategy:r}):f);return{top:(w.top-x.top+g.top)/b.y,bottom:(x.bottom-w.bottom+g.bottom)/b.y,left:(w.left-x.left+g.left)/b.x,right:(x.right-w.right+g.right)/b.x}}const Qt=new Set(["left","top"]);function ea(){return"undefined"!=typeof window}function ta(e){return na(e)?(e.nodeName||"").toLowerCase():"#document"}function aa(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ia(e){var t;return null==(t=(na(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function na(e){return!!ea()&&(e instanceof Node||e instanceof aa(e).Node)}function oa(e){return!!ea()&&(e instanceof Element||e instanceof aa(e).Element)}function la(e){return!!ea()&&(e instanceof HTMLElement||e instanceof aa(e).HTMLElement)}function sa(e){return!(!ea()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof aa(e).ShadowRoot)}const ra=new Set(["inline","contents"]);function ca(e){const{overflow:t,overflowX:a,overflowY:i,display:n}=ya(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+a)&&!ra.has(n)}const da=new Set(["table","td","th"]);function ha(e){return da.has(ta(e))}const va=[":popover-open",":modal"];function pa(e){return va.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const ga=["transform","translate","scale","rotate","perspective"],ua=["transform","translate","scale","rotate","perspective","filter"],wa=["paint","layout","strict","content"];function fa(e){const t=ma(),a=oa(e)?ya(e):e;return ga.some(e=>!!a[e]&&"none"!==a[e])||!!a.containerType&&"normal"!==a.containerType||!t&&!!a.backdropFilter&&"none"!==a.backdropFilter||!t&&!!a.filter&&"none"!==a.filter||ua.some(e=>(a.willChange||"").includes(e))||wa.some(e=>(a.contain||"").includes(e))}function ma(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const ba=new Set(["html","body","#document"]);function xa(e){return ba.has(ta(e))}function ya(e){return aa(e).getComputedStyle(e)}function Za(e){return oa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ca(e){if("html"===ta(e))return e;const t=e.assignedSlot||e.parentNode||sa(e)&&e.host||ia(e);return sa(t)?t.host:t}function Ma(e){const t=Ca(e);return xa(t)?e.ownerDocument?e.ownerDocument.body:e.body:la(t)&&ca(t)?t:Ma(t)}function _a(e,t,a){var i;void 0===t&&(t=[]),void 0===a&&(a=!0);const n=Ma(e),o=n===(null==(i=e.ownerDocument)?void 0:i.body),l=aa(n);if(o){const e=Va(l);return t.concat(l,l.visualViewport||[],ca(n)?n:[],e&&a?_a(e):[])}return t.concat(n,_a(n,[],a))}function Va(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ha(e){const t=ya(e);let a=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const n=la(e),o=n?e.offsetWidth:a,l=n?e.offsetHeight:i,s=Ht(a)!==o||Ht(i)!==l;return s&&(a=o,i=l),{width:a,height:i,$:s}}function ka(e){return oa(e)?e:e.contextElement}function $a(e){const t=ka(e);if(!la(t))return $t(1);const a=t.getBoundingClientRect(),{width:i,height:n,$:o}=Ha(t);let l=(o?Ht(a.width):a.width)/i,s=(o?Ht(a.height):a.height)/n;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const Sa=$t(0);function Ba(e){const t=aa(e);return ma()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Sa}function La(e,t,a,i){void 0===t&&(t=!1),void 0===a&&(a=!1);const n=e.getBoundingClientRect(),o=ka(e);let l=$t(1);t&&(i?oa(i)&&(l=$a(i)):l=$a(e));const s=function(e,t,a){return void 0===t&&(t=!1),!(!a||t&&a!==aa(e))&&t}(o,a,i)?Ba(o):$t(0);let r=(n.left+s.x)/l.x,c=(n.top+s.y)/l.y,d=n.width/l.x,h=n.height/l.y;if(o){const e=aa(o),t=i&&oa(i)?aa(i):i;let a=e,n=Va(a);for(;n&&i&&t!==a;){const e=$a(n),t=n.getBoundingClientRect(),i=ya(n),o=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;r*=e.x,c*=e.y,d*=e.x,h*=e.y,r+=o,c+=l,a=aa(n),n=Va(a)}}return Xt({width:d,height:h,x:r,y:c})}function Aa(e,t){const a=Za(e).scrollLeft;return t?t.left+a:La(ia(e)).left+a}function Ea(e,t){const a=e.getBoundingClientRect();return{x:a.left+t.scrollLeft-Aa(e,a),y:a.top+t.scrollTop}}const Pa=new Set(["absolute","fixed"]);function Ra(e,t,a){let i;if("viewport"===t)i=function(e,t){const a=aa(e),i=ia(e),n=a.visualViewport;let o=i.clientWidth,l=i.clientHeight,s=0,r=0;if(n){o=n.width,l=n.height;const e=ma();(!e||e&&"fixed"===t)&&(s=n.offsetLeft,r=n.offsetTop)}const c=Aa(i);if(c<=0){const e=i.ownerDocument,t=e.body,a=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(a.marginLeft)+parseFloat(a.marginRight)||0,l=Math.abs(i.clientWidth-t.clientWidth-n);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:s,y:r}}(e,a);else if("document"===t)i=function(e){const t=ia(e),a=Za(e),i=e.ownerDocument.body,n=Vt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Vt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let l=-a.scrollLeft+Aa(e);const s=-a.scrollTop;return"rtl"===ya(i).direction&&(l+=Vt(t.clientWidth,i.clientWidth)-n),{width:n,height:o,x:l,y:s}}(ia(e));else if(oa(t))i=function(e,t){const a=La(e,!0,"fixed"===t),i=a.top+e.clientTop,n=a.left+e.clientLeft,o=la(e)?$a(e):$t(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:n*o.x,y:i*o.y}}(t,a);else{const a=Ba(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Xt(i)}function Ta(e,t){const a=Ca(e);return!(a===t||!oa(a)||xa(a))&&("fixed"===ya(a).position||Ta(a,t))}function Oa(e,t,a){const i=la(t),n=ia(t),o="fixed"===a,l=La(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const r=$t(0);function c(){r.x=Aa(n)}if(i||!i&&!o)if(("body"!==ta(t)||ca(n))&&(s=Za(t)),i){const e=La(t,!0,o,t);r.x=e.x+t.clientLeft,r.y=e.y+t.clientTop}else n&&c();o&&!i&&n&&c();const d=!n||i||o?$t(0):Ea(n,s);return{x:l.left+s.scrollLeft-r.x-d.x,y:l.top+s.scrollTop-r.y-d.y,width:l.width,height:l.height}}function za(e){return"static"===ya(e).position}function Na(e,t){if(!la(e)||"fixed"===ya(e).position)return null;if(t)return t(e);let a=e.offsetParent;return ia(e)===a&&(a=a.ownerDocument.body),a}function Ia(e,t){const a=aa(e);if(pa(e))return a;if(!la(e)){let t=Ca(e);for(;t&&!xa(t);){if(oa(t)&&!za(t))return t;t=Ca(t)}return a}let i=Na(e,t);for(;i&&ha(i)&&za(i);)i=Na(i,t);return i&&xa(i)&&za(i)&&!fa(i)?a:i||function(e){let t=Ca(e);for(;la(t)&&!xa(t);){if(fa(t))return t;if(pa(t))return null;t=Ca(t)}return null}(e)||a}const Da={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:a,offsetParent:i,strategy:n}=e;const o="fixed"===n,l=ia(i),s=!!t&&pa(t.floating);if(i===l||s&&o)return a;let r={scrollLeft:0,scrollTop:0},c=$t(1);const d=$t(0),h=la(i);if((h||!h&&!o)&&(("body"!==ta(i)||ca(l))&&(r=Za(i)),la(i))){const e=La(i);c=$a(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}const v=!l||h||o?$t(0):Ea(l,r);return{width:a.width*c.x,height:a.height*c.y,x:a.x*c.x-r.scrollLeft*c.x+d.x+v.x,y:a.y*c.y-r.scrollTop*c.y+d.y+v.y}},getDocumentElement:ia,getClippingRect:function(e){let{element:t,boundary:a,rootBoundary:i,strategy:n}=e;const o=[..."clippingAncestors"===a?pa(t)?[]:function(e,t){const a=t.get(e);if(a)return a;let i=_a(e,[],!1).filter(e=>oa(e)&&"body"!==ta(e)),n=null;const o="fixed"===ya(e).position;let l=o?Ca(e):e;for(;oa(l)&&!xa(l);){const t=ya(l),a=fa(l);a||"fixed"!==t.position||(n=null),(o?!a&&!n:!a&&"static"===t.position&&n&&Pa.has(n.position)||ca(l)&&!a&&Ta(e,l))?i=i.filter(e=>e!==l):n=t,l=Ca(l)}return t.set(e,i),i}(t,this._c):[].concat(a),i],l=o[0],s=o.reduce((e,a)=>{const i=Ra(t,a,n);return e.top=Vt(i.top,e.top),e.right=_t(i.right,e.right),e.bottom=_t(i.bottom,e.bottom),e.left=Vt(i.left,e.left),e},Ra(t,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ia,getElementRects:async function(e){const t=this.getOffsetParent||Ia,a=this.getDimensions,i=await a(e.floating);return{reference:Oa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:a}=Ha(e);return{width:t,height:a}},getScale:$a,isElement:oa,isRTL:function(e){return"rtl"===ya(e).direction}};function Ua(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wa(e,t,a,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:r=!1}=i,c=ka(e),d=n||o?[...c?_a(c):[],..._a(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",a,{passive:!0}),o&&e.addEventListener("resize",a)});const h=c&&s?function(e,t){let a,i=null;const n=ia(e);function o(){var e;clearTimeout(a),null==(e=i)||e.disconnect(),i=null}return function l(s,r){void 0===s&&(s=!1),void 0===r&&(r=1),o();const c=e.getBoundingClientRect(),{left:d,top:h,width:v,height:p}=c;if(s||t(),!v||!p)return;const g={rootMargin:-kt(h)+"px "+-kt(n.clientWidth-(d+v))+"px "+-kt(n.clientHeight-(h+p))+"px "+-kt(d)+"px",threshold:Vt(0,_t(1,r))||1};let u=!0;function w(t){const i=t[0].intersectionRatio;if(i!==r){if(!u)return l();i?l(!1,i):a=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==i||Ua(c,e.getBoundingClientRect())||l(),u=!1}try{i=new IntersectionObserver(w,{...g,root:n.ownerDocument})}catch(e){i=new IntersectionObserver(w,g)}i.observe(e)}(!0),o}(c,a):null;let v,p=-1,g=null;l&&(g=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),a()}),c&&!r&&g.observe(c),g.observe(t));let u=r?La(e):null;return r&&function t(){const i=La(e);u&&!Ua(u,i)&&a();u=i,v=requestAnimationFrame(t)}(),a(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",a),o&&e.removeEventListener("resize",a)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,r&&cancelAnimationFrame(v)}}const qa=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var a,i;const{x:n,y:o,placement:l,middlewareData:s}=t,r=await async function(e,t){const{placement:a,platform:i,elements:n}=e,o=await(null==i.isRTL?void 0:i.isRTL(n.floating)),l=Et(a),s=Pt(a),r="y"===zt(a),c=Qt.has(l)?-1:1,d=o&&r?-1:1,h=At(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof g&&(p="end"===s?-1*g:g),r?{x:p*d,y:v*c}:{x:v*c,y:p*d}}(t,e);return l===(null==(a=s.offset)?void 0:a.placement)&&null!=(i=s.arrow)&&i.alignmentOffset?{}:{x:n+r.x,y:o+r.y,data:{...r,placement:l}}}}},ja=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:a}=e;return{x:t,y:a}}},...r}=At(e,t),c={x:a,y:i},d=await Gt(t,r),h=zt(Et(n)),v=Rt(h);let p=c[v],g=c[h];if(o){const e="y"===v?"bottom":"right";p=Lt(p+d["y"===v?"top":"left"],p,p-d[e])}if(l){const e="y"===h?"bottom":"right";g=Lt(g+d["y"===h?"top":"left"],g,g-d[e])}const u=s.fn({...t,[v]:p,[h]:g});return{...u,data:{x:u.x-a,y:u.y-i,enabled:{[v]:o,[h]:l}}}}}},Fa=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var a,i;const{placement:n,middlewareData:o,rects:l,initialPlacement:s,platform:r,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:u=!0,...w}=At(e,t);if(null!=(a=o.arrow)&&a.alignmentOffset)return{};const f=Et(n),m=zt(s),b=Et(s)===s,x=await(null==r.isRTL?void 0:r.isRTL(c.floating)),y=v||(b||!u?[Kt(s)]:function(e){const t=Kt(e);return[Dt(e),t,Dt(t)]}(s)),Z="none"!==g;!v&&Z&&y.push(...Ft(s,u,g,x));const C=[s,...y],M=await Gt(t,w),_=[];let V=(null==(i=o.flip)?void 0:i.overflows)||[];if(d&&_.push(M[f]),h){const e=It(n,l,x);_.push(M[e[0]],M[e[1]])}if(V=[...V,{placement:n,overflows:_}],!_.every(e=>e<=0)){var H,k;const e=((null==(H=o.flip)?void 0:H.index)||0)+1,t=C[e];if(t){if(!("alignment"===h&&m!==zt(t))||V.every(e=>zt(e.placement)!==m||e.overflows[0]>0))return{data:{index:e,overflows:V},reset:{placement:t}}}let a=null==(k=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:k.placement;if(!a)switch(p){case"bestFit":{var $;const e=null==($=V.filter(e=>{if(Z){const t=zt(e.placement);return t===m||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:$[0];e&&(a=e);break}case"initialPlacement":a=s}if(n!==a)return{reset:{placement:a}}}return{}}}},Ka=(e,t,a)=>{const i=new Map,n={platform:Da,...a},o={...n.platform,_c:i};return(async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:l}=a,s=o.filter(Boolean),r=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=Yt(c,i,r),v=i,p={},g=0;for(let a=0;a<s.length;a++){const{name:o,fn:u}=s[a],{x:w,y:f,data:m,reset:b}=await u({x:d,y:h,initialPlacement:i,placement:v,strategy:n,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});d=null!=w?w:d,h=null!=f?f:h,p={...p,[o]:{...p[o],...m}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(v=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:n}):b.rects),({x:d,y:h}=Yt(c,v,r))),a=-1)}return{x:d,y:h,placement:v,strategy:n,middlewareData:p}})(e,t,{...n,platform:o})};var Ja=p`.dropdown{display:flex;height:inherit;position:relative}`,Xa=p`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ya=p`:host([expand=always]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media (min-width:512px){:host([expand=sm]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:768px){:host([expand=md]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1024px){:host(:not([expand])) .nav-link,:host([expand=lg]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1280px){:host([expand=xl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1440px){:host([expand=xxl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}.nav-link{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}@media screen and (max-width:767px){.nav-link{padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.nav-link.show,.nav-link:not(.disabled).active{border-color:var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):hover{color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link.disabled{cursor:not-allowed;opacity:var(--sgds-opacity-50)}.dropdown-items{background-color:var(--sgds-surface-default);height:100%;left:100%;padding:var(--sgds-padding-md) 0;position:absolute;top:0;width:100%}.dropdown-items a{align-items:center;color:var(--sgds-color-default);cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}.dropdown-items a:hover{color:var(--sgds-primary-color-default)}.dropdown-items a:focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:-5px}slot[name=toggler]::slotted(*){flex:1}sgds-dropdown{height:100%}`
2157
+ `}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Mt.styles=[...qe.styles,Zt],Mt.dependencies={"sgds-icon-button":bt},e([l({context:xt}),Ee()],Mt.prototype,"_breakpointReached",void 0),e([l({context:yt}),Ee()],Mt.prototype,"expanded",void 0),e([Ee()],Mt.prototype,"expanding",void 0),e([Te("nav")],Mt.prototype,"nav",void 0),e([Te(".navbar")],Mt.prototype,"navbar",void 0),e([Te(".navbar-toggler")],Mt.prototype,"header",void 0),e([Te(".navbar-body")],Mt.prototype,"body",void 0),e([Te(".navbar-nav-scroll")],Mt.prototype,"navScroll",void 0),e([Te("slot[name='non-collapsible']")],Mt.prototype,"nonCollapsibleSlot",void 0),e([Ae({type:String})],Mt.prototype,"brandHref",void 0),e([Ae({type:String})],Mt.prototype,"expand",void 0),e([Ae({type:Boolean,reflect:!0})],Mt.prototype,"fluid",void 0),e([Ee()],Mt.prototype,"breakpointReached",void 0),e([Oe()],Mt.prototype,"defaultNodes",void 0),e([Oe({slot:"end"})],Mt.prototype,"endNodes",void 0),e([at("expanding",{waitUntilFirstUpdate:!0})],Mt.prototype,"handleOpenChange",null),Qe("mainnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),Qe("mainnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});const _t=Math.min,Vt=Math.max,Ht=Math.round,kt=Math.floor,$t=e=>({x:e,y:e}),St={left:"right",right:"left",bottom:"top",top:"bottom"},Bt={start:"end",end:"start"};function Lt(e,t,a){return Vt(e,_t(t,a))}function At(e,t){return"function"==typeof e?e(t):e}function Et(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function Rt(e){return"x"===e?"y":"x"}function Tt(e){return"y"===e?"height":"width"}const Ot=new Set(["top","bottom"]);function zt(e){return Ot.has(Et(e))?"y":"x"}function Nt(e){return Rt(zt(e))}function It(e,t,a){void 0===a&&(a=!1);const i=Pt(e),n=Nt(e),o=Tt(n);let l="x"===n?i===(a?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Kt(l)),[l,Kt(l)]}function Dt(e){return e.replace(/start|end/g,e=>Bt[e])}const Ut=["left","right"],Wt=["right","left"],qt=["top","bottom"],jt=["bottom","top"];function Ft(e,t,a,i){const n=Pt(e);let o=function(e,t,a){switch(e){case"top":case"bottom":return a?t?Wt:Ut:t?Ut:Wt;case"left":case"right":return t?qt:jt;default:return[]}}(Et(e),"start"===a,i);return n&&(o=o.map(e=>e+"-"+n),t&&(o=o.concat(o.map(Dt)))),o}function Kt(e){return e.replace(/left|right|bottom|top/g,e=>St[e])}function Jt(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Xt(e){const{x:t,y:a,width:i,height:n}=e;return{width:i,height:n,top:a,left:t,right:t+i,bottom:a+n,x:t,y:a}}function Yt(e,t,a){let{reference:i,floating:n}=e;const o=zt(t),l=Nt(t),s=Tt(l),r=Et(t),c="y"===o,d=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2,v=i[s]/2-n[s]/2;let p;switch(r){case"top":p={x:d,y:i.y-n.height};break;case"bottom":p={x:d,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-n.width,y:h};break;default:p={x:i.x,y:i.y}}switch(Pt(t)){case"start":p[l]-=v*(a&&c?-1:1);break;case"end":p[l]+=v*(a&&c?-1:1)}return p}async function Gt(e,t){var a;void 0===t&&(t={});const{x:i,y:n,platform:o,rects:l,elements:s,strategy:r}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:v=!1,padding:p=0}=At(t,e),g=Jt(p),u=s[v?"floating"===h?"reference":"floating":h],w=Xt(await o.getClippingRect({element:null==(a=await(null==o.isElement?void 0:o.isElement(u)))||a?u:u.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:r})),f="floating"===h?{x:i,y:n,width:l.floating.width,height:l.floating.height}:l.reference,m=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await(null==o.isElement?void 0:o.isElement(m))&&await(null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},x=Xt(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:f,offsetParent:m,strategy:r}):f);return{top:(w.top-x.top+g.top)/b.y,bottom:(x.bottom-w.bottom+g.bottom)/b.y,left:(w.left-x.left+g.left)/b.x,right:(x.right-w.right+g.right)/b.x}}const Qt=new Set(["left","top"]);function ea(){return"undefined"!=typeof window}function ta(e){return na(e)?(e.nodeName||"").toLowerCase():"#document"}function aa(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ia(e){var t;return null==(t=(na(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function na(e){return!!ea()&&(e instanceof Node||e instanceof aa(e).Node)}function oa(e){return!!ea()&&(e instanceof Element||e instanceof aa(e).Element)}function la(e){return!!ea()&&(e instanceof HTMLElement||e instanceof aa(e).HTMLElement)}function sa(e){return!(!ea()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof aa(e).ShadowRoot)}const ra=new Set(["inline","contents"]);function ca(e){const{overflow:t,overflowX:a,overflowY:i,display:n}=ya(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+a)&&!ra.has(n)}const da=new Set(["table","td","th"]);function ha(e){return da.has(ta(e))}const va=[":popover-open",":modal"];function pa(e){return va.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const ga=["transform","translate","scale","rotate","perspective"],ua=["transform","translate","scale","rotate","perspective","filter"],wa=["paint","layout","strict","content"];function fa(e){const t=ma(),a=oa(e)?ya(e):e;return ga.some(e=>!!a[e]&&"none"!==a[e])||!!a.containerType&&"normal"!==a.containerType||!t&&!!a.backdropFilter&&"none"!==a.backdropFilter||!t&&!!a.filter&&"none"!==a.filter||ua.some(e=>(a.willChange||"").includes(e))||wa.some(e=>(a.contain||"").includes(e))}function ma(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const ba=new Set(["html","body","#document"]);function xa(e){return ba.has(ta(e))}function ya(e){return aa(e).getComputedStyle(e)}function Za(e){return oa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ca(e){if("html"===ta(e))return e;const t=e.assignedSlot||e.parentNode||sa(e)&&e.host||ia(e);return sa(t)?t.host:t}function Ma(e){const t=Ca(e);return xa(t)?e.ownerDocument?e.ownerDocument.body:e.body:la(t)&&ca(t)?t:Ma(t)}function _a(e,t,a){var i;void 0===t&&(t=[]),void 0===a&&(a=!0);const n=Ma(e),o=n===(null==(i=e.ownerDocument)?void 0:i.body),l=aa(n);if(o){const e=Va(l);return t.concat(l,l.visualViewport||[],ca(n)?n:[],e&&a?_a(e):[])}return t.concat(n,_a(n,[],a))}function Va(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ha(e){const t=ya(e);let a=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const n=la(e),o=n?e.offsetWidth:a,l=n?e.offsetHeight:i,s=Ht(a)!==o||Ht(i)!==l;return s&&(a=o,i=l),{width:a,height:i,$:s}}function ka(e){return oa(e)?e:e.contextElement}function $a(e){const t=ka(e);if(!la(t))return $t(1);const a=t.getBoundingClientRect(),{width:i,height:n,$:o}=Ha(t);let l=(o?Ht(a.width):a.width)/i,s=(o?Ht(a.height):a.height)/n;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const Sa=$t(0);function Ba(e){const t=aa(e);return ma()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Sa}function La(e,t,a,i){void 0===t&&(t=!1),void 0===a&&(a=!1);const n=e.getBoundingClientRect(),o=ka(e);let l=$t(1);t&&(i?oa(i)&&(l=$a(i)):l=$a(e));const s=function(e,t,a){return void 0===t&&(t=!1),!(!a||t&&a!==aa(e))&&t}(o,a,i)?Ba(o):$t(0);let r=(n.left+s.x)/l.x,c=(n.top+s.y)/l.y,d=n.width/l.x,h=n.height/l.y;if(o){const e=aa(o),t=i&&oa(i)?aa(i):i;let a=e,n=Va(a);for(;n&&i&&t!==a;){const e=$a(n),t=n.getBoundingClientRect(),i=ya(n),o=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,l=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;r*=e.x,c*=e.y,d*=e.x,h*=e.y,r+=o,c+=l,a=aa(n),n=Va(a)}}return Xt({width:d,height:h,x:r,y:c})}function Aa(e,t){const a=Za(e).scrollLeft;return t?t.left+a:La(ia(e)).left+a}function Ea(e,t){const a=e.getBoundingClientRect();return{x:a.left+t.scrollLeft-Aa(e,a),y:a.top+t.scrollTop}}const Pa=new Set(["absolute","fixed"]);function Ra(e,t,a){let i;if("viewport"===t)i=function(e,t){const a=aa(e),i=ia(e),n=a.visualViewport;let o=i.clientWidth,l=i.clientHeight,s=0,r=0;if(n){o=n.width,l=n.height;const e=ma();(!e||e&&"fixed"===t)&&(s=n.offsetLeft,r=n.offsetTop)}const c=Aa(i);if(c<=0){const e=i.ownerDocument,t=e.body,a=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(a.marginLeft)+parseFloat(a.marginRight)||0,l=Math.abs(i.clientWidth-t.clientWidth-n);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:s,y:r}}(e,a);else if("document"===t)i=function(e){const t=ia(e),a=Za(e),i=e.ownerDocument.body,n=Vt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Vt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let l=-a.scrollLeft+Aa(e);const s=-a.scrollTop;return"rtl"===ya(i).direction&&(l+=Vt(t.clientWidth,i.clientWidth)-n),{width:n,height:o,x:l,y:s}}(ia(e));else if(oa(t))i=function(e,t){const a=La(e,!0,"fixed"===t),i=a.top+e.clientTop,n=a.left+e.clientLeft,o=la(e)?$a(e):$t(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:n*o.x,y:i*o.y}}(t,a);else{const a=Ba(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Xt(i)}function Ta(e,t){const a=Ca(e);return!(a===t||!oa(a)||xa(a))&&("fixed"===ya(a).position||Ta(a,t))}function Oa(e,t,a){const i=la(t),n=ia(t),o="fixed"===a,l=La(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const r=$t(0);function c(){r.x=Aa(n)}if(i||!i&&!o)if(("body"!==ta(t)||ca(n))&&(s=Za(t)),i){const e=La(t,!0,o,t);r.x=e.x+t.clientLeft,r.y=e.y+t.clientTop}else n&&c();o&&!i&&n&&c();const d=!n||i||o?$t(0):Ea(n,s);return{x:l.left+s.scrollLeft-r.x-d.x,y:l.top+s.scrollTop-r.y-d.y,width:l.width,height:l.height}}function za(e){return"static"===ya(e).position}function Na(e,t){if(!la(e)||"fixed"===ya(e).position)return null;if(t)return t(e);let a=e.offsetParent;return ia(e)===a&&(a=a.ownerDocument.body),a}function Ia(e,t){const a=aa(e);if(pa(e))return a;if(!la(e)){let t=Ca(e);for(;t&&!xa(t);){if(oa(t)&&!za(t))return t;t=Ca(t)}return a}let i=Na(e,t);for(;i&&ha(i)&&za(i);)i=Na(i,t);return i&&xa(i)&&za(i)&&!fa(i)?a:i||function(e){let t=Ca(e);for(;la(t)&&!xa(t);){if(fa(t))return t;if(pa(t))return null;t=Ca(t)}return null}(e)||a}const Da={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:a,offsetParent:i,strategy:n}=e;const o="fixed"===n,l=ia(i),s=!!t&&pa(t.floating);if(i===l||s&&o)return a;let r={scrollLeft:0,scrollTop:0},c=$t(1);const d=$t(0),h=la(i);if((h||!h&&!o)&&(("body"!==ta(i)||ca(l))&&(r=Za(i)),la(i))){const e=La(i);c=$a(i),d.x=e.x+i.clientLeft,d.y=e.y+i.clientTop}const v=!l||h||o?$t(0):Ea(l,r);return{width:a.width*c.x,height:a.height*c.y,x:a.x*c.x-r.scrollLeft*c.x+d.x+v.x,y:a.y*c.y-r.scrollTop*c.y+d.y+v.y}},getDocumentElement:ia,getClippingRect:function(e){let{element:t,boundary:a,rootBoundary:i,strategy:n}=e;const o=[..."clippingAncestors"===a?pa(t)?[]:function(e,t){const a=t.get(e);if(a)return a;let i=_a(e,[],!1).filter(e=>oa(e)&&"body"!==ta(e)),n=null;const o="fixed"===ya(e).position;let l=o?Ca(e):e;for(;oa(l)&&!xa(l);){const t=ya(l),a=fa(l);a||"fixed"!==t.position||(n=null),(o?!a&&!n:!a&&"static"===t.position&&n&&Pa.has(n.position)||ca(l)&&!a&&Ta(e,l))?i=i.filter(e=>e!==l):n=t,l=Ca(l)}return t.set(e,i),i}(t,this._c):[].concat(a),i],l=o[0],s=o.reduce((e,a)=>{const i=Ra(t,a,n);return e.top=Vt(i.top,e.top),e.right=_t(i.right,e.right),e.bottom=_t(i.bottom,e.bottom),e.left=Vt(i.left,e.left),e},Ra(t,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ia,getElementRects:async function(e){const t=this.getOffsetParent||Ia,a=this.getDimensions,i=await a(e.floating);return{reference:Oa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:a}=Ha(e);return{width:t,height:a}},getScale:$a,isElement:oa,isRTL:function(e){return"rtl"===ya(e).direction}};function Ua(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wa(e,t,a,i){void 0===i&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:r=!1}=i,c=ka(e),d=n||o?[...c?_a(c):[],..._a(t)]:[];d.forEach(e=>{n&&e.addEventListener("scroll",a,{passive:!0}),o&&e.addEventListener("resize",a)});const h=c&&s?function(e,t){let a,i=null;const n=ia(e);function o(){var e;clearTimeout(a),null==(e=i)||e.disconnect(),i=null}return function l(s,r){void 0===s&&(s=!1),void 0===r&&(r=1),o();const c=e.getBoundingClientRect(),{left:d,top:h,width:v,height:p}=c;if(s||t(),!v||!p)return;const g={rootMargin:-kt(h)+"px "+-kt(n.clientWidth-(d+v))+"px "+-kt(n.clientHeight-(h+p))+"px "+-kt(d)+"px",threshold:Vt(0,_t(1,r))||1};let u=!0;function w(t){const i=t[0].intersectionRatio;if(i!==r){if(!u)return l();i?l(!1,i):a=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==i||Ua(c,e.getBoundingClientRect())||l(),u=!1}try{i=new IntersectionObserver(w,{...g,root:n.ownerDocument})}catch(e){i=new IntersectionObserver(w,g)}i.observe(e)}(!0),o}(c,a):null;let v,p=-1,g=null;l&&(g=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),a()}),c&&!r&&g.observe(c),g.observe(t));let u=r?La(e):null;return r&&function t(){const i=La(e);u&&!Ua(u,i)&&a();u=i,v=requestAnimationFrame(t)}(),a(),()=>{var e;d.forEach(e=>{n&&e.removeEventListener("scroll",a),o&&e.removeEventListener("resize",a)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,r&&cancelAnimationFrame(v)}}const qa=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var a,i;const{x:n,y:o,placement:l,middlewareData:s}=t,r=await async function(e,t){const{placement:a,platform:i,elements:n}=e,o=await(null==i.isRTL?void 0:i.isRTL(n.floating)),l=Et(a),s=Pt(a),r="y"===zt(a),c=Qt.has(l)?-1:1,d=o&&r?-1:1,h=At(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof g&&(p="end"===s?-1*g:g),r?{x:p*d,y:v*c}:{x:v*c,y:p*d}}(t,e);return l===(null==(a=s.offset)?void 0:a.placement)&&null!=(i=s.arrow)&&i.alignmentOffset?{}:{x:n+r.x,y:o+r.y,data:{...r,placement:l}}}}},ja=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:i,placement:n}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:a}=e;return{x:t,y:a}}},...r}=At(e,t),c={x:a,y:i},d=await Gt(t,r),h=zt(Et(n)),v=Rt(h);let p=c[v],g=c[h];if(o){const e="y"===v?"bottom":"right";p=Lt(p+d["y"===v?"top":"left"],p,p-d[e])}if(l){const e="y"===h?"bottom":"right";g=Lt(g+d["y"===h?"top":"left"],g,g-d[e])}const u=s.fn({...t,[v]:p,[h]:g});return{...u,data:{x:u.x-a,y:u.y-i,enabled:{[v]:o,[h]:l}}}}}},Fa=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var a,i;const{placement:n,middlewareData:o,rects:l,initialPlacement:s,platform:r,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:u=!0,...w}=At(e,t);if(null!=(a=o.arrow)&&a.alignmentOffset)return{};const f=Et(n),m=zt(s),b=Et(s)===s,x=await(null==r.isRTL?void 0:r.isRTL(c.floating)),y=v||(b||!u?[Kt(s)]:function(e){const t=Kt(e);return[Dt(e),t,Dt(t)]}(s)),Z="none"!==g;!v&&Z&&y.push(...Ft(s,u,g,x));const C=[s,...y],M=await Gt(t,w),_=[];let V=(null==(i=o.flip)?void 0:i.overflows)||[];if(d&&_.push(M[f]),h){const e=It(n,l,x);_.push(M[e[0]],M[e[1]])}if(V=[...V,{placement:n,overflows:_}],!_.every(e=>e<=0)){var H,k;const e=((null==(H=o.flip)?void 0:H.index)||0)+1,t=C[e];if(t){if(!("alignment"===h&&m!==zt(t))||V.every(e=>zt(e.placement)!==m||e.overflows[0]>0))return{data:{index:e,overflows:V},reset:{placement:t}}}let a=null==(k=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:k.placement;if(!a)switch(p){case"bestFit":{var $;const e=null==($=V.filter(e=>{if(Z){const t=zt(e.placement);return t===m||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:$[0];e&&(a=e);break}case"initialPlacement":a=s}if(n!==a)return{reset:{placement:a}}}return{}}}},Ka=(e,t,a)=>{const i=new Map,n={platform:Da,...a},o={...n.platform,_c:i};return(async(e,t,a)=>{const{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:l}=a,s=o.filter(Boolean),r=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:n}),{x:d,y:h}=Yt(c,i,r),v=i,p={},g=0;for(let a=0;a<s.length;a++){const{name:o,fn:u}=s[a],{x:w,y:f,data:m,reset:b}=await u({x:d,y:h,initialPlacement:i,placement:v,strategy:n,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});d=null!=w?w:d,h=null!=f?f:h,p={...p,[o]:{...p[o],...m}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(v=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:n}):b.rects),({x:d,y:h}=Yt(c,v,r))),a=-1)}return{x:d,y:h,placement:v,strategy:n,middlewareData:p}})(e,t,{...n,platform:o})};var Ja=p`.dropdown{display:flex;height:inherit;position:relative}`,Xa=p`:host([menuisopen]) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:1050}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ya=p`:host([expand=always]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media (min-width:512px){:host([expand=sm]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:768px){:host([expand=md]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1024px){:host(:not([expand])) .nav-link,:host([expand=lg]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1280px){:host([expand=xl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1440px){:host([expand=xxl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}.nav-link{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}@media screen and (max-width:767px){.nav-link{padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}}.nav-link.show,.nav-link:not(.disabled).active{border-color:var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):hover{color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link.disabled{cursor:not-allowed;opacity:var(--sgds-opacity-50)}.dropdown-items{background-color:var(--sgds-surface-default);height:100%;left:100%;padding:var(--sgds-padding-md) 0;position:absolute;top:0;width:100%}.dropdown-items a{align-items:center;color:var(--sgds-color-default);cursor:pointer;display:flex;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x);text-decoration:none}.dropdown-items a:hover{color:var(--sgds-primary-color-default)}.dropdown-items a:focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:-5px}slot[name=toggler]::slotted(*){flex:1}sgds-dropdown{height:100%}`
2158
2158
  /**
2159
2159
  * @license
2160
2160
  * Copyright 2020 Google LLC