@fluid-topics/ft-copy-block 1.1.44 → 1.1.46

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.
@@ -28,7 +28,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,I="?"+E,$=`<${I}>`,R=document,k=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,P=/"/g,M=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),K=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=F;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===F?"!--"===l[1]?a=B:void 0!==l[1]?a=A:void 0!==l[2]?(M.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=j):void 0!==l[3]&&(a=j):a===j?">"===l[0]?(a=i??F,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?j:'"'===l[3]?P:_):a===P||a===_?a=j:a===B||a===A?a=F:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===F?e+$:c>=0?(r.push(s),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(M.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),l.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===I)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=R.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===K)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Y(t,i._$AS(t,o.values),i,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??R).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new X(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new rt(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(k()),this.k(k()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[e+a],o,a),s===K&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===D?t=D:t!==D&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===K)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:N,P:E,A:I,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
31
+ const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,I=`<${$}>`,R=document,k=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,P=/"/g,M=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),K=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===B?"!--"===l[1]?a=F:void 0!==l[1]?a=A:void 0!==l[2]?(M.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=j):void 0!==l[3]&&(a=j):a===j?">"===l[0]?(a=i??B,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?j:'"'===l[3]?P:_):a===P||a===_?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+I:c>=0?(r.push(s),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(M.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),l.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===$)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=R.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===K)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Y(t,i._$AS(t,o.values),i,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??R).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new X(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new rt(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(k()),this.k(k()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[e+a],o,a),s===K&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===D?t=D:t!==D&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===K)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:N,P:E,A:$,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2019 Google LLC
@@ -39,18 +39,18 @@ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeS
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},It=(t,o)=>!yt(t,o),$t={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??It)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$t=(t,o)=>!yt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??$t)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+zt,Bt=`<${Ft}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Mt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Kt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===Kt?"!--"===l[1]?a=Dt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Kt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Kt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Kt?e+Bt:c>=0?(r.push(s),e.slice(0,c)+Wt+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=io(t,o);if(this.el=no.createElement(l,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),s.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Ft)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)s.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=_t(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ao(t,i._$AS(t,o.values),i,r)),o}let so=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new uo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),_t(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new so(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(jt()),this.k(jt()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ao(this,r[e+a],o,a),s===Qt&&(s=this._$AH[a]),n||=!_t(s)||s!==this._$AH[a],s===to?t=to:t!==to&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const yo={j:Wt,P:zt,A:Ft,C:1,M:io,L:so,R:Mt,V:ao,D:lo,I:co,H:po,N:ho,U:fo,B:uo},go=kt.litHtmlPolyfillSupport;go?.(no,lo),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i
48
+ const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Mt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Kt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===Kt?"!--"===l[1]?a=Dt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Kt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Kt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Kt?e+Ft:c>=0?(r.push(s),e.slice(0,c)+Wt+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=io(t,o);if(this.el=no.createElement(l,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),s.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)s.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=_t(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ao(t,i._$AS(t,o.values),i,r)),o}let so=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new uo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),_t(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new so(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(jt()),this.k(jt()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ao(this,r[e+a],o,a),s===Qt&&(s=this._$AH[a]),n||=!_t(s)||s!==this._$AH[a],s===to?t=to:t!==to&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const yo={j:Wt,P:zt,A:Bt,C:1,M:io,L:so,R:Mt,V:ao,D:lo,I:co,H:po,N:ho,U:fo,B:uo},go=kt.litHtmlPolyfillSupport;go?.(no,lo),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let mo=class extends Rt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Rt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:It,nothing:to,render:bo,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
53
+ */};let mo=class extends Rt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Rt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:to,render:bo,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
@@ -80,18 +80,18 @@ const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createH
80
80
  * @license
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
- */;function Io(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Eo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Eo(0,0,{get(){return n(this)}})}}
83
+ */;function $o(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Eo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Eo(0,0,{get(){return n(this)}})}}
84
84
  /**
85
85
  * @license
86
86
  * Copyright 2017 Google LLC
87
87
  * SPDX-License-Identifier: BSD-3-Clause
88
- */let $o;
88
+ */let Io;
89
89
  /**
90
90
  * @license
91
91
  * Copyright 2017 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
93
  */
94
- function Ro(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var ko=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:Io,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??($o??=document.createDocumentFragment())).querySelectorAll(t)}})
94
+ function Ro(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var ko=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Io??=document.createDocumentFragment())).querySelectorAll(t)}})
95
95
  /**
96
96
  * @license
97
97
  * Copyright 2017 Google LLC
@@ -112,7 +112,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
112
112
  * @license
113
113
  * Copyright 2020 Google LLC
114
114
  * SPDX-License-Identifier: BSD-3-Clause
115
- */const{D:Fo}=it,Bo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Bo(),i),n=r.insertBefore(Bo(),i);e=new Fo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},jo=(t,o,e=t)=>(t._$AI(o,e),t),_o={},Po=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Mo=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Zo=Wo(class extends zo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(s[p]===a[h])l[h]=jo(i[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=jo(i[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=jo(i[p],n[u]),Ao(t,l[u+1],i[p]),p++,u--;else if(s[d]===a[h])l[h]=jo(i[d],n[h]),Ao(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Mo(a,h,u),f=Mo(s,p,d)),c.has(s[p]))if(c.has(s[d])){const o=f.get(a[h]),e=void 0!==o?i[o]:null;if(null===e){const o=Ao(t,i[p]);jo(o,n[h]),l[h]=o}else l[h]=jo(e,n[h]),Ao(t,i[p],e),i[o]=null;h++}else Po(i[d]),d--;else Po(i[p]),p++;for(;h<=u;){const o=Ao(t,l[u+1]);jo(o,n[h]),l[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&Po(t)}return this.dt=a,((t,o=_o)=>{t._$AH=o})(t,l),K}});
115
+ */const{D:Bo}=it,Fo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Fo(),i),n=r.insertBefore(Fo(),i);e=new Bo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},jo=(t,o,e=t)=>(t._$AI(o,e),t),_o={},Po=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Mo=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Zo=Wo(class extends zo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(s[p]===a[h])l[h]=jo(i[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=jo(i[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=jo(i[p],n[u]),Ao(t,l[u+1],i[p]),p++,u--;else if(s[d]===a[h])l[h]=jo(i[d],n[h]),Ao(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Mo(a,h,u),f=Mo(s,p,d)),c.has(s[p]))if(c.has(s[d])){const o=f.get(a[h]),e=void 0!==o?i[o]:null;if(null===e){const o=Ao(t,i[p]);jo(o,n[h]),l[h]=o}else l[h]=jo(e,n[h]),Ao(t,i[p],e),i[o]=null;h++}else Po(i[d]),d--;else Po(i[p]),p++;for(;h<=u;){const o=Ao(t,l[u+1]);jo(o,n[h]),l[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&Po(t)}return this.dt=a,((t,o=_o)=>{t._$AH=o})(t,l),K}});
116
116
  /**
117
117
  * @license
118
118
  * Copyright 2017 Google LLC
@@ -132,12 +132,12 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
132
132
  * @license
133
133
  * Copyright 2017 Google LLC
134
134
  * SPDX-License-Identifier: BSD-3-Clause
135
- */let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=Wo(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});class re{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var ie=Object.freeze({__proto__:null,CacheRegistry:re});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let i=this.metadataDescriptors.find((t=>e==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ae=Object.freeze({__proto__:null,ClusteringHelper:ne});class se{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:se});const ce=t=>new Promise((o=>setTimeout(o,t)));async function fe(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ce(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function pe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function de(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!de(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!de(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!de(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?pe(e):e}},deepEqual:de,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:pe,waitFor:fe,waitUntil:async function(t,o=10,e=2e4){await fe((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ye(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!de(t,o),...null!=o?o:{}})}function ge(t){return!isNaN(parseFloat(t))}var be=Object.freeze({__proto__:null,customElement:ue,isNumber:ge,jsonProperty:ye,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ge(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const me=t=>"string"==typeof t?pt(t):t;class ve{static create(t,o,e,r){const i=t=>me(null!=t?t:r),n=dt`var(${me(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${me(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=dt`var(${me(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${me(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):me(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${me(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${me(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xe(t,o){return me(`${t.name}: ${o}`)}const Oe={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ve.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:ve.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:ve.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:ve.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:ve.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:ve.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:ve.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:ve.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:ve.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:ve.create("--ft-underline","","UNKNOWN","underline")},we={fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},Se={fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ce={fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ne={fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ee={fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$e={fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ke={fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:ve.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ve.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ve.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},De={fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},He={fontFamily:ve.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Te={fontFamily:ve.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ge={fontFamily:ve.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ve={display:we,"title-1":Se,"title-2":Ce,"title-3":Ne,"body-1-regular":Ee,"body-1-medium":Ie,"body-1-semibold":$e,"body-2-regular":Re,"body-2-medium":ke,"body-2-medium-underline":Le,"body-2-semibold":Ue,"label-1-medium":We,"label-1-semibold":ze,"label-1-bold":Fe,"label-2-medium":Be,"label-2-semibold":Ae,"label-2-bold":je,"caption-1-medium":_e,"caption-1-semibold":Pe,"caption-1-bold":Me,"caption-2-medium":Ze,"caption-2-semibold":Ke,"caption-2-bold":De,"caption-3-medium":He,"caption-3-semibold":Te,"caption-3-bold":Ge},qe={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oe.colorBrand0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oe.colorRed10),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oe.colorCyan10),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oe.colorOrange10),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oe.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Oe.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oe.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oe.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oe.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oe.colorOrange200),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oe.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oe.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Oe.colorRed70),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oe.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Oe.colorCyan0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oe.colorGreen200),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Oe.colorGreen0),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Oe.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oe.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oe.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oe.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Oe.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oe.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oe.colorOrange200),borderWarningSubtle:ve.extend("--ft-border-warning-subtle","Used as border for warning components.",Oe.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success buttons.",Oe.colorGreen200),borderSuccessSubtle:ve.extend("--ft-border-success-subtle","Used as border for success components.",Oe.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oe.colorRed0),borderErrorSubtle:ve.extend("--ft-border-error-subtle","Used as border for error components.",Oe.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oe.colorCyan200),borderInfoSubtle:ve.extend("--ft-border-info-subtle","Used as border for information components.",Oe.colorCyan30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Oe.colorGray50),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oe.colorGray30),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oe.colorGray80)},Ye={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Oe.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Oe.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Oe.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Oe.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Oe.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Oe.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Oe.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Oe.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",qe.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",qe.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",qe.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",qe.contentGlobalOnColor),primaryHoverStateLayerOpacity:ve.extend("--ft-button-primary-hover-state-layer-opacity","",Oe.opacity16),primaryFocusStateLayerOpacity:ve.extend("--ft-button-primary-focus-state-layer-opacity","",Oe.opacity16),primaryActiveStateLayerOpacity:ve.extend("--ft-button-primary-active-state-layer-opacity","",Oe.opacity24),primaryDisabledComponentOpacity:ve.extend("--ft-button-primary-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",qe.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",qe.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",qe.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",qe.contentActionPrimary),tertiaryHoverStateLayerOpacity:ve.extend("--ft-button-tertiary-hover-state-layer-opacity","",Oe.opacity8),tertiaryFocusStateLayerOpacity:ve.extend("--ft-button-tertiary-focus-state-layer-opacity","",Oe.opacity8),tertiaryActiveStateLayerOpacity:ve.extend("--ft-button-tertiary-active-state-layer-opacity","",Oe.opacity16),tertiaryDisabledComponentOpacity:ve.extend("--ft-button-tertiary-disabled-component-opacity","",Oe.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",qe.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",qe.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",qe.contentActionPrimary),secondaryHoverStateLayerOpacity:ve.extend("--ft-button-secondary-hover-state-layer-opacity","",Oe.opacity8),secondaryFocusStateLayerOpacity:ve.extend("--ft-button-secondary-focus-state-layer-opacity","",Oe.opacity8),secondaryActiveStateLayerOpacity:ve.extend("--ft-button-secondary-active-state-layer-opacity","",Oe.opacity16),secondaryDisabledComponentOpacity:ve.extend("--ft-button-secondary-disabled-component-opacity","",Oe.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",qe.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",qe.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",qe.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",qe.contentGlobalSecondary),neutralHoverStateLayerOpacity:ve.extend("--ft-button-neutral-hover-state-layer-opacity","",Oe.opacity8),neutralFocusStateLayerOpacity:ve.extend("--ft-button-neutral-focus-state-layer-opacity","",Oe.opacity8),neutralActiveStateLayerOpacity:ve.extend("--ft-button-neutral-active-state-layer-opacity","",Oe.opacity16),neutralDisabledComponentOpacity:ve.extend("--ft-button-neutral-disabled-component-opacity","",Oe.opacity40)},Je={iconSize:ve.extend("--ft-banner-icon-size","",Oe.iconSize5),borderWidth:ve.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-banner-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-banner-vertical-padding","",Oe.spacing6),horizontalSideGap:ve.extend("--ft-banner-horizontal-side-gap","",Oe.spacing6),horizontalMobileGap:ve.extend("--ft-banner-horizontal-mobile-gap","",Oe.spacing4),verticalMobileGap:ve.extend("--ft-banner-vertical-mobile-gap","",Oe.spacing6),horizontalMiddleGap:ve.extend("--ft-banner-horizontal-middle-gap","",Oe.spacing20),infoBackgroundColor:ve.extend("--ft-banner-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-banner-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-banner-info-icon-color","",qe.contentInfoIconOnly)},Xe={gap:ve.extend("--ft-breadcrumb-gap","",Oe.spacing1)},Qe={horizontalPadding:ve.extend("--ft-page-header-horizontal-padding","",Oe.spacing12),verticalPadding:ve.extend("--ft-page-header-vertical-padding","",Oe.spacing6)},tr={smallContainerWidth:ve.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ve.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ve.extend("--ft-modal-overlay-background-color","",Oe.colorGray700),overlayOpacity:ve.extend("--ft-modal-overlay-opacity","",Oe.opacity40),shadow:ve.extend("--ft-modal-shadow","",Oe.shadowElevation03),bodyBackgroundColor:ve.extend("--ft-modal-body-background-color","",Oe.colorWhite),bodyColor:ve.extend("--ft-modal-body-color","",qe.contentGlobalPrimary),bodyHorizontalPadding:ve.extend("--ft-modal-body-horizontal-padding","",Oe.spacing6),bodyVerticalPadding:ve.extend("--ft-modal-body-vertical-padding","",Oe.spacing6),bodyVerticalGap:ve.extend("--ft-modal-body-vertical-gap","",Oe.spacing6),containerMargin:ve.extend("--ft-modal-container-margin","",Oe.spacing3),headerBackgroundColor:ve.extend("--ft-modal-header-background-color","",qe.backgroundGlobalOnSurface),headerBorderColor:ve.extend("--ft-modal-header-border-color","",qe.borderGlobalSubtle),headerColor:ve.extend("--ft-modal-header-color","",qe.contentGlobalPrimary),headerTrailingIconColor:ve.extend("--ft-modal-header-trailing-icon-color","",qe.contentGlobalSecondary),headerVerticalPadding:ve.extend("--ft-modal-header-vertical-padding","",Oe.spacing1),headerRightPadding:ve.extend("--ft-modal-header-right-padding","",Oe.spacing1),headerLeftPadding:ve.extend("--ft-modal-header-left-padding","",Oe.spacing6),headerGap:ve.extend("--ft-modal-header-gap","",Oe.spacing2),headerBorderBottom:ve.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ve.extend("--ft-modal-border-radius","",Oe.borderRadiusM)},or={fieldHorizontalPadding:ve.extend("--ft-text-input-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-input-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-input-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-text-input-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-text-input-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-input-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-input-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-input-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-text-input-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-input-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-text-input-trailing-icon-color","",qe.contentGlobalSubtle),labelColor:ve.extend("--ft-text-input-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-input-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-input-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-input-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-input-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-input-error-helper-icon-color","",qe.contentErrorIconOnly),warningBorderWidth:ve.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ve.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-text-input-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-input-disabled-component-opacity","",Oe.opacity40)},er={backgroundColor:ve.extend("--ft-text-area-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-area-content-value-color","",qe.contentGlobalPrimary),labelColor:ve.extend("--ft-text-area-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-area-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-area-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-area-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-area-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-area-error-helper-icon-color","",qe.contentErrorIconOnly),focusFocusRingColor:ve.extend("--ft-text-area-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-area-disabled-component-opacity","",Oe.opacity40),fieldHorizontalLeftPadding:ve.extend("--ft-text-area-field-horizontal-left-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-area-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-area-field-vertical-gap","",Oe.spacing05),fieldMinHeight:ve.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ve.extend("--ft-text-area-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-area-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-area-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-area-border-radius","",Oe.borderRadiusM)},rr={height:ve.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ve.extend("--ft-floating-menu-horizontal-padding","",Oe.spacing4),offIconColor:ve.extend("--ft-floating-menu-off-icon-color","",qe.contentGlobalPrimary),offColor:ve.extend("--ft-floating-menu-off-color","",qe.contentGlobalPrimary),onColor:ve.extend("--ft-floating-menu-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-floating-menu-on-state-layer-color","",qe.contentActionPrimary),gap:ve.extend("--ft-floating-menu-gap","",Oe.spacing3),focusFocusRingColor:ve.extend("--ft-floating-menu-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ve.extend("--ft-floating-menu-focus-state-layer-opacity","",Oe.opacity8),hoverStateLayerOpacity:ve.extend("--ft-floating-menu-hover-state-layer-opacity","",Oe.opacity8),activeStateLayerOpacity:ve.extend("--ft-floating-menu-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-floating-menu-disabled-component-opacity","",Oe.opacity40),iconSize:ve.extend("--ft-floating-menu-icon-size","",Oe.iconSize3),backgroundColor:ve.extend("--ft-floating-menu-background-color","",qe.backgroundGlobalOnSurface)},ir={fieldHorizontalPadding:ve.extend("--ft-combobox-single-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-single-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-single-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-single-select-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-combobox-single-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-single-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-single-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-single-select-helper-icon-size","",Oe.iconSize2),menuVerticalGap:ve.extend("--ft-combobox-single-select-menu-vertical-gap","",Oe.spacing2),borderRadius:ve.extend("--ft-combobox-single-select-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-combobox-single-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-single-select-label-color","",qe.contentGlobalSubtle),contentValueColor:ve.extend("--ft-combobox-single-select-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-combobox-single-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-single-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-single-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-combobox-single-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-single-select-error-helper-text-color","",qe.contentErrorPrimary),warningBorderWidth:ve.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-single-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-single-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-single-select-warning-helper-icon-color","",qe.contentWarningIconOnly),focusOutlineWidth:ve.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-single-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-single-select-disabled-component-opacity","",Oe.opacity40)},nr={backgroundColor:ve.extend("--ft-combobox-multi-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-multi-select-label-color","",qe.contentGlobalSubtle),trailingIconColor:ve.extend("--ft-combobox-multi-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-multi-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-multi-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ve.extend("--ft-combobox-multi-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-multi-select-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIcon:ve.extend("--ft-combobox-multi-select-error-helper-icon","",qe.contentErrorIconOnly),errorBorderWidth:ve.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-multi-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-multi-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-multi-select-warning-helper-icon-color","",qe.contentWarningIconOnly),warningBorderWidth:ve.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-multi-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-multi-select-disabled-component-opacity","",Oe.opacity40),helperHorizontalPadding:ve.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-multi-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-multi-select-helper-icon-size","",Oe.iconSize2),fieldHorizontalPadding:ve.extend("--ft-combobox-multi-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-multi-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-multi-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-multi-select-field-icon-size","",Oe.iconSize3),fieldMaxHeight:ve.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ve.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Oe.spacing1),contentValuesVerticalGap:ve.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Oe.spacing1),borderRadius:ve.extend("--ft-combobox-multi-select-border-radius","",Oe.borderRadiusM)},ar={backgroundColor:ve.extend("--ft-popover-background-color","",qe.backgroundGlobalOnSurface),horizontalPadding:ve.extend("--ft-popover-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-popover-vertical-padding","",Oe.spacing6),iconColor:ve.extend("--ft-popover-icon-color","",qe.contentGlobalSecondary),iconSize:ve.extend("--ft-popover-icon-size","",Oe.iconSize2),titleColor:ve.extend("--ft-popover-title-color","",qe.contentGlobalPrimary),bodyColor:ve.extend("--ft-popover-body-color","",qe.contentGlobalSecondary),linkColor:ve.extend("--ft-popover-link-color","",qe.contentActionPrimary),gap:ve.extend("--ft-popover-gap","",Oe.spacing3),borderRadius:ve.extend("--ft-popover-border-radius","",Oe.borderRadiusM),shadow:ve.extend("--ft-popover-shadow","",Oe.shadowElevation02)},sr={topLeftBorderRadius:ve.extend("--ft-tabs-top-left-border-radius","",Oe.borderRadiusS),topRightBorderRadius:ve.extend("--ft-tabs-top-right-border-radius","",Oe.borderRadiusS),labelHorizontalPadding:ve.extend("--ft-tabs-label-horizontal-padding","",Oe.spacing4),labelVerticalPadding:ve.extend("--ft-tabs-label-vertical-padding","",Oe.spacing3),labelGap:ve.extend("--ft-tabs-label-gap","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-tabs-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-tabs-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-tabs-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-tabs-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-tabs-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-tabs-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-tabs-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-tabs-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-tabs-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-tabs-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-tabs-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-tabs-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-tabs-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-tabs-icon-vertical-padding","",Oe.spacing4),focusOutlineWidth:ve.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-tabs-focus-focus-ring-color","",qe.borderActionFocusRing)},lr={hoverStateLayerOpacity:ve.extend("--ft-collapsible-hover-state-layer-opacity","",Oe.opacity8),focusStateLayerOpacity:ve.extend("--ft-collapsible-focus-state-layer-opacity","",Oe.opacity8),focusOutlineWidth:ve.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ve.extend("--ft-collapsible-focus-focus-ring-color","",qe.borderActionFocusRing),activeStateLayerOpacity:ve.extend("--ft-collapsible-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-collapsible-disabled-component-opacity","",Oe.opacity40),horizontalPadding:ve.extend("--ft-collapsible-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-collapsible-vertical-padding","",Oe.spacing3),color:ve.extend("--ft-collapsible-color","",qe.contentGlobalPrimary),stateLayerColor:ve.extend("--ft-collapsible-state-layer-color","",qe.contentGlobalPrimary),backgroundColor:ve.extend("--ft-collapsible-background-color","",qe.backgroundGlobalOnSurface),borderColor:ve.extend("--ft-collapsible-border-color","",qe.borderGlobalSubtle),iconSize:ve.extend("--ft-collapsible-icon-size","",Oe.iconSize3)},cr={groupHorizontalPadding:ve.extend("--ft-switch-group-horizontal-padding","",Oe.spacing1),groupVerticalPadding:ve.extend("--ft-switch-group-vertical-padding","",Oe.spacing1),groupGap:ve.extend("--ft-switch-group-gap","",Oe.spacing1),groupBackgroundColor:ve.extend("--ft-switch-group-background-color","",qe.backgroundGlobalSurface),groupBorderColor:ve.extend("--ft-switch-group-border-color","",qe.borderGlobalSubtle),groupBorderRadius:ve.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ve.extend("--ft-switch-label-horizontal-padding","",Oe.spacing2),labelVerticalPadding:ve.extend("--ft-switch-label-vertical-padding","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-switch-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-switch-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-switch-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-switch-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-switch-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-switch-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-switch-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-switch-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-switch-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-switch-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-switch-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-switch-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-switch-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-switch-icon-vertical-padding","",Oe.spacing1),focusOutlineWidth:ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-switch-focus-focus-ring-color","",qe.borderActionFocusRing),optionBorderRadius:ve.extend("--ft-switch-option-border-radius","",Oe.borderRadiusS)},fr={color1Light:ve.extend("--ft-chart-1-light","for area color charts",Oe.colorBrand40),color1Base:ve.extend("--ft-chart-1-base","for line charts",Oe.colorBrand0),color2Light:ve.extend("--ft-chart-2-light","for area color charts",Oe.colorYellow60),color2Base:ve.extend("--ft-chart-2-base","for line charts",Oe.colorYellow100),color3Light:ve.extend("--ft-chart-3-light","",Oe.colorUltramarine40),color3Base:ve.extend("--ft-chart-3-base","",Oe.colorUltramarine70),color4Light:ve.extend("--ft-chart-4-light","",Oe.colorCyan50),color4Base:ve.extend("--ft-chart-4-base","",Oe.colorCyan100),color5Light:ve.extend("--ft-chart-5-light","",Oe.colorRed40),color5Base:ve.extend("--ft-chart-5-base","",Oe.colorRed60),color6Light:ve.extend("--ft-chart-6-light","",Oe.colorGreen40),color6Base:ve.extend("--ft-chart-6-base","",Oe.colorGreen70),color7Light:ve.extend("--ft-chart-7-light","",Oe.colorOrange70),color7Base:ve.extend("--ft-chart-7-base","",Oe.colorOrange100),color8Light:ve.extend("--ft-chart-8-light","",Oe.colorAvocado70),color8Base:ve.extend("--ft-chart-8-base","",Oe.colorAvocado200),color9Light:ve.extend("--ft-chart-9-light","",Oe.colorBrown50),color9Base:ve.extend("--ft-chart-9-base","",Oe.colorBrown200),color10Light:ve.extend("--ft-chart-10-light","",Oe.colorGray50),color10Base:ve.extend("--ft-chart-10-base","",Oe.colorGray80),monochrome10:ve.extend("--ft-chart-monochrome-10","",Oe.colorBrand10),monochrome20:ve.extend("--ft-chart-monochrome-20","",Oe.colorBrand20),monochrome30:ve.extend("--ft-chart-monochrome-30","",Oe.colorBrand40),monochrome40:ve.extend("--ft-chart-monochrome-40","",Oe.colorBrand60),monochrome50:ve.extend("--ft-chart-monochrome-50","",Oe.colorBrand0),monochrome60:ve.extend("--ft-chart-monochrome-60","",Oe.colorBrand200)},pr={largeHorizontalPadding:ve.extend("--ft-chip-large-horizontal-padding","",Oe.spacing4),largeVerticalPadding:ve.extend("--ft-chip-large-vertical-padding","",Oe.spacing2),largeGap:ve.extend("--ft-chip-large-gap","",Oe.spacing1),largeFocusOutlineOffset:ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ve.extend("--ft-chip-large-border-radius","",Oe.borderRadiusPill),largeBorderWidth:ve.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ve.extend("--ft-chip-large-icon-size","",Oe.iconSize3),mediumHorizontalPadding:ve.extend("--ft-chip-medium-horizontal-padding","",Oe.spacing3),mediumVerticalPadding:ve.extend("--ft-chip-medium-vertical-padding","",Oe.spacing1),mediumGap:ve.extend("--ft-chip-medium-gap","",Oe.spacing1),mediumFocusOutlineOffset:ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ve.extend("--ft-chip-medium-border-radius","",Oe.borderRadiusPill),mediumBorderWidth:ve.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ve.extend("--ft-chip-medium-icon-size","",Oe.iconSize2),smallHorizontalPadding:ve.extend("--ft-chip-small-horizontal-padding","",Oe.spacing2),smallVerticalPadding:ve.extend("--ft-chip-small-vertical-padding","",Oe.spacing05),smallGap:ve.extend("--ft-chip-small-gap","",Oe.spacing1),smallFocusOutlineOffset:ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ve.extend("--ft-chip-small-border-radius","",Oe.borderRadiusPill),smallBorderWidth:ve.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ve.extend("--ft-chip-small-icon-size","",Oe.iconSize1),neutralBackgroundColor:ve.extend("--ft-chip-neutral-background-color","",qe.backgroundGlobalOnSurface),neutralColor:ve.extend("--ft-chip-neutral-color","",qe.contentGlobalPrimary),neutralIconColor:ve.extend("--ft-chip-neutral-icon-color","",qe.contentGlobalPrimary),neutralBorderColor:ve.extend("--ft-chip-neutral-border-color","",qe.borderGlobalSubtle),infoBackgroundColor:ve.extend("--ft-chip-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-chip-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-chip-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-chip-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-chip-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-chip-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-chip-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-chip-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-chip-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-chip-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-chip-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-chip-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-chip-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-chip-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-chip-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-chip-error-border-color","",qe.borderErrorSubtle)},dr={infoBorderColor:ve.extend("--ft-border-info-border-color","",qe.borderInfoSubtle)},hr={borderWidth:ve.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-notice-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-notice-vertical-padding","",Oe.spacing1),borderRadius:ve.extend("--ft-notice-border-radius","",Oe.borderRadiusS),gap:ve.extend("--ft-notice-gap","",Oe.spacing2),iconSize:ve.extend("--ft-notice-icon-size","",Oe.iconSize3),infoBackgroundColor:ve.extend("--ft-notice-info-background-color","",qe.backgroundInfoSubtle),infoBorderColor:ve.extend("--ft-notice-info-border-color","",qe.borderInfoSubtle),infoColor:ve.extend("--ft-notice-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notice-info-icon-color","",qe.contentInfoIconOnly),warningBackgroundColor:ve.extend("--ft-notice-warning-background-color","",qe.backgroundWarningSubtle),warningBorderColor:ve.extend("--ft-notice-warning-border-color","",qe.borderWarningSubtle),warningColor:ve.extend("--ft-notice-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notice-warning-icon-color","",qe.contentWarningIconOnly)},ur={color:ve.extend("--ft-checkbox-color","",qe.contentGlobalPrimary),checkedBackgroundColor:ve.extend("--ft-checkbox-checked-background-color","",qe.contentActionPrimary),checkedStateLayerColor:ve.extend("--ft-checkbox-checked-state-layer-color","",qe.contentActionPrimary),checkedIconColor:ve.extend("--ft-checkbox-checked-icon-color","",qe.contentGlobalOnColor),checkedHoverStateLayerOpacity:ve.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Oe.opacity16),checkedFocusStateLayerOpacity:ve.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Oe.opacity16),checkedActiveStateLayerOpacity:ve.extend("--ft-checkbox-checked-active-state-layer-opacity","",Oe.opacity24),checkedDisabledComponentOpacity:ve.extend("--ft-checkbox-checked-disabled-component-opacity","",Oe.opacity40),uncheckedBorderColor:ve.extend("--ft-checkbox-unchecked-border-color","",Oe.colorGray80),uncheckedStateLayerColor:ve.extend("--ft-checkbox-unchecked-state-layer-color","",Oe.colorGray80),uncheckedHoverStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Oe.opacity16),uncheckedFocusStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Oe.opacity16),uncheckedActiveStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Oe.opacity24),uncheckedDisabledComponentOpacity:ve.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-checkbox-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-checkbox-gap","",Oe.spacing3)},yr={offHoverStateLayerOpacity:ve.extend("--ft-toggle-off-hover-state-layer-opacity","",Oe.opacity16),offFocusStateLayerOpacity:ve.extend("--ft-toggle-off-focus-state-layer-opacity","",Oe.opacity16),offActiveStateLayerOpacity:ve.extend("--ft-toggle-off-active-state-layer-opacity","",Oe.opacity24),offDisabledComponentOpacity:ve.extend("--ft-toggle-off-disabled-component-opacity","",Oe.opacity40),offBackgroundColor:ve.extend("--ft-toggle-off-background-color","",qe.contentGlobalSubtle),offIconColor:ve.extend("--ft-toggle-off-icon-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-toggle-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-toggle-on-hover-state-layer-opacity","",Oe.opacity16),onFocusStateLayerOpacity:ve.extend("--ft-toggle-on-focus-state-layer-opacity","",Oe.opacity16),onActiveStateLayerOpacity:ve.extend("--ft-toggle-on-active-state-layer-opacity","",Oe.opacity24),onDisabledComponentOpacity:ve.extend("--ft-toggle-on-disabled-component-opacity","",Oe.opacity40),onBackgroundColor:ve.extend("--ft-toggle-on-background-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-toggle-on-state-layer-color","",qe.contentActionPrimary),onIconColor:ve.extend("--ft-toggle-on-icon-color","",qe.contentActionPrimary),color:ve.extend("--ft-toggle-color","",qe.contentGlobalPrimary),focusFocusRingColor:ve.extend("--ft-toggle-focus-focus-ring-color","",qe.borderActionFocusRing),gap:ve.extend("--ft-toggle-gap","",Oe.spacing3)},gr={color:ve.extend("--ft-radio-color","",qe.contentGlobalPrimary),selectedRadioColor:ve.extend("--ft-radio-selected-radio-color","",qe.contentActionPrimary),selectedStateLayerColor:ve.extend("--ft-radio-selected-state-layer-color","",qe.contentActionPrimary),selectedHoverStateLayerOpacity:ve.extend("--ft-radio-selected-hover-state-layer-opacity","",Oe.opacity16),selectedFocusStateLayerOpacity:ve.extend("--ft-radio-selected-focus-state-layer-opacity","",Oe.opacity16),selectedActiveStateLayerOpacity:ve.extend("--ft-radio-selected-active-state-layer-opacity","",Oe.opacity24),selectedDisabledComponentOpacity:ve.extend("--ft-radio-selected-disabled-component-opacity","",Oe.opacity40),unselectedStateLayerColor:ve.extend("--ft-radio-unselected-state-layer-color","",qe.borderInputPrimary),unselectedBorderColor:ve.extend("--ft-radio-unselected-border-color","",qe.borderInputPrimary),unselectedHoverStateLayerOpacity:ve.extend("--ft-radio-unselected-hover-state-layer-opacity","",Oe.opacity16),unselectedFocusStateLayerOpacity:ve.extend("--ft-radio-unselected-focus-state-layer-opacity","",Oe.opacity16),unselectedActiveStateLayerOpacity:ve.extend("--ft-radio-unselected-active-state-layer-opacity","",Oe.opacity24),unselectedDisabledComponentOpacity:ve.extend("--ft-radio-unselected-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-radio-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-radio-gap","",Oe.spacing3)},br={iconSize:ve.extend("--ft-notification-icon-size","",Oe.iconSize4),horizontalPadding:ve.extend("--ft-notification-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-notification-vertical-padding","",Oe.spacing4),infoBackgroundColor:ve.extend("--ft-notification-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-notification-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notification-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-notification-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-notification-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-notification-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-notification-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-notification-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-notification-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-notification-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notification-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-notification-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-notification-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-notification-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-notification-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-notification-error-border-color","",qe.borderErrorSubtle),borderRadius:ve.extend("--ft-notification-border-radius","",Oe.borderRadiusPill),borderWidth:ve.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ve.extend("--ft-notification-leading-gap","",Oe.spacing2),trailingGap:ve.extend("--ft-notification-trailing-gap","",Oe.spacing8)},mr={horizontalPadding:ve.extend("--ft-tooltip-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-tooltip-vertical-padding","",Oe.spacing2),borderRadius:ve.extend("--ft-tooltip-border-radius","",Oe.borderRadiusS),color:ve.extend("--ft-tooltip-color","",qe.contentGlobalOnColor),backgroundColor:ve.extend("--ft-tooltip-background-color","",qe.contentGlobalPrimary),backgroundOpacity:ve.extend("--ft-tooltip-background-opacity","",Oe.opacity80),shadow:ve.extend("--ft-tooltip-shadow","",Oe.shadowElevation03),maxWidth:ve.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ve.extend("--ft-tooltip-gap","",Oe.spacing05)};var vr=Object.freeze({__proto__:null,FtCssVariableFactory:ve,banner:Je,border:dr,breadcrumb:Xe,button:Ye,chart:fr,checkbox:ur,chip:pr,collapsible:lr,comboboxMultiSelect:nr,comboboxSingleSelect:ir,floatingMenu:rr,foundation:Oe,modal:tr,notice:hr,notification:br,pageHeader:Qe,popover:ar,radio:gr,semantic:qe,setVariable:xe,switch_:cr,tabs:sr,textArea:er,textInput:or,toggle:yr,tooltip:mr,typographies:Ve,typographyBody1Medium:Ie,typographyBody1Regular:Ee,typographyBody1Semibold:$e,typographyBody2Medium:ke,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:Ue,typographyCaption1Bold:Me,typographyCaption1Medium:_e,typographyCaption1Semibold:Pe,typographyCaption2Bold:De,typographyCaption2Medium:Ze,typographyCaption2Semibold:Ke,typographyCaption3Bold:Ge,typographyCaption3Medium:He,typographyCaption3Semibold:Te,typographyDisplay:we,typographyLabel1Bold:Fe,typographyLabel1Medium:We,typographyLabel1Semibold:ze,typographyLabel2Bold:je,typographyLabel2Medium:Be,typographyLabel2Semibold:Ae,typographyTitle1:Se,typographyTitle2:Ce,typographyTitle3:Ne,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const xr={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ve.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ve.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ve.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ve.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ve.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ve.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ve.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ve.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ve.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:xr});class wr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Cr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:wr,PostResizeEvent:Cr,PreResizeEvent:Sr});const Er=["start","end"],Ir=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Er[0],o+"-"+Er[1])),[]),$r=Math.min,Rr=Math.max,kr=Math.round,Lr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function zr(t,o,e){return Rr(t,$r(o,e))}function Fr(t,o){return"function"==typeof t?t(o):t}function Br(t){return t.split("-")[0]}function Ar(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Br(t))?"y":"x"}function Mr(t){return jr(Pr(t))}function Zr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dr(t,o,e){let{reference:r,floating:i}=t;const n=Pr(o),a=Mr(o),s=_r(a),l=Br(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ar(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Hr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Fr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Kr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Tr(t,o,e){return(t?[...e.filter((o=>Ar(o)===t)),...e.filter((o=>Ar(o)!==t))]:e.filter((t=>Br(t)===t))).filter((e=>!t||(Ar(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(e)!==e)))}const Gr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Ir,autoAlignment:h=!0,...u}=Fr(t,o),y=void 0!==p||d===Ir?Tr(p||null,h,d):d,g=await Hr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Ar(t),i=Mr(t),n=_r(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Zr(a)),[a,Zr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Br(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Ar(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Ar(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Vr(t){return Jr(t)?(t.nodeName||"").toLowerCase():"#document"}function qr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Yr(t){var o;return null==(o=(Jr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jr(t){return t instanceof Node||t instanceof qr(t).Node}function Xr(t){return t instanceof Element||t instanceof qr(t).Element}function Qr(t){return t instanceof HTMLElement||t instanceof qr(t).HTMLElement}function ti(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qr(t).ShadowRoot)}function oi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ai(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ei(t){return["table","td","th"].includes(Vr(t))}function ri(t){const o=ii(),e=ai(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ii(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ni(t){return["html","body","#document"].includes(Vr(t))}function ai(t){return qr(t).getComputedStyle(t)}function si(t){return Xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function li(t){if("html"===Vr(t))return t;const o=t.assignedSlot||t.parentNode||ti(t)&&t.host||Yr(t);return ti(o)?o.host:o}function ci(t){const o=li(t);return ni(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qr(o)&&oi(o)?o:ci(o)}function fi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ci(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=qr(i);return n?o.concat(a,a.visualViewport||[],oi(i)?i:[],a.frameElement&&e?fi(a.frameElement):[]):o.concat(i,fi(i,[],e))}function pi(t){const o=ai(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=kr(e)!==n||kr(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function di(t){return Xr(t)?t:t.contextElement}function hi(t){const o=di(t);if(!Qr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=pi(o);let a=(n?kr(e.width):e.width)/r,s=(n?kr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ui=Lr(0);function yi(t){const o=qr(t);return ii()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ui}function gi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=di(t);let a=Lr(1);o&&(r?Xr(r)&&(a=hi(r)):a=hi(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qr(t))&&o}(n,e,r)?yi(n):Lr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=qr(n),o=r&&Xr(r)?qr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hi(e),o=e.getBoundingClientRect(),r=ai(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=qr(e).frameElement}}return Kr({width:f,height:p,x:l,y:c})}function bi(t){return gi(Yr(t)).left+si(t).scrollLeft}function mi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=qr(t),r=Yr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=ii();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Yr(t),e=si(t),r=t.ownerDocument.body,i=Rr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Rr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bi(t);const s=-e.scrollTop;return"rtl"===ai(r).direction&&(a+=Rr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Yr(t));else if(Xr(o))r=function(t,o){const e=gi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Qr(t)?hi(t):Lr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=yi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Kr(r)}function vi(t,o){const e=li(t);return!(e===o||!Xr(e)||ni(e))&&("fixed"===ai(e).position||vi(e,o))}function xi(t,o,e){const r=Qr(o),i=Yr(o),n="fixed"===e,a=gi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lr(0);if(r||!r&&!n)if(("body"!==Vr(o)||oi(i))&&(s=si(o)),r){const t=gi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=bi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Oi(t,o){return Qr(t)&&"fixed"!==ai(t).position?o?o(t):t.offsetParent:null}function wi(t,o){const e=qr(t);if(!Qr(t))return e;let r=Oi(t,o);for(;r&&ei(r)&&"static"===ai(r).position;)r=Oi(r,o);return r&&("html"===Vr(r)||"body"===Vr(r)&&"static"===ai(r).position&&!ri(r))?e:r||function(t){let o=li(t);for(;Qr(o)&&!ni(o);){if(ri(o))return o;o=li(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Qr(e),n=Yr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lr(1);const l=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vr(e)||oi(n))&&(a=si(e)),Qr(e))){const t=gi(e);s=hi(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Yr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fi(t,[],!1).filter((t=>Xr(t)&&"body"!==Vr(t))),i=null;const n="fixed"===ai(t).position;let a=n?li(t):t;for(;Xr(a)&&!ni(a);){const o=ai(a),e=ri(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||oi(a)&&!e&&vi(t,a))?r=r.filter((t=>t!==a)):i=o,a=li(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=mi(o,e,i);return t.top=Rr(r.top,t.top),t.right=$r(r.right,t.right),t.bottom=$r(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),mi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||wi,n=this.getDimensions;return{reference:xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pi(t)},getScale:hi,isElement:Xr,isRTL:function(t){return"rtl"===ai(t).direction}},Ci=(t,o,e)=>{const r=new Map,i={platform:Si,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Dr(c,r,l),d=r,h={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Dr(c,d,l))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ni(t){return function(t){for(let o=t;o;o=Ei(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ei(t);o;o=Ei(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ei(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ii(t,o,e){return Ci(t,o,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Fr(r,t),c={x:o,y:e},f=await Hr(t,l),p=Pr(Br(i)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=zr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=zr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Gr({allowedPlacements:[e]})]});var r}var $i=Object.freeze({__proto__:null,computeOffsetPosition:Ii});
135
+ */let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=Wo(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});class re{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var ie=Object.freeze({__proto__:null,CacheRegistry:re});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let i=this.metadataDescriptors.find((t=>e==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ae=Object.freeze({__proto__:null,ClusteringHelper:ne});class se{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:se});const ce=t=>new Promise((o=>setTimeout(o,t)));async function fe(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ce(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function pe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function de(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!de(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!de(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!de(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?pe(e):e}},deepEqual:de,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:pe,waitFor:fe,waitUntil:async function(t,o=10,e=2e4){await fe((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ye(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!de(t,o),...null!=o?o:{}})}function ge(t){return!isNaN(parseFloat(t))}var be=Object.freeze({__proto__:null,customElement:ue,isNumber:ge,jsonProperty:ye,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ge(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const me=t=>"string"==typeof t?pt(t):t;class ve{static create(t,o,e,r){const i=t=>me(null!=t?t:r),n=dt`var(${me(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${me(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=dt`var(${me(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${me(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):me(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${me(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${me(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xe(t,o){return me(`${t.name}: ${o}`)}const Oe={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ve.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:ve.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:ve.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:ve.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:ve.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:ve.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:ve.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:ve.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:ve.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)"),underline:ve.create("--ft-underline","","UNKNOWN","underline")},we={fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},Se={fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ce={fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ne={fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ee={fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},$e={fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ie={fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ke={fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:ve.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ve.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ve.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},De={fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},He={fontFamily:ve.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Te={fontFamily:ve.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ge={fontFamily:ve.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ve={display:we,"title-1":Se,"title-2":Ce,"title-3":Ne,"body-1-regular":Ee,"body-1-medium":$e,"body-1-semibold":Ie,"body-2-regular":Re,"body-2-medium":ke,"body-2-medium-underline":Le,"body-2-semibold":Ue,"label-1-medium":We,"label-1-semibold":ze,"label-1-bold":Be,"label-2-medium":Fe,"label-2-semibold":Ae,"label-2-bold":je,"caption-1-medium":_e,"caption-1-semibold":Pe,"caption-1-bold":Me,"caption-2-medium":Ze,"caption-2-semibold":Ke,"caption-2-bold":De,"caption-3-medium":He,"caption-3-semibold":Te,"caption-3-bold":Ge},qe={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oe.colorBrand0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oe.colorRed10),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oe.colorCyan10),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oe.colorOrange10),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oe.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Oe.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oe.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oe.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oe.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oe.colorOrange200),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oe.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oe.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Oe.colorRed70),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oe.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Oe.colorCyan0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oe.colorGreen200),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Oe.colorGreen0),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Oe.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oe.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oe.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oe.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Oe.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oe.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oe.colorOrange200),borderWarningSubtle:ve.extend("--ft-border-warning-subtle","Used as border for warning components.",Oe.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success buttons.",Oe.colorGreen200),borderSuccessSubtle:ve.extend("--ft-border-success-subtle","Used as border for success components.",Oe.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oe.colorRed0),borderErrorSubtle:ve.extend("--ft-border-error-subtle","Used as border for error components.",Oe.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oe.colorCyan200),borderInfoSubtle:ve.extend("--ft-border-info-subtle","Used as border for information components.",Oe.colorCyan30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Oe.colorGray50),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oe.colorGray30),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oe.colorGray80)},Ye={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Oe.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Oe.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Oe.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Oe.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Oe.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Oe.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Oe.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Oe.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",qe.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",qe.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",qe.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",qe.contentGlobalOnColor),primaryHoverStateLayerOpacity:ve.extend("--ft-button-primary-hover-state-layer-opacity","",Oe.opacity16),primaryFocusStateLayerOpacity:ve.extend("--ft-button-primary-focus-state-layer-opacity","",Oe.opacity16),primaryActiveStateLayerOpacity:ve.extend("--ft-button-primary-active-state-layer-opacity","",Oe.opacity24),primaryDisabledComponentOpacity:ve.extend("--ft-button-primary-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",qe.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",qe.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",qe.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",qe.contentActionPrimary),tertiaryHoverStateLayerOpacity:ve.extend("--ft-button-tertiary-hover-state-layer-opacity","",Oe.opacity8),tertiaryFocusStateLayerOpacity:ve.extend("--ft-button-tertiary-focus-state-layer-opacity","",Oe.opacity8),tertiaryActiveStateLayerOpacity:ve.extend("--ft-button-tertiary-active-state-layer-opacity","",Oe.opacity16),tertiaryDisabledComponentOpacity:ve.extend("--ft-button-tertiary-disabled-component-opacity","",Oe.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",qe.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",qe.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",qe.contentActionPrimary),secondaryHoverStateLayerOpacity:ve.extend("--ft-button-secondary-hover-state-layer-opacity","",Oe.opacity8),secondaryFocusStateLayerOpacity:ve.extend("--ft-button-secondary-focus-state-layer-opacity","",Oe.opacity8),secondaryActiveStateLayerOpacity:ve.extend("--ft-button-secondary-active-state-layer-opacity","",Oe.opacity16),secondaryDisabledComponentOpacity:ve.extend("--ft-button-secondary-disabled-component-opacity","",Oe.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",qe.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",qe.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",qe.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",qe.contentGlobalSecondary),neutralHoverStateLayerOpacity:ve.extend("--ft-button-neutral-hover-state-layer-opacity","",Oe.opacity8),neutralFocusStateLayerOpacity:ve.extend("--ft-button-neutral-focus-state-layer-opacity","",Oe.opacity8),neutralActiveStateLayerOpacity:ve.extend("--ft-button-neutral-active-state-layer-opacity","",Oe.opacity16),neutralDisabledComponentOpacity:ve.extend("--ft-button-neutral-disabled-component-opacity","",Oe.opacity40)},Je={iconSize:ve.extend("--ft-banner-icon-size","",Oe.iconSize5),borderWidth:ve.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-banner-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-banner-vertical-padding","",Oe.spacing6),horizontalSideGap:ve.extend("--ft-banner-horizontal-side-gap","",Oe.spacing6),horizontalMobileGap:ve.extend("--ft-banner-horizontal-mobile-gap","",Oe.spacing4),verticalMobileGap:ve.extend("--ft-banner-vertical-mobile-gap","",Oe.spacing6),horizontalMiddleGap:ve.extend("--ft-banner-horizontal-middle-gap","",Oe.spacing20),infoBackgroundColor:ve.extend("--ft-banner-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-banner-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-banner-info-icon-color","",qe.contentInfoIconOnly)},Xe={gap:ve.extend("--ft-breadcrumb-gap","",Oe.spacing1)},Qe={horizontalPadding:ve.extend("--ft-page-header-horizontal-padding","",Oe.spacing12),verticalPadding:ve.extend("--ft-page-header-vertical-padding","",Oe.spacing6)},tr={smallContainerWidth:ve.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ve.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ve.extend("--ft-modal-overlay-background-color","",Oe.colorGray700),overlayOpacity:ve.extend("--ft-modal-overlay-opacity","",Oe.opacity40),shadow:ve.extend("--ft-modal-shadow","",Oe.shadowElevation03),bodyBackgroundColor:ve.extend("--ft-modal-body-background-color","",Oe.colorWhite),bodyColor:ve.extend("--ft-modal-body-color","",qe.contentGlobalPrimary),bodyHorizontalPadding:ve.extend("--ft-modal-body-horizontal-padding","",Oe.spacing6),bodyVerticalPadding:ve.extend("--ft-modal-body-vertical-padding","",Oe.spacing6),bodyVerticalGap:ve.extend("--ft-modal-body-vertical-gap","",Oe.spacing6),containerMargin:ve.extend("--ft-modal-container-margin","",Oe.spacing3),headerBackgroundColor:ve.extend("--ft-modal-header-background-color","",qe.backgroundGlobalOnSurface),headerBorderColor:ve.extend("--ft-modal-header-border-color","",qe.borderGlobalSubtle),headerColor:ve.extend("--ft-modal-header-color","",qe.contentGlobalPrimary),headerTrailingIconColor:ve.extend("--ft-modal-header-trailing-icon-color","",qe.contentGlobalSecondary),headerVerticalPadding:ve.extend("--ft-modal-header-vertical-padding","",Oe.spacing1),headerRightPadding:ve.extend("--ft-modal-header-right-padding","",Oe.spacing1),headerLeftPadding:ve.extend("--ft-modal-header-left-padding","",Oe.spacing6),headerGap:ve.extend("--ft-modal-header-gap","",Oe.spacing2),headerBorderBottom:ve.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ve.extend("--ft-modal-border-radius","",Oe.borderRadiusM)},or={fieldHorizontalPadding:ve.extend("--ft-text-input-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-input-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-input-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-text-input-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-text-input-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-input-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-input-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-input-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-text-input-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-input-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-text-input-trailing-icon-color","",qe.contentGlobalSubtle),labelColor:ve.extend("--ft-text-input-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-input-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-input-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-input-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-input-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-input-error-helper-icon-color","",qe.contentErrorIconOnly),warningBorderWidth:ve.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ve.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-text-input-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-input-disabled-component-opacity","",Oe.opacity40)},er={backgroundColor:ve.extend("--ft-text-area-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-area-content-value-color","",qe.contentGlobalPrimary),labelColor:ve.extend("--ft-text-area-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-area-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-area-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-area-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-area-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-area-error-helper-icon-color","",qe.contentErrorIconOnly),focusFocusRingColor:ve.extend("--ft-text-area-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-area-disabled-component-opacity","",Oe.opacity40),fieldHorizontalLeftPadding:ve.extend("--ft-text-area-field-horizontal-left-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-area-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-area-field-vertical-gap","",Oe.spacing05),fieldMinHeight:ve.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ve.extend("--ft-text-area-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-area-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-area-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-area-border-radius","",Oe.borderRadiusM)},rr={height:ve.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ve.extend("--ft-floating-menu-horizontal-padding","",Oe.spacing4),offIconColor:ve.extend("--ft-floating-menu-off-icon-color","",qe.contentGlobalPrimary),offColor:ve.extend("--ft-floating-menu-off-color","",qe.contentGlobalPrimary),onColor:ve.extend("--ft-floating-menu-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-floating-menu-on-state-layer-color","",qe.contentActionPrimary),gap:ve.extend("--ft-floating-menu-gap","",Oe.spacing3),focusFocusRingColor:ve.extend("--ft-floating-menu-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ve.extend("--ft-floating-menu-focus-state-layer-opacity","",Oe.opacity8),hoverStateLayerOpacity:ve.extend("--ft-floating-menu-hover-state-layer-opacity","",Oe.opacity8),activeStateLayerOpacity:ve.extend("--ft-floating-menu-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-floating-menu-disabled-component-opacity","",Oe.opacity40),iconSize:ve.extend("--ft-floating-menu-icon-size","",Oe.iconSize3),backgroundColor:ve.extend("--ft-floating-menu-background-color","",qe.backgroundGlobalOnSurface)},ir={fieldHorizontalPadding:ve.extend("--ft-combobox-single-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-single-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-single-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-single-select-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-combobox-single-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-single-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-single-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-single-select-helper-icon-size","",Oe.iconSize2),menuVerticalGap:ve.extend("--ft-combobox-single-select-menu-vertical-gap","",Oe.spacing2),borderRadius:ve.extend("--ft-combobox-single-select-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-combobox-single-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-single-select-label-color","",qe.contentGlobalSubtle),contentValueColor:ve.extend("--ft-combobox-single-select-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-combobox-single-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-single-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-single-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-combobox-single-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-single-select-error-helper-text-color","",qe.contentErrorPrimary),warningBorderWidth:ve.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-single-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-single-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-single-select-warning-helper-icon-color","",qe.contentWarningIconOnly),focusOutlineWidth:ve.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-single-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-single-select-disabled-component-opacity","",Oe.opacity40)},nr={backgroundColor:ve.extend("--ft-combobox-multi-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-multi-select-label-color","",qe.contentGlobalSubtle),trailingIconColor:ve.extend("--ft-combobox-multi-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-multi-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-multi-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ve.extend("--ft-combobox-multi-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-multi-select-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIcon:ve.extend("--ft-combobox-multi-select-error-helper-icon","",qe.contentErrorIconOnly),errorBorderWidth:ve.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-multi-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-multi-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-multi-select-warning-helper-icon-color","",qe.contentWarningIconOnly),warningBorderWidth:ve.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-multi-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-multi-select-disabled-component-opacity","",Oe.opacity40),helperHorizontalPadding:ve.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-multi-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-multi-select-helper-icon-size","",Oe.iconSize2),fieldHorizontalPadding:ve.extend("--ft-combobox-multi-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-multi-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-multi-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-multi-select-field-icon-size","",Oe.iconSize3),fieldMaxHeight:ve.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ve.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Oe.spacing1),contentValuesVerticalGap:ve.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Oe.spacing1),borderRadius:ve.extend("--ft-combobox-multi-select-border-radius","",Oe.borderRadiusM)},ar={backgroundColor:ve.extend("--ft-popover-background-color","",qe.backgroundGlobalOnSurface),horizontalPadding:ve.extend("--ft-popover-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-popover-vertical-padding","",Oe.spacing6),iconColor:ve.extend("--ft-popover-icon-color","",qe.contentGlobalSecondary),iconSize:ve.extend("--ft-popover-icon-size","",Oe.iconSize2),titleColor:ve.extend("--ft-popover-title-color","",qe.contentGlobalPrimary),bodyColor:ve.extend("--ft-popover-body-color","",qe.contentGlobalSecondary),linkColor:ve.extend("--ft-popover-link-color","",qe.contentActionPrimary),gap:ve.extend("--ft-popover-gap","",Oe.spacing3),borderRadius:ve.extend("--ft-popover-border-radius","",Oe.borderRadiusM),shadow:ve.extend("--ft-popover-shadow","",Oe.shadowElevation02)},sr={topLeftBorderRadius:ve.extend("--ft-tabs-top-left-border-radius","",Oe.borderRadiusS),topRightBorderRadius:ve.extend("--ft-tabs-top-right-border-radius","",Oe.borderRadiusS),labelHorizontalPadding:ve.extend("--ft-tabs-label-horizontal-padding","",Oe.spacing4),labelVerticalPadding:ve.extend("--ft-tabs-label-vertical-padding","",Oe.spacing3),labelGap:ve.extend("--ft-tabs-label-gap","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-tabs-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-tabs-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-tabs-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-tabs-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-tabs-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-tabs-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-tabs-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-tabs-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-tabs-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-tabs-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-tabs-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-tabs-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-tabs-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-tabs-icon-vertical-padding","",Oe.spacing4),focusOutlineWidth:ve.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-tabs-focus-focus-ring-color","",qe.borderActionFocusRing)},lr={hoverStateLayerOpacity:ve.extend("--ft-collapsible-hover-state-layer-opacity","",Oe.opacity8),focusStateLayerOpacity:ve.extend("--ft-collapsible-focus-state-layer-opacity","",Oe.opacity8),focusOutlineWidth:ve.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ve.extend("--ft-collapsible-focus-focus-ring-color","",qe.borderActionFocusRing),activeStateLayerOpacity:ve.extend("--ft-collapsible-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-collapsible-disabled-component-opacity","",Oe.opacity40),horizontalPadding:ve.extend("--ft-collapsible-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-collapsible-vertical-padding","",Oe.spacing3),color:ve.extend("--ft-collapsible-color","",qe.contentGlobalPrimary),stateLayerColor:ve.extend("--ft-collapsible-state-layer-color","",qe.contentGlobalPrimary),backgroundColor:ve.extend("--ft-collapsible-background-color","",qe.backgroundGlobalOnSurface),borderColor:ve.extend("--ft-collapsible-border-color","",qe.borderGlobalSubtle),iconSize:ve.extend("--ft-collapsible-icon-size","",Oe.iconSize3)},cr={groupHorizontalPadding:ve.extend("--ft-switch-group-horizontal-padding","",Oe.spacing1),groupVerticalPadding:ve.extend("--ft-switch-group-vertical-padding","",Oe.spacing1),groupGap:ve.extend("--ft-switch-group-gap","",Oe.spacing1),groupBackgroundColor:ve.extend("--ft-switch-group-background-color","",qe.backgroundGlobalSurface),groupBorderColor:ve.extend("--ft-switch-group-border-color","",qe.borderGlobalSubtle),groupBorderRadius:ve.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ve.extend("--ft-switch-label-horizontal-padding","",Oe.spacing2),labelVerticalPadding:ve.extend("--ft-switch-label-vertical-padding","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-switch-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-switch-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-switch-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-switch-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-switch-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-switch-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-switch-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-switch-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-switch-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-switch-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-switch-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-switch-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-switch-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-switch-icon-vertical-padding","",Oe.spacing1),focusOutlineWidth:ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-switch-focus-focus-ring-color","",qe.borderActionFocusRing),optionBorderRadius:ve.extend("--ft-switch-option-border-radius","",Oe.borderRadiusS)},fr={color1Light:ve.extend("--ft-chart-1-light","for area color charts",Oe.colorBrand40),color1Base:ve.extend("--ft-chart-1-base","for line charts",Oe.colorBrand0),color2Light:ve.extend("--ft-chart-2-light","for area color charts",Oe.colorYellow60),color2Base:ve.extend("--ft-chart-2-base","for line charts",Oe.colorYellow100),color3Light:ve.extend("--ft-chart-3-light","",Oe.colorUltramarine40),color3Base:ve.extend("--ft-chart-3-base","",Oe.colorUltramarine70),color4Light:ve.extend("--ft-chart-4-light","",Oe.colorCyan50),color4Base:ve.extend("--ft-chart-4-base","",Oe.colorCyan100),color5Light:ve.extend("--ft-chart-5-light","",Oe.colorRed40),color5Base:ve.extend("--ft-chart-5-base","",Oe.colorRed60),color6Light:ve.extend("--ft-chart-6-light","",Oe.colorGreen40),color6Base:ve.extend("--ft-chart-6-base","",Oe.colorGreen70),color7Light:ve.extend("--ft-chart-7-light","",Oe.colorOrange70),color7Base:ve.extend("--ft-chart-7-base","",Oe.colorOrange100),color8Light:ve.extend("--ft-chart-8-light","",Oe.colorAvocado70),color8Base:ve.extend("--ft-chart-8-base","",Oe.colorAvocado200),color9Light:ve.extend("--ft-chart-9-light","",Oe.colorBrown50),color9Base:ve.extend("--ft-chart-9-base","",Oe.colorBrown200),color10Light:ve.extend("--ft-chart-10-light","",Oe.colorGray50),color10Base:ve.extend("--ft-chart-10-base","",Oe.colorGray80),monochrome10:ve.extend("--ft-chart-monochrome-10","",Oe.colorBrand10),monochrome20:ve.extend("--ft-chart-monochrome-20","",Oe.colorBrand20),monochrome30:ve.extend("--ft-chart-monochrome-30","",Oe.colorBrand40),monochrome40:ve.extend("--ft-chart-monochrome-40","",Oe.colorBrand60),monochrome50:ve.extend("--ft-chart-monochrome-50","",Oe.colorBrand0),monochrome60:ve.extend("--ft-chart-monochrome-60","",Oe.colorBrand200)},pr={largeHorizontalPadding:ve.extend("--ft-chip-large-horizontal-padding","",Oe.spacing4),largeVerticalPadding:ve.extend("--ft-chip-large-vertical-padding","",Oe.spacing2),largeGap:ve.extend("--ft-chip-large-gap","",Oe.spacing1),largeFocusOutlineOffset:ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ve.extend("--ft-chip-large-border-radius","",Oe.borderRadiusPill),largeBorderWidth:ve.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ve.extend("--ft-chip-large-icon-size","",Oe.iconSize3),mediumHorizontalPadding:ve.extend("--ft-chip-medium-horizontal-padding","",Oe.spacing3),mediumVerticalPadding:ve.extend("--ft-chip-medium-vertical-padding","",Oe.spacing1),mediumGap:ve.extend("--ft-chip-medium-gap","",Oe.spacing1),mediumFocusOutlineOffset:ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ve.extend("--ft-chip-medium-border-radius","",Oe.borderRadiusPill),mediumBorderWidth:ve.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ve.extend("--ft-chip-medium-icon-size","",Oe.iconSize2),smallHorizontalPadding:ve.extend("--ft-chip-small-horizontal-padding","",Oe.spacing2),smallVerticalPadding:ve.extend("--ft-chip-small-vertical-padding","",Oe.spacing05),smallGap:ve.extend("--ft-chip-small-gap","",Oe.spacing1),smallFocusOutlineOffset:ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ve.extend("--ft-chip-small-border-radius","",Oe.borderRadiusPill),smallBorderWidth:ve.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ve.extend("--ft-chip-small-icon-size","",Oe.iconSize1),neutralBackgroundColor:ve.extend("--ft-chip-neutral-background-color","",qe.backgroundGlobalOnSurface),neutralColor:ve.extend("--ft-chip-neutral-color","",qe.contentGlobalPrimary),neutralIconColor:ve.extend("--ft-chip-neutral-icon-color","",qe.contentGlobalPrimary),neutralBorderColor:ve.extend("--ft-chip-neutral-border-color","",qe.borderGlobalSubtle),infoBackgroundColor:ve.extend("--ft-chip-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-chip-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-chip-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-chip-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-chip-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-chip-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-chip-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-chip-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-chip-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-chip-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-chip-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-chip-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-chip-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-chip-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-chip-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-chip-error-border-color","",qe.borderErrorSubtle)},dr={infoBorderColor:ve.extend("--ft-border-info-border-color","",qe.borderInfoSubtle)},hr={borderWidth:ve.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-notice-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-notice-vertical-padding","",Oe.spacing1),borderRadius:ve.extend("--ft-notice-border-radius","",Oe.borderRadiusS),gap:ve.extend("--ft-notice-gap","",Oe.spacing2),iconSize:ve.extend("--ft-notice-icon-size","",Oe.iconSize3),infoBackgroundColor:ve.extend("--ft-notice-info-background-color","",qe.backgroundInfoSubtle),infoBorderColor:ve.extend("--ft-notice-info-border-color","",qe.borderInfoSubtle),infoColor:ve.extend("--ft-notice-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notice-info-icon-color","",qe.contentInfoIconOnly),warningBackgroundColor:ve.extend("--ft-notice-warning-background-color","",qe.backgroundWarningSubtle),warningBorderColor:ve.extend("--ft-notice-warning-border-color","",qe.borderWarningSubtle),warningColor:ve.extend("--ft-notice-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notice-warning-icon-color","",qe.contentWarningIconOnly)},ur={color:ve.extend("--ft-checkbox-color","",qe.contentGlobalPrimary),checkedBackgroundColor:ve.extend("--ft-checkbox-checked-background-color","",qe.contentActionPrimary),checkedStateLayerColor:ve.extend("--ft-checkbox-checked-state-layer-color","",qe.contentActionPrimary),checkedIconColor:ve.extend("--ft-checkbox-checked-icon-color","",qe.contentGlobalOnColor),checkedHoverStateLayerOpacity:ve.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Oe.opacity16),checkedFocusStateLayerOpacity:ve.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Oe.opacity16),checkedActiveStateLayerOpacity:ve.extend("--ft-checkbox-checked-active-state-layer-opacity","",Oe.opacity24),checkedDisabledComponentOpacity:ve.extend("--ft-checkbox-checked-disabled-component-opacity","",Oe.opacity40),uncheckedBorderColor:ve.extend("--ft-checkbox-unchecked-border-color","",Oe.colorGray80),uncheckedStateLayerColor:ve.extend("--ft-checkbox-unchecked-state-layer-color","",Oe.colorGray80),uncheckedHoverStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Oe.opacity16),uncheckedFocusStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Oe.opacity16),uncheckedActiveStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Oe.opacity24),uncheckedDisabledComponentOpacity:ve.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-checkbox-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-checkbox-gap","",Oe.spacing3)},yr={offHoverStateLayerOpacity:ve.extend("--ft-toggle-off-hover-state-layer-opacity","",Oe.opacity16),offFocusStateLayerOpacity:ve.extend("--ft-toggle-off-focus-state-layer-opacity","",Oe.opacity16),offActiveStateLayerOpacity:ve.extend("--ft-toggle-off-active-state-layer-opacity","",Oe.opacity24),offDisabledComponentOpacity:ve.extend("--ft-toggle-off-disabled-component-opacity","",Oe.opacity40),offBackgroundColor:ve.extend("--ft-toggle-off-background-color","",qe.contentGlobalSubtle),offIconColor:ve.extend("--ft-toggle-off-icon-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-toggle-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-toggle-on-hover-state-layer-opacity","",Oe.opacity16),onFocusStateLayerOpacity:ve.extend("--ft-toggle-on-focus-state-layer-opacity","",Oe.opacity16),onActiveStateLayerOpacity:ve.extend("--ft-toggle-on-active-state-layer-opacity","",Oe.opacity24),onDisabledComponentOpacity:ve.extend("--ft-toggle-on-disabled-component-opacity","",Oe.opacity40),onBackgroundColor:ve.extend("--ft-toggle-on-background-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-toggle-on-state-layer-color","",qe.contentActionPrimary),onIconColor:ve.extend("--ft-toggle-on-icon-color","",qe.contentActionPrimary),color:ve.extend("--ft-toggle-color","",qe.contentGlobalPrimary),focusFocusRingColor:ve.extend("--ft-toggle-focus-focus-ring-color","",qe.borderActionFocusRing),gap:ve.extend("--ft-toggle-gap","",Oe.spacing3)},gr={color:ve.extend("--ft-radio-color","",qe.contentGlobalPrimary),selectedRadioColor:ve.extend("--ft-radio-selected-radio-color","",qe.contentActionPrimary),selectedStateLayerColor:ve.extend("--ft-radio-selected-state-layer-color","",qe.contentActionPrimary),selectedHoverStateLayerOpacity:ve.extend("--ft-radio-selected-hover-state-layer-opacity","",Oe.opacity16),selectedFocusStateLayerOpacity:ve.extend("--ft-radio-selected-focus-state-layer-opacity","",Oe.opacity16),selectedActiveStateLayerOpacity:ve.extend("--ft-radio-selected-active-state-layer-opacity","",Oe.opacity24),selectedDisabledComponentOpacity:ve.extend("--ft-radio-selected-disabled-component-opacity","",Oe.opacity40),unselectedStateLayerColor:ve.extend("--ft-radio-unselected-state-layer-color","",qe.borderInputPrimary),unselectedBorderColor:ve.extend("--ft-radio-unselected-border-color","",qe.borderInputPrimary),unselectedHoverStateLayerOpacity:ve.extend("--ft-radio-unselected-hover-state-layer-opacity","",Oe.opacity16),unselectedFocusStateLayerOpacity:ve.extend("--ft-radio-unselected-focus-state-layer-opacity","",Oe.opacity16),unselectedActiveStateLayerOpacity:ve.extend("--ft-radio-unselected-active-state-layer-opacity","",Oe.opacity24),unselectedDisabledComponentOpacity:ve.extend("--ft-radio-unselected-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-radio-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-radio-gap","",Oe.spacing3)},br={iconSize:ve.extend("--ft-notification-icon-size","",Oe.iconSize4),horizontalPadding:ve.extend("--ft-notification-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-notification-vertical-padding","",Oe.spacing4),infoBackgroundColor:ve.extend("--ft-notification-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-notification-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notification-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-notification-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-notification-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-notification-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-notification-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-notification-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-notification-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-notification-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notification-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-notification-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-notification-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-notification-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-notification-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-notification-error-border-color","",qe.borderErrorSubtle),borderRadius:ve.extend("--ft-notification-border-radius","",Oe.borderRadiusPill),borderWidth:ve.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ve.extend("--ft-notification-leading-gap","",Oe.spacing2),trailingGap:ve.extend("--ft-notification-trailing-gap","",Oe.spacing8)},mr={horizontalPadding:ve.extend("--ft-tooltip-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-tooltip-vertical-padding","",Oe.spacing2),borderRadius:ve.extend("--ft-tooltip-border-radius","",Oe.borderRadiusS),color:ve.extend("--ft-tooltip-color","",qe.contentGlobalOnColor),backgroundColor:ve.extend("--ft-tooltip-background-color","",qe.contentGlobalPrimary),backgroundOpacity:ve.extend("--ft-tooltip-background-opacity","",Oe.opacity80),shadow:ve.extend("--ft-tooltip-shadow","",Oe.shadowElevation03),maxWidth:ve.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ve.extend("--ft-tooltip-gap","",Oe.spacing05)};var vr=Object.freeze({__proto__:null,FtCssVariableFactory:ve,banner:Je,border:dr,breadcrumb:Xe,button:Ye,chart:fr,checkbox:ur,chip:pr,collapsible:lr,comboboxMultiSelect:nr,comboboxSingleSelect:ir,floatingMenu:rr,foundation:Oe,modal:tr,notice:hr,notification:br,pageHeader:Qe,popover:ar,radio:gr,semantic:qe,setVariable:xe,switch_:cr,tabs:sr,textArea:er,textInput:or,toggle:yr,tooltip:mr,typographies:Ve,typographyBody1Medium:$e,typographyBody1Regular:Ee,typographyBody1Semibold:Ie,typographyBody2Medium:ke,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:Ue,typographyCaption1Bold:Me,typographyCaption1Medium:_e,typographyCaption1Semibold:Pe,typographyCaption2Bold:De,typographyCaption2Medium:Ze,typographyCaption2Semibold:Ke,typographyCaption3Bold:Ge,typographyCaption3Medium:He,typographyCaption3Semibold:Te,typographyDisplay:we,typographyLabel1Bold:Be,typographyLabel1Medium:We,typographyLabel1Semibold:ze,typographyLabel2Bold:je,typographyLabel2Medium:Fe,typographyLabel2Semibold:Ae,typographyTitle1:Se,typographyTitle2:Ce,typographyTitle3:Ne,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const xr={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ve.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ve.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ve.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ve.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ve.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ve.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ve.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ve.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ve.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:xr});class wr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Cr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:wr,PostResizeEvent:Cr,PreResizeEvent:Sr});const Er=["start","end"],$r=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Er[0],o+"-"+Er[1])),[]),Ir=Math.min,Rr=Math.max,kr=Math.round,Lr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function zr(t,o,e){return Rr(t,Ir(o,e))}function Br(t,o){return"function"==typeof t?t(o):t}function Fr(t){return t.split("-")[0]}function Ar(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Mr(t){return jr(Pr(t))}function Zr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dr(t,o,e){let{reference:r,floating:i}=t;const n=Pr(o),a=Mr(o),s=_r(a),l=Fr(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ar(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Hr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Br(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Kr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Tr(t,o,e){return(t?[...e.filter((o=>Ar(o)===t)),...e.filter((o=>Ar(o)!==t))]:e.filter((t=>Fr(t)===t))).filter((e=>!t||(Ar(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(e)!==e)))}const Gr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Br(t,o),y=void 0!==p||d===$r?Tr(p||null,h,d):d,g=await Hr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Ar(t),i=Mr(t),n=_r(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Zr(a)),[a,Zr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Fr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Ar(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Ar(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Vr(t){return Jr(t)?(t.nodeName||"").toLowerCase():"#document"}function qr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Yr(t){var o;return null==(o=(Jr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jr(t){return t instanceof Node||t instanceof qr(t).Node}function Xr(t){return t instanceof Element||t instanceof qr(t).Element}function Qr(t){return t instanceof HTMLElement||t instanceof qr(t).HTMLElement}function ti(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qr(t).ShadowRoot)}function oi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ai(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ei(t){return["table","td","th"].includes(Vr(t))}function ri(t){const o=ii(),e=ai(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ii(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ni(t){return["html","body","#document"].includes(Vr(t))}function ai(t){return qr(t).getComputedStyle(t)}function si(t){return Xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function li(t){if("html"===Vr(t))return t;const o=t.assignedSlot||t.parentNode||ti(t)&&t.host||Yr(t);return ti(o)?o.host:o}function ci(t){const o=li(t);return ni(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qr(o)&&oi(o)?o:ci(o)}function fi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ci(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=qr(i);return n?o.concat(a,a.visualViewport||[],oi(i)?i:[],a.frameElement&&e?fi(a.frameElement):[]):o.concat(i,fi(i,[],e))}function pi(t){const o=ai(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=kr(e)!==n||kr(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function di(t){return Xr(t)?t:t.contextElement}function hi(t){const o=di(t);if(!Qr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=pi(o);let a=(n?kr(e.width):e.width)/r,s=(n?kr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ui=Lr(0);function yi(t){const o=qr(t);return ii()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ui}function gi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=di(t);let a=Lr(1);o&&(r?Xr(r)&&(a=hi(r)):a=hi(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qr(t))&&o}(n,e,r)?yi(n):Lr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=qr(n),o=r&&Xr(r)?qr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hi(e),o=e.getBoundingClientRect(),r=ai(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=qr(e).frameElement}}return Kr({width:f,height:p,x:l,y:c})}function bi(t){return gi(Yr(t)).left+si(t).scrollLeft}function mi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=qr(t),r=Yr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=ii();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Yr(t),e=si(t),r=t.ownerDocument.body,i=Rr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Rr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bi(t);const s=-e.scrollTop;return"rtl"===ai(r).direction&&(a+=Rr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Yr(t));else if(Xr(o))r=function(t,o){const e=gi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Qr(t)?hi(t):Lr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=yi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Kr(r)}function vi(t,o){const e=li(t);return!(e===o||!Xr(e)||ni(e))&&("fixed"===ai(e).position||vi(e,o))}function xi(t,o,e){const r=Qr(o),i=Yr(o),n="fixed"===e,a=gi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lr(0);if(r||!r&&!n)if(("body"!==Vr(o)||oi(i))&&(s=si(o)),r){const t=gi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=bi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Oi(t,o){return Qr(t)&&"fixed"!==ai(t).position?o?o(t):t.offsetParent:null}function wi(t,o){const e=qr(t);if(!Qr(t))return e;let r=Oi(t,o);for(;r&&ei(r)&&"static"===ai(r).position;)r=Oi(r,o);return r&&("html"===Vr(r)||"body"===Vr(r)&&"static"===ai(r).position&&!ri(r))?e:r||function(t){let o=li(t);for(;Qr(o)&&!ni(o);){if(ri(o))return o;o=li(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Qr(e),n=Yr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lr(1);const l=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vr(e)||oi(n))&&(a=si(e)),Qr(e))){const t=gi(e);s=hi(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Yr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fi(t,[],!1).filter((t=>Xr(t)&&"body"!==Vr(t))),i=null;const n="fixed"===ai(t).position;let a=n?li(t):t;for(;Xr(a)&&!ni(a);){const o=ai(a),e=ri(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||oi(a)&&!e&&vi(t,a))?r=r.filter((t=>t!==a)):i=o,a=li(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=mi(o,e,i);return t.top=Rr(r.top,t.top),t.right=Ir(r.right,t.right),t.bottom=Ir(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),mi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:wi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||wi,n=this.getDimensions;return{reference:xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pi(t)},getScale:hi,isElement:Xr,isRTL:function(t){return"rtl"===ai(t).direction}},Ci=(t,o,e)=>{const r=new Map,i={platform:Si,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Dr(c,r,l),d=r,h={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Dr(c,d,l))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ni(t){return function(t){for(let o=t;o;o=Ei(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ei(t);o;o=Ei(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ei(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function $i(t,o,e){return Ci(t,o,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Br(r,t),c={x:o,y:e},f=await Hr(t,l),p=Pr(Fr(i)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=zr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=zr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Gr({allowedPlacements:[e]})]});var r}var Ii=Object.freeze({__proto__:null,computeOffsetPosition:$i});
136
136
  /**
137
137
  * @license
138
138
  * Copyright 2019 Google LLC
139
139
  * SPDX-License-Identifier: BSD-3-Clause
140
- */const Ri=window,ki=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Li extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ki?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ri.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ui,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Li}),zi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Fi=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Ai=Symbol("exportpartsDebouncer");class ji extends Li{constructor(){super(),this[Ui]=new se(5),this[Bi]=this.constructor.name,this[Fi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[Fi])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Ai].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ui=Ai,zi([So()],ji.prototype,"exportpartsPrefix",void 0),zi([ye([])],ji.prototype,"exportpartsPrefixes",void 0),zi([So()],ji.prototype,"customStylesheet",void 0);var _i=Object.freeze({__proto__:null,FtLitElement:ji}),Pi=Object.freeze({__proto__:null});class Mi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Mi.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Mi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Zi=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Mi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Mi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(n.node))return!1;const s=o-n.start,l=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,s,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(e=>o(e,t,i.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):s(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Mi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Ki=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=dt`
140
+ */const Ri=window,ki=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Li extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ki?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ri.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ui,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Li}),zi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Bi=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),Ai=Symbol("exportpartsDebouncer");class ji extends Li{constructor(){super(),this[Ui]=new se(5),this[Fi]=this.constructor.name,this[Bi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[Bi])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Ai].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ui=Ai,zi([So()],ji.prototype,"exportpartsPrefix",void 0),zi([ye([])],ji.prototype,"exportpartsPrefixes",void 0),zi([So()],ji.prototype,"customStylesheet",void 0);var _i=Object.freeze({__proto__:null,FtLitElement:ji}),Pi=Object.freeze({__proto__:null});class Mi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Mi.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Mi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Zi=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Mi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Mi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(n.node))return!1;const s=o-n.start,l=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,s,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(e=>o(e,t,i.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):s(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Mi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Ki=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=dt`
141
141
  .highlight-html-match {
142
142
  background: ${Ki};
143
143
  }
@@ -173,7 +173,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
173
173
  display: inline-block;
174
174
  width: 0;
175
175
  }
176
- `;var Yi=Object.freeze({__proto__:null,noTextSelect:Gi,safariEllipsisFix:qi,wordWrap:Vi}),Ji=Object.freeze({__proto__:null});class Xi{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var Qi=Object.freeze({__proto__:null,ParametrizedLabelResolver:Xi});const tn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class on{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function en(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var rn,nn,an;const sn=Symbol("internalReduxEventsUnsubscribers"),ln=Symbol("internalStoresUnsubscribers"),cn=Symbol("internalStores");class fn extends ji{constructor(){super(...arguments),this[rn]=new Map,this[nn]=new Map,this[an]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[cn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[cn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[cn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:en(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[cn].delete(o)}setupStore(t,o){this[cn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[cn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[ln].has(t.store):this[ln].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ln].set(t,o.subscribe((()=>this.updateFromStores()))),en(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[sn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ln].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[sn].forEach((t=>t())),this[sn]=[]}unsubscribeFromStore(t){this[ln].has(t)&&this[ln].get(t)(),this[ln].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function pn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function dn(t){return!!t&&!!t[Xn]}function hn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Qn}(t)||Array.isArray(t)||!!t[Jn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Jn])||vn(t)||xn(t))}function un(t,o,e){void 0===e&&(e=!1),0===yn(t)?(e?Object.keys:ta)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function yn(t){var o=t[Xn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:vn(t)?2:xn(t)?3:0}function gn(t,o){return 2===yn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function bn(t,o,e){var r=yn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function mn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function vn(t){return Gn&&t instanceof Map}function xn(t){return Vn&&t instanceof Set}function On(t){return t.o||t.t}function wn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=oa(t);delete o[Xn];for(var e=ta(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function Sn(t,o){return void 0===o&&(o=!1),Nn(t)||dn(t)||!hn(t)||(yn(t)>1&&(t.set=t.add=t.clear=t.delete=Cn),Object.freeze(t),o&&un(t,(function(t,o){return Sn(o,!0)}),!0)),t}function Cn(){pn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var o=ea[t];return o||pn(18,t),o}function In(){return Hn}function $n(t,o){o&&(En("Patches"),t.u=[],t.s=[],t.v=o)}function Rn(t){kn(t),t.p.forEach(Un),t.p=null}function kn(t){t===Hn&&(Hn=t.l)}function Ln(t){return Hn={p:[],l:Hn,h:t,m:!0,_:0}}function Un(t){var o=t[Xn];0===o.i||1===o.i?o.j():o.g=!0}function Wn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||En("ES5").S(o,t,r),r?(e[Xn].P&&(Rn(o),pn(4)),hn(t)&&(t=zn(o,t),o.l||Bn(o,t)),o.u&&En("Patches").M(e[Xn].t,t,o.u,o.s)):t=zn(o,e,[]),Rn(o),o.u&&o.v(o.u,o.s),t!==Yn?t:void 0}function zn(t,o,e){if(Nn(o))return o;var r=o[Xn];if(!r)return un(o,(function(i,n){return Fn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Bn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=wn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),un(n,(function(o,n){return Fn(t,r,i,o,n,e,a)})),Bn(t,i,!1),e&&t.u&&En("Patches").N(r,e,t.u,t.s)}return r.o}function Fn(t,o,e,r,i,n,a){if(dn(i)){var s=zn(t,i,n&&o&&3!==o.i&&!gn(o.R,r)?n.concat(r):void 0);if(bn(e,r,s),!dn(s))return;t.m=!1}else a&&e.add(i);if(hn(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;zn(t,i),o&&o.A.l||Bn(t,i)}}function Bn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Sn(o,e)}function An(t,o){var e=t[Xn];return(e?On(e):t)[o]}function jn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function _n(t){t.P||(t.P=!0,t.l&&_n(t.l))}function Pn(t){t.o||(t.o=wn(t.t))}function Mn(t,o,e){var r=vn(o)?En("MapSet").F(o,e):xn(o)?En("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:In(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ra;e&&(i=[r],n=ia);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):En("ES5").J(o,e);return(e?e.A:In()).p.push(r),r}function Zn(t){return dn(t)||pn(22,t),function t(o){if(!hn(o))return o;var e,r=o[Xn],i=yn(o);if(r){if(!r.P&&(r.i<4||!En("ES5").K(r)))return r.t;r.I=!0,e=Kn(o,i),r.I=!1}else e=Kn(o,i);return un(e,(function(o,i){r&&function(t,o){return 2===yn(t)?t.get(o):t[o]}(r.t,o)===i||bn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Kn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return wn(t)}rn=ln,nn=cn,an=sn,fn.reduxProperties=new Map,fn.reduxReactiveProperties=new Set,fn.reduxEventListeners=new Map;var Dn,Hn,Tn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Gn="undefined"!=typeof Map,Vn="undefined"!=typeof Set,qn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Yn=Tn?Symbol.for("immer-nothing"):((Dn={})["immer-nothing"]=!0,Dn),Jn=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",Xn=Tn?Symbol.for("immer-state"):"__$immer_state",Qn=""+Object.prototype.constructor,ta="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,oa=Object.getOwnPropertyDescriptors||function(t){var o={};return ta(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ea={},ra={get:function(t,o){if(o===Xn)return t;var e=On(t);if(!gn(e,o))return function(t,o,e){var r,i=jn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!hn(r)?r:r===An(t.t,o)?(Pn(t),t.o[o]=Mn(t.A.h,r,t)):r},has:function(t,o){return o in On(t)},ownKeys:function(t){return Reflect.ownKeys(On(t))},set:function(t,o,e){var r=jn(On(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=An(On(t),o),n=null==i?void 0:i[Xn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(mn(e,i)&&(void 0!==e||gn(t.t,o)))return!0;Pn(t),_n(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==An(t.t,o)||o in t.t?(t.R[o]=!1,Pn(t),_n(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=On(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){pn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pn(12)}},ia={};un(ra,(function(t,o){ia[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ia.deleteProperty=function(t,o){return ia.set.call(this,t,o,void 0)},ia.set=function(t,o,e){return ra.set.call(this,t[0],o,e,t[0])};var na=function(){function t(t){var o=this;this.O=qn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&pn(6),void 0!==r&&"function"!=typeof r&&pn(7),hn(t)){var s=Ln(o),l=Mn(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?Rn(s):kn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return $n(s,r),Wn(t,s)}),(function(t){throw Rn(s),t})):($n(s,r),Wn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Yn&&(a=void 0),o.D&&Sn(a,!0),r){var f=[],p=[];En("Patches").M(t,a,f,p),r(f,p)}return a}pn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){hn(t)||pn(8),dn(t)&&(t=Zn(t));var o=Ln(this),e=Mn(this,t,void 0);return e[Xn].C=!0,kn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Xn]).A;return $n(e,o),Wn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!qn&&pn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=En("Patches").$;return dn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),aa=new na,sa=aa.produce;function la(t){return la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(t)}function ca(t){var o=function(t,o){if("object"!==la(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==la(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===la(o)?o:String(o)}function fa(t,o,e){return(o=ca(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function pa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function da(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?pa(Object(e),!0).forEach((function(o){fa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ha(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}aa.produceWithPatches.bind(aa),aa.setAutoFreeze.bind(aa),aa.setUseProxies.bind(aa),aa.applyPatches.bind(aa),aa.createDraft.bind(aa),aa.finishDraft.bind(aa);var ua="function"==typeof Symbol&&Symbol.observable||"@@observable",ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},ga={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function ba(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ha(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ha(1));return e(ba)(t,o)}if("function"!=typeof t)throw new Error(ha(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ha(3));return n}function p(t){if("function"!=typeof t)throw new Error(ha(4));if(l)throw new Error(ha(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(ha(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ha(7));if(void 0===t.type)throw new Error(ha(8));if(l)throw new Error(ha(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ga.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ha(10));i=t,d({type:ga.REPLACE})}})[ua]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ha(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ua]=function(){return this},t},r}function ma(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ga.INIT}))throw new Error(ha(12));if(void 0===e(void 0,{type:ga.PROBE_UNKNOWN_ACTION()}))throw new Error(ha(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ha(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function va(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function xa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ha(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=va.apply(void 0,n)(e.dispatch),da(da({},e),{},{dispatch:r})}}}function Oa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var wa=Oa();wa.withExtraArgument=Oa;var Sa,Ca=wa,Na=(Sa=function(t,o){return Sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Sa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Sa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ea=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Ia=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},$a=Object.defineProperty,Ra=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,za=function(t,o,e){return o in t?$a(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Fa=function(t,o){for(var e in o||(o={}))Ua.call(o,e)&&za(t,e,o[e]);if(La)for(var r=0,i=La(o);r<i.length;r++){e=i[r];Wa.call(o,e)&&za(t,e,o[e])}return t},Ba=function(t,o){return Ra(t,ka(o))},Aa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?va:va.apply(null,arguments)};var ja=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ia([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ia([void 0],t.concat(this))))},o}(Array),_a=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Ia([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ia([void 0],t.concat(this))))},o}(Array);function Pa(t){return hn(t)?sa(t,(function(){})):t}function Ma(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new ja;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ca.withExtraArgument(e.extraArgument)):r.push(Ca));return r}(t)}}function Za(t){var o,e=Ma(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ma(n)}var u=s;"function"==typeof u&&(u=u(e));var y=xa.apply(void 0,u),g=va;c&&(g=Aa(Fa({trace:!1},"object"==typeof c&&c)));var b=new _a(y),m=b;return Array.isArray(h)?m=Ia([y],h):"function"==typeof h&&(m=h(b)),ba(o,p,g.apply(void 0,m))}function Ka(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Fa(Fa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Da(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ha(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Pa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Da(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Fa(Fa({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Da(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Pa(t())};else{var c=Pa(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Ia([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(dn(t))return void 0===(r=e(t,o))?t:r;if(hn(t))return sa(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Ka(c,r):Ka(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ta=["name","message","stack","code"],Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t,o){this.payload=t,this.meta=o},qa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ta;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ya(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ba(Fa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ba(Fa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ka(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||qa)(t||"Rejected"),meta:Ba(Fa({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Ga(t,o)},fulfillWithValue:function(t,o){return new Va(t,o)}})).then((function(o){if(o instanceof Ga)throw o;return o instanceof Va?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ga?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Ya)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ja="listenerMiddleware";Ka(Ja+"/add"),Ka(Ja+"/removeAll"),Ka(Ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Xn];return ra.get(o,t)},set:function(o){var e=this[Xn];ra.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Xn];if(!i.P)switch(i.i){case 5:r(i)&&_n(i);break;case 4:e(i)&&_n(i)}}}function e(t){for(var o=t.t,e=t.k,r=ta(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Xn){var a=o[n];if(void 0===a&&!gn(o,n))return!0;var s=e[n],l=s&&s[Xn];if(l?l.t!==a:!mn(s,a))return!0}}var c=!!o[Xn];return r.length!==ta(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ea[t]||(ea[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=oa(e);delete n[Xn];for(var a=ta(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:In(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Xn,{value:n,writable:!0}),i},S:function(t,e,i){i?dn(e)&&e[Xn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Xn];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)un(n,(function(o){o!==Xn&&(void 0!==i[o]||gn(i,o)?a[o]||t(n[o]):(a[o]=!0,_n(e)))})),un(i,(function(t){void 0!==n[t]||gn(n,t)||(a[t]=!1,_n(e))}));else if(5===s){if(r(e)&&(_n(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Xa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(en(i))return i;if(null==r)return;const n=Ha({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Xa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new on,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Qa=Object.freeze({__proto__:null,FtCommandQueue:on,FtLitElementRedux:fn,FtReduxStore:Xa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))en(o)&&o.clear()},isFtReduxStore:en,redux:tn,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var ts=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const os=Symbol("elementInternals");function es(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[os].form}constructor(...t){super(t),this[os]=this.attachInternals(),this[os].role=o}setFormValue(t){this[os].setFormValue(t)}}}var rs,is,ns,as,ss=Object.freeze({__proto__:null,toFtFormComponent:es});const ls=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ns=null===(is=null===(rs=window.safari)||void 0===rs?void 0:rs.pushNotification)||void 0===is?void 0:is.toString())&&void 0!==ns?ns:""),cs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(as=window.ftGlobals)&&void 0!==as?as:{lit:xo,litDecorators:ko,litRepeat:Ko,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...ie,...ee,...ae,...le,...be,...Or,...Nr,...$i,...vr,..._i,...Pi,...he,...Ti,...Yi,...Ji,...Qi,...Qa,...Wi,...ts,...ss,isSafari:ls,isTouchScreen:cs}};const fs=ve.extend("--ft-ripple-color","",xr.colorContent),ps={color:fs,backgroundColor:ve.extend("--ft-ripple-background-color","",fs),opacityContentOnSurfacePressed:ve.external(xr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(xr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(xr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(xr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},ds=ve.extend("--ft-ripple-color","",xr.colorPrimary),hs=ds,us=ve.extend("--ft-ripple-background-color","",ds),ys=ve.extend("--ft-ripple-color","",xr.colorSecondary),gs=ys,bs=ve.extend("--ft-ripple-background-color","",ys),ms=dt`
176
+ `;var Yi=Object.freeze({__proto__:null,noTextSelect:Gi,safariEllipsisFix:qi,wordWrap:Vi}),Ji=Object.freeze({__proto__:null});class Xi{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}var Qi=Object.freeze({__proto__:null,ParametrizedLabelResolver:Xi});const tn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class on{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function en(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var rn,nn,an;const sn=Symbol("internalReduxEventsUnsubscribers"),ln=Symbol("internalStoresUnsubscribers"),cn=Symbol("internalStores");class fn extends ji{constructor(){super(...arguments),this[rn]=new Map,this[nn]=new Map,this[an]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[cn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[cn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[cn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:en(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[cn].delete(o)}setupStore(t,o){this[cn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[cn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[ln].has(t.store):this[ln].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ln].set(t,o.subscribe((()=>this.updateFromStores()))),en(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[sn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ln].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[sn].forEach((t=>t())),this[sn]=[]}unsubscribeFromStore(t){this[ln].has(t)&&this[ln].get(t)(),this[ln].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function pn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function dn(t){return!!t&&!!t[Xn]}function hn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Qn}(t)||Array.isArray(t)||!!t[Jn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Jn])||vn(t)||xn(t))}function un(t,o,e){void 0===e&&(e=!1),0===yn(t)?(e?Object.keys:ta)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function yn(t){var o=t[Xn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:vn(t)?2:xn(t)?3:0}function gn(t,o){return 2===yn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function bn(t,o,e){var r=yn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function mn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function vn(t){return Gn&&t instanceof Map}function xn(t){return Vn&&t instanceof Set}function On(t){return t.o||t.t}function wn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=oa(t);delete o[Xn];for(var e=ta(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function Sn(t,o){return void 0===o&&(o=!1),Nn(t)||dn(t)||!hn(t)||(yn(t)>1&&(t.set=t.add=t.clear=t.delete=Cn),Object.freeze(t),o&&un(t,(function(t,o){return Sn(o,!0)}),!0)),t}function Cn(){pn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var o=ea[t];return o||pn(18,t),o}function $n(){return Hn}function In(t,o){o&&(En("Patches"),t.u=[],t.s=[],t.v=o)}function Rn(t){kn(t),t.p.forEach(Un),t.p=null}function kn(t){t===Hn&&(Hn=t.l)}function Ln(t){return Hn={p:[],l:Hn,h:t,m:!0,_:0}}function Un(t){var o=t[Xn];0===o.i||1===o.i?o.j():o.g=!0}function Wn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||En("ES5").S(o,t,r),r?(e[Xn].P&&(Rn(o),pn(4)),hn(t)&&(t=zn(o,t),o.l||Fn(o,t)),o.u&&En("Patches").M(e[Xn].t,t,o.u,o.s)):t=zn(o,e,[]),Rn(o),o.u&&o.v(o.u,o.s),t!==Yn?t:void 0}function zn(t,o,e){if(Nn(o))return o;var r=o[Xn];if(!r)return un(o,(function(i,n){return Bn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Fn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=wn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),un(n,(function(o,n){return Bn(t,r,i,o,n,e,a)})),Fn(t,i,!1),e&&t.u&&En("Patches").N(r,e,t.u,t.s)}return r.o}function Bn(t,o,e,r,i,n,a){if(dn(i)){var s=zn(t,i,n&&o&&3!==o.i&&!gn(o.R,r)?n.concat(r):void 0);if(bn(e,r,s),!dn(s))return;t.m=!1}else a&&e.add(i);if(hn(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;zn(t,i),o&&o.A.l||Fn(t,i)}}function Fn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Sn(o,e)}function An(t,o){var e=t[Xn];return(e?On(e):t)[o]}function jn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function _n(t){t.P||(t.P=!0,t.l&&_n(t.l))}function Pn(t){t.o||(t.o=wn(t.t))}function Mn(t,o,e){var r=vn(o)?En("MapSet").F(o,e):xn(o)?En("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:$n(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ra;e&&(i=[r],n=ia);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):En("ES5").J(o,e);return(e?e.A:$n()).p.push(r),r}function Zn(t){return dn(t)||pn(22,t),function t(o){if(!hn(o))return o;var e,r=o[Xn],i=yn(o);if(r){if(!r.P&&(r.i<4||!En("ES5").K(r)))return r.t;r.I=!0,e=Kn(o,i),r.I=!1}else e=Kn(o,i);return un(e,(function(o,i){r&&function(t,o){return 2===yn(t)?t.get(o):t[o]}(r.t,o)===i||bn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Kn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return wn(t)}rn=ln,nn=cn,an=sn,fn.reduxProperties=new Map,fn.reduxReactiveProperties=new Set,fn.reduxEventListeners=new Map;var Dn,Hn,Tn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Gn="undefined"!=typeof Map,Vn="undefined"!=typeof Set,qn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Yn=Tn?Symbol.for("immer-nothing"):((Dn={})["immer-nothing"]=!0,Dn),Jn=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",Xn=Tn?Symbol.for("immer-state"):"__$immer_state",Qn=""+Object.prototype.constructor,ta="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,oa=Object.getOwnPropertyDescriptors||function(t){var o={};return ta(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ea={},ra={get:function(t,o){if(o===Xn)return t;var e=On(t);if(!gn(e,o))return function(t,o,e){var r,i=jn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!hn(r)?r:r===An(t.t,o)?(Pn(t),t.o[o]=Mn(t.A.h,r,t)):r},has:function(t,o){return o in On(t)},ownKeys:function(t){return Reflect.ownKeys(On(t))},set:function(t,o,e){var r=jn(On(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=An(On(t),o),n=null==i?void 0:i[Xn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(mn(e,i)&&(void 0!==e||gn(t.t,o)))return!0;Pn(t),_n(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==An(t.t,o)||o in t.t?(t.R[o]=!1,Pn(t),_n(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=On(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){pn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pn(12)}},ia={};un(ra,(function(t,o){ia[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ia.deleteProperty=function(t,o){return ia.set.call(this,t,o,void 0)},ia.set=function(t,o,e){return ra.set.call(this,t[0],o,e,t[0])};var na=function(){function t(t){var o=this;this.O=qn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&pn(6),void 0!==r&&"function"!=typeof r&&pn(7),hn(t)){var s=Ln(o),l=Mn(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?Rn(s):kn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return In(s,r),Wn(t,s)}),(function(t){throw Rn(s),t})):(In(s,r),Wn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Yn&&(a=void 0),o.D&&Sn(a,!0),r){var f=[],p=[];En("Patches").M(t,a,f,p),r(f,p)}return a}pn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){hn(t)||pn(8),dn(t)&&(t=Zn(t));var o=Ln(this),e=Mn(this,t,void 0);return e[Xn].C=!0,kn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Xn]).A;return In(e,o),Wn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!qn&&pn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=En("Patches").$;return dn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),aa=new na,sa=aa.produce;function la(t){return la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(t)}function ca(t){var o=function(t,o){if("object"!==la(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==la(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===la(o)?o:String(o)}function fa(t,o,e){return(o=ca(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function pa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function da(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?pa(Object(e),!0).forEach((function(o){fa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ha(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}aa.produceWithPatches.bind(aa),aa.setAutoFreeze.bind(aa),aa.setUseProxies.bind(aa),aa.applyPatches.bind(aa),aa.createDraft.bind(aa),aa.finishDraft.bind(aa);var ua="function"==typeof Symbol&&Symbol.observable||"@@observable",ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},ga={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function ba(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ha(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ha(1));return e(ba)(t,o)}if("function"!=typeof t)throw new Error(ha(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ha(3));return n}function p(t){if("function"!=typeof t)throw new Error(ha(4));if(l)throw new Error(ha(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(ha(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ha(7));if(void 0===t.type)throw new Error(ha(8));if(l)throw new Error(ha(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ga.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ha(10));i=t,d({type:ga.REPLACE})}})[ua]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ha(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ua]=function(){return this},t},r}function ma(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ga.INIT}))throw new Error(ha(12));if(void 0===e(void 0,{type:ga.PROBE_UNKNOWN_ACTION()}))throw new Error(ha(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ha(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function va(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function xa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ha(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=va.apply(void 0,n)(e.dispatch),da(da({},e),{},{dispatch:r})}}}function Oa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var wa=Oa();wa.withExtraArgument=Oa;var Sa,Ca=wa,Na=(Sa=function(t,o){return Sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Sa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Sa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ea=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},$a=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ia=Object.defineProperty,Ra=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,za=function(t,o,e){return o in t?Ia(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ba=function(t,o){for(var e in o||(o={}))Ua.call(o,e)&&za(t,e,o[e]);if(La)for(var r=0,i=La(o);r<i.length;r++){e=i[r];Wa.call(o,e)&&za(t,e,o[e])}return t},Fa=function(t,o){return Ra(t,ka(o))},Aa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?va:va.apply(null,arguments)};var ja=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array),_a=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Na(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array);function Pa(t){return hn(t)?sa(t,(function(){})):t}function Ma(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new ja;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ca.withExtraArgument(e.extraArgument)):r.push(Ca));return r}(t)}}function Za(t){var o,e=Ma(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ma(n)}var u=s;"function"==typeof u&&(u=u(e));var y=xa.apply(void 0,u),g=va;c&&(g=Aa(Ba({trace:!1},"object"==typeof c&&c)));var b=new _a(y),m=b;return Array.isArray(h)?m=$a([y],h):"function"==typeof h&&(m=h(b)),ba(o,p,g.apply(void 0,m))}function Ka(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Ba(Ba({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Da(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ha(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Pa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Da(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Ba(Ba({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Da(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Pa(t())};else{var c=Pa(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=$a([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(dn(t))return void 0===(r=e(t,o))?t:r;if(hn(t))return sa(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Ka(c,r):Ka(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ta=["name","message","stack","code"],Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t,o){this.payload=t,this.meta=o},qa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ta;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ya(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Fa(Ba({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Fa(Ba({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ka(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||qa)(t||"Rejected"),meta:Fa(Ba({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Ga(t,o)},fulfillWithValue:function(t,o){return new Va(t,o)}})).then((function(o){if(o instanceof Ga)throw o;return o instanceof Va?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ga?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Ya)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ja="listenerMiddleware";Ka(Ja+"/add"),Ka(Ja+"/removeAll"),Ka(Ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Xn];return ra.get(o,t)},set:function(o){var e=this[Xn];ra.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Xn];if(!i.P)switch(i.i){case 5:r(i)&&_n(i);break;case 4:e(i)&&_n(i)}}}function e(t){for(var o=t.t,e=t.k,r=ta(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Xn){var a=o[n];if(void 0===a&&!gn(o,n))return!0;var s=e[n],l=s&&s[Xn];if(l?l.t!==a:!mn(s,a))return!0}}var c=!!o[Xn];return r.length!==ta(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ea[t]||(ea[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=oa(e);delete n[Xn];for(var a=ta(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:$n(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Xn,{value:n,writable:!0}),i},S:function(t,e,i){i?dn(e)&&e[Xn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Xn];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)un(n,(function(o){o!==Xn&&(void 0!==i[o]||gn(i,o)?a[o]||t(n[o]):(a[o]=!0,_n(e)))})),un(i,(function(t){void 0!==n[t]||gn(n,t)||(a[t]=!1,_n(e))}));else if(5===s){if(r(e)&&(_n(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Xa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(en(i))return i;if(null==r)return;const n=Ha({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Xa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new on,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Qa=Object.freeze({__proto__:null,FtCommandQueue:on,FtLitElementRedux:fn,FtReduxStore:Xa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))en(o)&&o.clear()},isFtReduxStore:en,redux:tn,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var ts=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const os=Symbol("elementInternals");function es(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[os].form}constructor(...t){super(t),this[os]=this.attachInternals(),this[os].role=o}setFormValue(t){this[os].setFormValue(t)}}}var rs,is,ns,as,ss=Object.freeze({__proto__:null,toFtFormComponent:es});const ls=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ns=null===(is=null===(rs=window.safari)||void 0===rs?void 0:rs.pushNotification)||void 0===is?void 0:is.toString())&&void 0!==ns?ns:""),cs="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(as=window.ftGlobals)&&void 0!==as?as:{lit:xo,litDecorators:ko,litRepeat:Ko,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...ie,...ee,...ae,...le,...be,...Or,...Nr,...Ii,...vr,..._i,...Pi,...he,...Ti,...Yi,...Ji,...Qi,...Qa,...Wi,...ts,...ss,isSafari:ls,isTouchScreen:cs}};const fs=ve.extend("--ft-ripple-color","",xr.colorContent),ps={color:fs,backgroundColor:ve.extend("--ft-ripple-background-color","",fs),opacityContentOnSurfacePressed:ve.external(xr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(xr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(xr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(xr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},ds=ve.extend("--ft-ripple-color","",xr.colorPrimary),hs=ds,us=ve.extend("--ft-ripple-background-color","",ds),ys=ve.extend("--ft-ripple-color","",xr.colorSecondary),gs=ys,bs=ve.extend("--ft-ripple-background-color","",ys),ms=dt`
177
177
  :host {
178
178
  display: contents;
179
179
  }
@@ -285,18 +285,18 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
285
285
  opacity: ${ps.opacityContentOnSurfacePressed};
286
286
  transform: translate(-50%, -50%) scale(1);
287
287
  }
288
- `;const vs=ve.extend("--ft-typography-font-family","",xr.titleFont),xs=ve.extend("--ft-typography-font-family","",xr.contentFont),Os={fontFamily:xs,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ws=ve.extend("--ft-typography-title-font-family","",vs),Ss=ve.extend("--ft-typography-title-font-size","",Os.fontSize,"20px"),Cs=ve.extend("--ft-typography-title-font-weight","",Os.fontWeight,"normal"),Ns=ve.extend("--ft-typography-title-letter-spacing","",Os.letterSpacing,"0.15px"),Es=ve.extend("--ft-typography-title-line-height","",Os.lineHeight,"1.2"),Is=ve.extend("--ft-typography-title-text-transform","",Os.textTransform,"inherit"),$s=ve.extend("--ft-typography-title-dense-font-family","",vs),Rs=ve.extend("--ft-typography-title-dense-font-size","",Os.fontSize,"14px"),ks=ve.extend("--ft-typography-title-dense-font-weight","",Os.fontWeight,"normal"),Ls=ve.extend("--ft-typography-title-dense-letter-spacing","",Os.letterSpacing,"0.105px"),Us=ve.extend("--ft-typography-title-dense-line-height","",Os.lineHeight,"1.7"),Ws=ve.extend("--ft-typography-title-dense-text-transform","",Os.textTransform,"inherit"),zs=ve.extend("--ft-typography-subtitle1-font-family","",xs),Fs=ve.extend("--ft-typography-subtitle1-font-size","",Os.fontSize,"16px"),Bs=ve.extend("--ft-typography-subtitle1-font-weight","",Os.fontWeight,"600"),As=ve.extend("--ft-typography-subtitle1-letter-spacing","",Os.letterSpacing,"0.144px"),js=ve.extend("--ft-typography-subtitle1-line-height","",Os.lineHeight,"1.5"),_s=ve.extend("--ft-typography-subtitle1-text-transform","",Os.textTransform,"inherit"),Ps=ve.extend("--ft-typography-subtitle2-font-family","",xs),Ms=ve.extend("--ft-typography-subtitle2-font-size","",Os.fontSize,"14px"),Zs=ve.extend("--ft-typography-subtitle2-font-weight","",Os.fontWeight,"normal"),Ks=ve.extend("--ft-typography-subtitle2-letter-spacing","",Os.letterSpacing,"0.098px"),Ds=ve.extend("--ft-typography-subtitle2-line-height","",Os.lineHeight,"1.7"),Hs=ve.extend("--ft-typography-subtitle2-text-transform","",Os.textTransform,"inherit"),Ts=ve.extend("--ft-typography-body1-font-family","",xs),Gs=ve.extend("--ft-typography-body1-font-size","",Os.fontSize,"16px"),Vs=ve.extend("--ft-typography-body1-font-weight","",Os.fontWeight,"normal"),qs=ve.extend("--ft-typography-body1-letter-spacing","",Os.letterSpacing,"0.496px"),Ys=ve.extend("--ft-typography-body1-line-height","",Os.lineHeight,"1.5"),Js=ve.extend("--ft-typography-body1-text-transform","",Os.textTransform,"inherit"),Xs=ve.extend("--ft-typography-body2-font-family","",xs),Qs=ve.extend("--ft-typography-body2-font-size","",Os.fontSize,"14px"),tl=ve.extend("--ft-typography-body2-font-weight","",Os.fontWeight,"normal"),ol=ve.extend("--ft-typography-body2-letter-spacing","",Os.letterSpacing,"0.252px"),el=ve.extend("--ft-typography-body2-line-height","",Os.lineHeight,"1.4"),rl=ve.extend("--ft-typography-body2-text-transform","",Os.textTransform,"inherit"),il=ve.extend("--ft-typography-caption-font-family","",xs),nl=ve.extend("--ft-typography-caption-font-size","",Os.fontSize,"12px"),al=ve.extend("--ft-typography-caption-font-weight","",Os.fontWeight,"normal"),sl=ve.extend("--ft-typography-caption-letter-spacing","",Os.letterSpacing,"0.396px"),ll=ve.extend("--ft-typography-caption-line-height","",Os.lineHeight,"1.33"),cl=ve.extend("--ft-typography-caption-text-transform","",Os.textTransform,"inherit"),fl=ve.extend("--ft-typography-breadcrumb-font-family","",xs),pl=ve.extend("--ft-typography-breadcrumb-font-size","",Os.fontSize,"10px"),dl=ve.extend("--ft-typography-breadcrumb-font-weight","",Os.fontWeight,"normal"),hl=ve.extend("--ft-typography-breadcrumb-letter-spacing","",Os.letterSpacing,"0.33px"),ul=ve.extend("--ft-typography-breadcrumb-line-height","",Os.lineHeight,"1.6"),yl=ve.extend("--ft-typography-breadcrumb-text-transform","",Os.textTransform,"inherit"),gl=ve.extend("--ft-typography-overline-font-family","",xs),bl=ve.extend("--ft-typography-overline-font-size","",Os.fontSize,"10px"),ml=ve.extend("--ft-typography-overline-font-weight","",Os.fontWeight,"normal"),vl=ve.extend("--ft-typography-overline-letter-spacing","",Os.letterSpacing,"1.5px"),xl=ve.extend("--ft-typography-overline-line-height","",Os.lineHeight,"1.6"),Ol=ve.extend("--ft-typography-overline-text-transform","",Os.textTransform,"uppercase"),wl={fontFamily:ve.extend("--ft-typography-button-font-family","",xs),fontSize:ve.extend("--ft-typography-button-font-size","",Os.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",Os.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",Os.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",Os.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",Os.textTransform,"uppercase")},Sl=dt`
288
+ `;const vs=ve.extend("--ft-typography-font-family","",xr.titleFont),xs=ve.extend("--ft-typography-font-family","",xr.contentFont),Os={fontFamily:xs,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ws=ve.extend("--ft-typography-title-font-family","",vs),Ss=ve.extend("--ft-typography-title-font-size","",Os.fontSize,"20px"),Cs=ve.extend("--ft-typography-title-font-weight","",Os.fontWeight,"normal"),Ns=ve.extend("--ft-typography-title-letter-spacing","",Os.letterSpacing,"0.15px"),Es=ve.extend("--ft-typography-title-line-height","",Os.lineHeight,"1.2"),$s=ve.extend("--ft-typography-title-text-transform","",Os.textTransform,"inherit"),Is=ve.extend("--ft-typography-title-dense-font-family","",vs),Rs=ve.extend("--ft-typography-title-dense-font-size","",Os.fontSize,"14px"),ks=ve.extend("--ft-typography-title-dense-font-weight","",Os.fontWeight,"normal"),Ls=ve.extend("--ft-typography-title-dense-letter-spacing","",Os.letterSpacing,"0.105px"),Us=ve.extend("--ft-typography-title-dense-line-height","",Os.lineHeight,"1.7"),Ws=ve.extend("--ft-typography-title-dense-text-transform","",Os.textTransform,"inherit"),zs=ve.extend("--ft-typography-subtitle1-font-family","",xs),Bs=ve.extend("--ft-typography-subtitle1-font-size","",Os.fontSize,"16px"),Fs=ve.extend("--ft-typography-subtitle1-font-weight","",Os.fontWeight,"600"),As=ve.extend("--ft-typography-subtitle1-letter-spacing","",Os.letterSpacing,"0.144px"),js=ve.extend("--ft-typography-subtitle1-line-height","",Os.lineHeight,"1.5"),_s=ve.extend("--ft-typography-subtitle1-text-transform","",Os.textTransform,"inherit"),Ps=ve.extend("--ft-typography-subtitle2-font-family","",xs),Ms=ve.extend("--ft-typography-subtitle2-font-size","",Os.fontSize,"14px"),Zs=ve.extend("--ft-typography-subtitle2-font-weight","",Os.fontWeight,"normal"),Ks=ve.extend("--ft-typography-subtitle2-letter-spacing","",Os.letterSpacing,"0.098px"),Ds=ve.extend("--ft-typography-subtitle2-line-height","",Os.lineHeight,"1.7"),Hs=ve.extend("--ft-typography-subtitle2-text-transform","",Os.textTransform,"inherit"),Ts=ve.extend("--ft-typography-body1-font-family","",xs),Gs=ve.extend("--ft-typography-body1-font-size","",Os.fontSize,"16px"),Vs=ve.extend("--ft-typography-body1-font-weight","",Os.fontWeight,"normal"),qs=ve.extend("--ft-typography-body1-letter-spacing","",Os.letterSpacing,"0.496px"),Ys=ve.extend("--ft-typography-body1-line-height","",Os.lineHeight,"1.5"),Js=ve.extend("--ft-typography-body1-text-transform","",Os.textTransform,"inherit"),Xs=ve.extend("--ft-typography-body2-font-family","",xs),Qs=ve.extend("--ft-typography-body2-font-size","",Os.fontSize,"14px"),tl=ve.extend("--ft-typography-body2-font-weight","",Os.fontWeight,"normal"),ol=ve.extend("--ft-typography-body2-letter-spacing","",Os.letterSpacing,"0.252px"),el=ve.extend("--ft-typography-body2-line-height","",Os.lineHeight,"1.4"),rl=ve.extend("--ft-typography-body2-text-transform","",Os.textTransform,"inherit"),il=ve.extend("--ft-typography-caption-font-family","",xs),nl=ve.extend("--ft-typography-caption-font-size","",Os.fontSize,"12px"),al=ve.extend("--ft-typography-caption-font-weight","",Os.fontWeight,"normal"),sl=ve.extend("--ft-typography-caption-letter-spacing","",Os.letterSpacing,"0.396px"),ll=ve.extend("--ft-typography-caption-line-height","",Os.lineHeight,"1.33"),cl=ve.extend("--ft-typography-caption-text-transform","",Os.textTransform,"inherit"),fl=ve.extend("--ft-typography-breadcrumb-font-family","",xs),pl=ve.extend("--ft-typography-breadcrumb-font-size","",Os.fontSize,"10px"),dl=ve.extend("--ft-typography-breadcrumb-font-weight","",Os.fontWeight,"normal"),hl=ve.extend("--ft-typography-breadcrumb-letter-spacing","",Os.letterSpacing,"0.33px"),ul=ve.extend("--ft-typography-breadcrumb-line-height","",Os.lineHeight,"1.6"),yl=ve.extend("--ft-typography-breadcrumb-text-transform","",Os.textTransform,"inherit"),gl=ve.extend("--ft-typography-overline-font-family","",xs),bl=ve.extend("--ft-typography-overline-font-size","",Os.fontSize,"10px"),ml=ve.extend("--ft-typography-overline-font-weight","",Os.fontWeight,"normal"),vl=ve.extend("--ft-typography-overline-letter-spacing","",Os.letterSpacing,"1.5px"),xl=ve.extend("--ft-typography-overline-line-height","",Os.lineHeight,"1.6"),Ol=ve.extend("--ft-typography-overline-text-transform","",Os.textTransform,"uppercase"),wl={fontFamily:ve.extend("--ft-typography-button-font-family","",xs),fontSize:ve.extend("--ft-typography-button-font-size","",Os.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",Os.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",Os.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",Os.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",Os.textTransform,"uppercase")},Sl=dt`
289
289
  .ft-typography--title {
290
290
  font-family: ${ws};
291
291
  font-size: ${Ss};
292
292
  font-weight: ${Cs};
293
293
  letter-spacing: ${Ns};
294
294
  line-height: ${Es};
295
- text-transform: ${Is};
295
+ text-transform: ${$s};
296
296
  }
297
297
  `,Cl=dt`
298
298
  .ft-typography--title-dense {
299
- font-family: ${$s};
299
+ font-family: ${Is};
300
300
  font-size: ${Rs};
301
301
  font-weight: ${ks};
302
302
  letter-spacing: ${Ls};
@@ -306,8 +306,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
306
306
  `,Nl=dt`
307
307
  .ft-typography--subtitle1 {
308
308
  font-family: ${zs};
309
- font-size: ${Fs};
310
- font-weight: ${Bs};
309
+ font-size: ${Bs};
310
+ font-weight: ${Fs};
311
311
  letter-spacing: ${As};
312
312
  line-height: ${js};
313
313
  text-transform: ${_s};
@@ -322,7 +322,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
322
322
  text-transform: ${Hs};
323
323
  }
324
324
 
325
- `,Il=dt`
325
+ `,$l=dt`
326
326
  .ft-typography--body1 {
327
327
  font-family: ${Ts};
328
328
  font-size: ${Gs};
@@ -331,7 +331,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
331
331
  line-height: ${Ys};
332
332
  text-transform: ${Js};
333
333
  }
334
- `,$l=dt`
334
+ `,Il=dt`
335
335
  .ft-typography--body2 {
336
336
  font-family: ${Xs};
337
337
  font-size: ${Qs};
@@ -389,7 +389,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
389
389
  line-height: ${o.lineHeight};
390
390
  text-transform: ${o.textCase};
391
391
  }
392
- `}(t)))],Fl={color:ve.extend("--ft-loader-color","",xr.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},Bl=dt`
392
+ `}(t)))],Bl={color:ve.extend("--ft-loader-color","",xr.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},Fl=dt`
393
393
  :host {
394
394
  line-height: 0;
395
395
  }
@@ -398,8 +398,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
398
398
  display: inline-block;
399
399
  position: relative;
400
400
 
401
- width: ${Fl.size};
402
- height: ${Fl.size};
401
+ width: ${Bl.size};
402
+ height: ${Bl.size};
403
403
  }
404
404
 
405
405
  .ft-loader div {
@@ -408,7 +408,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
408
408
  width: 25%;
409
409
  height: 25%;
410
410
  border-radius: 50%;
411
- background: ${Fl.color};
411
+ background: ${Bl.color};
412
412
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
413
413
  }
414
414
 
@@ -455,7 +455,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
455
455
  transform: translate(0, 0);
456
456
  }
457
457
  100% {
458
- transform: translate(calc(0.35 * ${Fl.size}), 0);
458
+ transform: translate(calc(0.35 * ${Bl.size}), 0);
459
459
  }
460
460
  }
461
461
  `,Al={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},jl=dt`
@@ -640,8 +640,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
640
640
  }
641
641
 
642
642
  ft-loader {
643
- ${xe(Fl.size,Pl.iconSize)};
644
- ${xe(Fl.color,"var(--ft-button-internal-color)")};
643
+ ${xe(Bl.size,Pl.iconSize)};
644
+ ${xe(Bl.color,"var(--ft-button-internal-color)")};
645
645
  }
646
646
  `,Gi];var Vl=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ql extends ji{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new se(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new se(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Jt`
647
647
  <style>
@@ -654,7 +654,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
654
654
  <div class="ft-ripple--background"></div>
655
655
  <div class="ft-ripple--effect"></div>
656
656
  </div>
657
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ql.elementDefinitions={},ql.styles=ms,Vl([So({type:Boolean})],ql.prototype,"primary",void 0),Vl([So({type:Boolean})],ql.prototype,"secondary",void 0),Vl([So({type:Boolean})],ql.prototype,"unbounded",void 0),Vl([So({type:Boolean})],ql.prototype,"activated",void 0),Vl([So({type:Boolean})],ql.prototype,"selected",void 0),Vl([So({type:Boolean})],ql.prototype,"disabled",void 0),Vl([Co()],ql.prototype,"hovered",void 0),Vl([Co()],ql.prototype,"focused",void 0),Vl([Co()],ql.prototype,"pressed",void 0),Vl([Co()],ql.prototype,"rippling",void 0),Vl([Co()],ql.prototype,"originX",void 0),Vl([Co()],ql.prototype,"originY",void 0),Vl([Io(".ft-ripple")],ql.prototype,"ripple",void 0),Vl([Io(".ft-ripple--effect")],ql.prototype,"rippleEffect",void 0),ue("ft-ripple")(ql);
657
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ql.elementDefinitions={},ql.styles=ms,Vl([So({type:Boolean})],ql.prototype,"primary",void 0),Vl([So({type:Boolean})],ql.prototype,"secondary",void 0),Vl([So({type:Boolean})],ql.prototype,"unbounded",void 0),Vl([So({type:Boolean})],ql.prototype,"activated",void 0),Vl([So({type:Boolean})],ql.prototype,"selected",void 0),Vl([So({type:Boolean})],ql.prototype,"disabled",void 0),Vl([Co()],ql.prototype,"hovered",void 0),Vl([Co()],ql.prototype,"focused",void 0),Vl([Co()],ql.prototype,"pressed",void 0),Vl([Co()],ql.prototype,"rippling",void 0),Vl([Co()],ql.prototype,"originX",void 0),Vl([Co()],ql.prototype,"originY",void 0),Vl([$o(".ft-ripple")],ql.prototype,"ripple",void 0),Vl([$o(".ft-ripple--effect")],ql.prototype,"rippleEffect",void 0),ue("ft-ripple")(ql);
658
658
  /**
659
659
  * @license
660
660
  * Copyright 2020 Google LLC
@@ -667,7 +667,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
667
667
  </${Xl(this.element)}>
668
668
  `:tc`
669
669
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
670
- `}}rc.styles=[Sl,Cl,Nl,El,Il,$l,Rl,kl,Ll,Ul,Wl,...zl],ec([So()],rc.prototype,"element",void 0),ec([So()],rc.prototype,"variant",void 0),ue("ft-typography")(rc);const ic=ve.create("--ft-tooltip-distance","","SIZE","4px"),nc=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ac=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),sc=ve.create("--ft-tooltip-z-index","","NUMBER","100"),lc=ve.external(xr.borderRadiusS,"Design system"),cc=ve.create("--ft-tooltip-max-width","","SIZE","150px"),fc=dt`
670
+ `}}rc.styles=[Sl,Cl,Nl,El,$l,Il,Rl,kl,Ll,Ul,Wl,...zl],ec([So()],rc.prototype,"element",void 0),ec([So()],rc.prototype,"variant",void 0),ue("ft-typography")(rc);const ic=ve.create("--ft-tooltip-distance","","SIZE","4px"),nc=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ac=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),sc=ve.create("--ft-tooltip-z-index","","NUMBER","100"),lc=ve.external(xr.borderRadiusS,"Design system"),cc=ve.create("--ft-tooltip-max-width","","SIZE","150px"),fc=dt`
671
671
  .ft-tooltip--container {
672
672
  display: block;
673
673
  }
@@ -714,19 +714,19 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
714
714
  </div>
715
715
  </div>
716
716
  </div>
717
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ii(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}yc.elementDefinitions={"ft-typography":rc},yc.styles=fc,uc([So()],yc.prototype,"text",void 0),uc([So({type:Boolean})],yc.prototype,"manual",void 0),uc([So({type:Boolean})],yc.prototype,"inline",void 0),uc([So({type:Number})],yc.prototype,"delay",void 0),uc([So()],yc.prototype,"position",void 0),uc([Ro()],yc.prototype,"slotNodes",void 0),uc([Io(".ft-tooltip--container")],yc.prototype,"container",void 0),uc([Io(".ft-tooltip")],yc.prototype,"tooltip",void 0),uc([Io(".ft-tooltip--content")],yc.prototype,"tooltipContent",void 0),uc([Co()],yc.prototype,"visible",void 0),uc([No({passive:!0})],yc.prototype,"onTouch",null),uc([No({passive:!0})],yc.prototype,"onHover",null),uc([No({passive:!0})],yc.prototype,"onOut",null),uc([No({passive:!0})],yc.prototype,"onClick",null),ue("ft-tooltip")(yc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(pc||(pc={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(dc||(dc={})),new Map([...["abw"].map((t=>[t,dc.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,dc.AUDIO])),...["avi"].map((t=>[t,dc.AVI])),...["chm","xhs"].map((t=>[t,dc.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,dc.CODE])),...["csv"].map((t=>[t,dc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,dc.DITA])),...["epub"].map((t=>[t,dc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,dc.EXCEL])),...["flac"].map((t=>[t,dc.FLAC])),...["gif"].map((t=>[t,dc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,dc.GZIP])),...["html","htm","xhtml"].map((t=>[t,dc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,dc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,dc.JPEG])),...["json"].map((t=>[t,dc.JSON])),...["m4a","m4p"].map((t=>[t,dc.M4A])),...["mov","qt"].map((t=>[t,dc.MOV])),...["mp3"].map((t=>[t,dc.MP3])),...["mp4","m4v"].map((t=>[t,dc.MP4])),...["ogg","oga"].map((t=>[t,dc.OGG])),...["pdf","ps"].map((t=>[t,dc.PDF])),...["png"].map((t=>[t,dc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,dc.POWERPOINT])),...["rar"].map((t=>[t,dc.RAR])),...["stp"].map((t=>[t,dc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,dc.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,dc.VIDEO])),...["wav"].map((t=>[t,dc.WAV])),...["wma"].map((t=>[t,dc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,dc.WORD])),...["xml","xsl","rdf"].map((t=>[t,dc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,dc.YAML])),...["zip"].map((t=>[t,dc.ZIP]))]),dc.ABW,dc.AUDIO,dc.AVI,dc.CHM,dc.CODE,dc.CSV,dc.DITA,dc.EPUB,dc.EXCEL,dc.FLAC,dc.GIF,dc.GZIP,dc.HTML,dc.IMAGE,dc.JPEG,dc.JSON,dc.M4A,dc.MOV,dc.MP3,dc.MP4,dc.OGG,dc.PDF,dc.PNG,dc.POWERPOINT,dc.RAR,dc.STP,dc.TEXT,dc.UNKNOWN,dc.VIDEO,dc.WAV,dc.WMA,dc.WORD,dc.XML,dc.YAML,dc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hc||(hc={}));var gc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bc extends ji{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(hc).includes(this.variant)?this.variant:hc.fluid_topics,o=t!==hc.material||!!this.value;return Jt`
717
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}yc.elementDefinitions={"ft-typography":rc},yc.styles=fc,uc([So()],yc.prototype,"text",void 0),uc([So({type:Boolean})],yc.prototype,"manual",void 0),uc([So({type:Boolean})],yc.prototype,"inline",void 0),uc([So({type:Number})],yc.prototype,"delay",void 0),uc([So()],yc.prototype,"position",void 0),uc([Ro()],yc.prototype,"slotNodes",void 0),uc([$o(".ft-tooltip--container")],yc.prototype,"container",void 0),uc([$o(".ft-tooltip")],yc.prototype,"tooltip",void 0),uc([$o(".ft-tooltip--content")],yc.prototype,"tooltipContent",void 0),uc([Co()],yc.prototype,"visible",void 0),uc([No({passive:!0})],yc.prototype,"onTouch",null),uc([No({passive:!0})],yc.prototype,"onHover",null),uc([No({passive:!0})],yc.prototype,"onOut",null),uc([No({passive:!0})],yc.prototype,"onClick",null),ue("ft-tooltip")(yc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(pc||(pc={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(dc||(dc={})),new Map([...["abw"].map((t=>[t,dc.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,dc.AUDIO])),...["avi"].map((t=>[t,dc.AVI])),...["chm","xhs"].map((t=>[t,dc.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,dc.CODE])),...["csv"].map((t=>[t,dc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,dc.DITA])),...["epub"].map((t=>[t,dc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,dc.EXCEL])),...["flac"].map((t=>[t,dc.FLAC])),...["gif"].map((t=>[t,dc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,dc.GZIP])),...["html","htm","xhtml"].map((t=>[t,dc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,dc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,dc.JPEG])),...["json"].map((t=>[t,dc.JSON])),...["m4a","m4p"].map((t=>[t,dc.M4A])),...["mov","qt"].map((t=>[t,dc.MOV])),...["mp3"].map((t=>[t,dc.MP3])),...["mp4","m4v"].map((t=>[t,dc.MP4])),...["ogg","oga"].map((t=>[t,dc.OGG])),...["pdf","ps"].map((t=>[t,dc.PDF])),...["png"].map((t=>[t,dc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,dc.POWERPOINT])),...["rar"].map((t=>[t,dc.RAR])),...["stp"].map((t=>[t,dc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,dc.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,dc.VIDEO])),...["wav"].map((t=>[t,dc.WAV])),...["wma"].map((t=>[t,dc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,dc.WORD])),...["xml","xsl","rdf"].map((t=>[t,dc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,dc.YAML])),...["zip"].map((t=>[t,dc.ZIP]))]),dc.ABW,dc.AUDIO,dc.AVI,dc.CHM,dc.CODE,dc.CSV,dc.DITA,dc.EPUB,dc.EXCEL,dc.FLAC,dc.GIF,dc.GZIP,dc.HTML,dc.IMAGE,dc.JPEG,dc.JSON,dc.M4A,dc.MOV,dc.MP3,dc.MP4,dc.OGG,dc.PDF,dc.PNG,dc.POWERPOINT,dc.RAR,dc.STP,dc.TEXT,dc.UNKNOWN,dc.VIDEO,dc.WAV,dc.WMA,dc.WORD,dc.XML,dc.YAML,dc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hc||(hc={}));var gc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class bc extends ji{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(hc).includes(this.variant)?this.variant:hc.fluid_topics,o=t!==hc.material||!!this.value;return Jt`
718
718
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
719
719
  ${Jo(this.resolvedIcon)}
720
720
  <slot ?hidden=${o}></slot>
721
721
  </i>
722
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case hc.file_format:this.resolvedIcon=null!==(t=dc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case hc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=pc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}bc.elementDefinitions={},bc.styles=jl,gc([So()],bc.prototype,"variant",void 0),gc([So()],bc.prototype,"value",void 0),gc([Co()],bc.prototype,"resolvedIcon",void 0),gc([Io("slot")],bc.prototype,"slottedContent",void 0),ue("ft-icon")(bc);class mc extends ji{render(){return Jt`
722
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case hc.file_format:this.resolvedIcon=null!==(t=dc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case hc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=pc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}bc.elementDefinitions={},bc.styles=jl,gc([So()],bc.prototype,"variant",void 0),gc([So()],bc.prototype,"value",void 0),gc([Co()],bc.prototype,"resolvedIcon",void 0),gc([$o("slot")],bc.prototype,"slottedContent",void 0),ue("ft-icon")(bc);class mc extends ji{render(){return Jt`
723
723
  <div class="ft-loader">
724
724
  <div></div>
725
725
  <div></div>
726
726
  <div></div>
727
727
  <div></div>
728
728
  </div>
729
- `}}mc.styles=Bl,ue("ft-loader")(mc);var vc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xc extends(es(ji,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
729
+ `}}mc.styles=Fl,ue("ft-loader")(mc);var vc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xc extends(es(ji,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
730
730
  <button part="button"
731
731
  class="${Do(this.buttonClasses)}"
732
732
  aria-label="${this.getLabel()}"
@@ -749,7 +749,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
749
749
  </ft-tooltip>
750
750
  `:t}resolveIcon(){return this.loading?Jt`
751
751
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
752
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:to}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xc.elementDefinitions={"ft-ripple":ql,"ft-tooltip":yc,"ft-typography":rc,"ft-icon":bc,"ft-loader":mc},vc([So({type:String,reflect:!0})],xc.prototype,"role",void 0),vc([So()],xc.prototype,"type",void 0),vc([So({type:Boolean})],xc.prototype,"disabled",void 0),vc([So()],xc.prototype,"label",void 0),vc([So()],xc.prototype,"icon",void 0),vc([So()],xc.prototype,"iconVariant",void 0),vc([So({type:Boolean})],xc.prototype,"trailingIcon",void 0),vc([So({type:Boolean})],xc.prototype,"loading",void 0),vc([So()],xc.prototype,"tooltipPosition",void 0),vc([So({type:Boolean})],xc.prototype,"hideTooltip",void 0),vc([So({type:Boolean})],xc.prototype,"forceTooltip",void 0),vc([Io(".ft-button")],xc.prototype,"button",void 0),vc([Io(".ft-button--label slot")],xc.prototype,"slottedContent",void 0);var Oc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wc extends xc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}wc.styles=[qi,Gl],Oc([So({type:Boolean})],wc.prototype,"primary",void 0),Oc([So({type:Boolean})],wc.prototype,"outlined",void 0),Oc([So({type:Boolean})],wc.prototype,"dense",void 0),Oc([So({type:Boolean})],wc.prototype,"round",void 0);const Sc=[dt`
752
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:to}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xc.elementDefinitions={"ft-ripple":ql,"ft-tooltip":yc,"ft-typography":rc,"ft-icon":bc,"ft-loader":mc},vc([So({type:String,reflect:!0})],xc.prototype,"role",void 0),vc([So()],xc.prototype,"type",void 0),vc([So({type:Boolean})],xc.prototype,"disabled",void 0),vc([So()],xc.prototype,"label",void 0),vc([So()],xc.prototype,"icon",void 0),vc([So()],xc.prototype,"iconVariant",void 0),vc([So({type:Boolean})],xc.prototype,"trailingIcon",void 0),vc([So({type:Boolean})],xc.prototype,"loading",void 0),vc([So()],xc.prototype,"tooltipPosition",void 0),vc([So({type:Boolean})],xc.prototype,"hideTooltip",void 0),vc([So({type:Boolean})],xc.prototype,"forceTooltip",void 0),vc([$o(".ft-button")],xc.prototype,"button",void 0),vc([$o(".ft-button--label slot")],xc.prototype,"slottedContent",void 0);var Oc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wc extends xc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}wc.styles=[qi,Gl],Oc([So({type:Boolean})],wc.prototype,"primary",void 0),Oc([So({type:Boolean})],wc.prototype,"outlined",void 0),Oc([So({type:Boolean})],wc.prototype,"dense",void 0),Oc([So({type:Boolean})],wc.prototype,"round",void 0);const Sc=[dt`
753
753
  :host {
754
754
  display: inline-block;
755
755
  max-width: 100%;
@@ -828,7 +828,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
828
828
  /** Primary styles **/
829
829
 
830
830
  .ft-button--primary {
831
- ${xe(Fl.color,Ye.primaryIconColor)};
831
+ ${xe(Bl.color,Ye.primaryIconColor)};
832
832
 
833
833
  ${xe(ps.color,Ye.primaryStateLayerColor)};
834
834
  ${xe(ps.opacityContentOnSurfaceHover,Ye.primaryHoverStateLayerOpacity)};
@@ -852,7 +852,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
852
852
  /** Secondary styles **/
853
853
 
854
854
  .ft-button--secondary {
855
- ${xe(Fl.color,Ye.secondaryIconColor)};
855
+ ${xe(Bl.color,Ye.secondaryIconColor)};
856
856
 
857
857
  ${xe(ps.color,Ye.secondaryStateLayerColor)};
858
858
  ${xe(ps.opacityContentOnSurfaceHover,Ye.secondaryHoverStateLayerOpacity)};
@@ -877,7 +877,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
877
877
  /** Tertiary styles **/
878
878
 
879
879
  .ft-button--tertiary {
880
- ${xe(Fl.color,Ye.tertiaryIconColor)};
880
+ ${xe(Bl.color,Ye.tertiaryIconColor)};
881
881
 
882
882
  ${xe(ps.color,Ye.tertiaryStateLayerColor)};
883
883
  ${xe(ps.opacityContentOnSurfaceHover,Ye.tertiaryHoverStateLayerOpacity)};
@@ -901,7 +901,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
901
901
  /** Neutral styles **/
902
902
 
903
903
  .ft-button--neutral {
904
- ${xe(Fl.color,Ye.neutralIconColor)};
904
+ ${xe(Bl.color,Ye.neutralIconColor)};
905
905
 
906
906
  ${xe(ps.backgroundColor,Ye.neutralStateLayerColor)};
907
907
  ${xe(ps.opacityContentOnSurfaceHover,Ye.neutralHoverStateLayerOpacity)};
@@ -926,7 +926,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
926
926
 
927
927
  .ft-button--large {
928
928
  ${xe(Al.size,Ye.largeIconSize)};
929
- ${xe(Fl.size,Ye.largeIconSize)};
929
+ ${xe(Bl.size,Ye.largeIconSize)};
930
930
 
931
931
  height: ${Ye.largeHeight};
932
932
  padding: 0 ${Ye.largeHorizontalPadding};
@@ -949,7 +949,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
949
949
 
950
950
  .ft-button--small {
951
951
  ${xe(Al.size,Ye.smallIconSize)};
952
- ${xe(Fl.size,Ye.smallIconSize)};
952
+ ${xe(Bl.size,Ye.smallIconSize)};
953
953
 
954
954
  height: ${Ye.smallHeight};
955
955
  padding: 0 ${Ye.smallHorizontalPadding};
@@ -967,7 +967,7 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
967
967
  width: ${Ye.smallIconOnlyWidth};
968
968
  padding: unset;
969
969
  }
970
- `,Gi];var Cc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nc extends xc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?oc.caption1medium:oc.body2medium}}Nc.styles=[qi,Sc],Cc([So({type:Boolean})],Nc.prototype,"primary",void 0),Cc([So({type:Boolean})],Nc.prototype,"secondary",void 0),Cc([So({type:Boolean})],Nc.prototype,"tertiary",void 0),Cc([So({type:Boolean})],Nc.prototype,"neutral",void 0),Cc([So({type:Boolean})],Nc.prototype,"small",void 0),ue("ft-button")(wc),ue("ftds-button")(Nc);const Ec={spacing:ve.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:ve.extend("--ft-copy-block-border-radius","",xr.borderRadiusS),borderStyle:ve.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:ve.extend("--ft-copy-block-border-color","",xr.colorOutline),borderWidth:ve.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:ve.extend("--ft-copy-block-background-color","",xr.colorSurface),buttonHeight:ve.create("--ft-copy-block-button-height","","SIZE","unset")},Ic=dt`
970
+ `,Gi];var Cc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nc extends xc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?oc.caption1medium:oc.body2medium}}Nc.styles=[qi,Sc],Cc([So({type:Boolean})],Nc.prototype,"primary",void 0),Cc([So({type:Boolean})],Nc.prototype,"secondary",void 0),Cc([So({type:Boolean})],Nc.prototype,"tertiary",void 0),Cc([So({type:Boolean})],Nc.prototype,"neutral",void 0),Cc([So({type:Boolean})],Nc.prototype,"small",void 0),ue("ft-button")(wc),ue("ftds-button")(Nc);const Ec={spacing:ve.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:ve.extend("--ft-copy-block-border-radius","",xr.borderRadiusS),borderStyle:ve.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:ve.extend("--ft-copy-block-border-color","",xr.colorOutline),borderWidth:ve.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:ve.extend("--ft-copy-block-background-color","",xr.colorSurface),buttonHeight:ve.create("--ft-copy-block-button-height","","SIZE","unset")},$c=dt`
971
971
  :host {
972
972
  display: block;
973
973
  }
@@ -1010,15 +1010,15 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
1010
1010
  height: ${Ec.buttonHeight}
1011
1011
  }
1012
1012
 
1013
- `,$c=dt`
1013
+ `,Ic=dt`
1014
1014
  `,Rc=dt`
1015
- `,kc=Xa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Lc{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=kc.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Lc.build(t):null!==(o=Lc.API)&&void 0!==o?o:Lc.API=Lc.build()}static await(t){return new Promise((o=>{let e=Lc.get(t);if(e)o(e);else{const r=kc.subscribe((()=>{e=Lc.get(t),e&&(r(),o(e))}))}}))}}class Uc{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new re,this.cache=t?r.commonCache:new re}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Lc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Lc.await()}clearCache(){this.cache.clearAll()}}var Wc;const zc=Symbol("clearAfterUnitTest");class Fc extends Uc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Wc]=()=>{this.defaultMessages={},this.cache=new re,this.listeners={}},this.currentUiLocale=kc.getState().uiLocale,kc.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=kc.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};de(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Xi(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ce(0).then((()=>t())).catch((()=>null)))))}}Wc=zc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Fc{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Fc{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Bc=window.FluidTopicsI18nService,Ac=window.FluidTopicsCustomI18nService;var jc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _c extends ji{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Lc.get(),this.cache=new re,this.cleanSessionDebouncer=new se}render(){return Jt`
1015
+ `,kc=Xa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Lc{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=kc.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Lc.build(t):null!==(o=Lc.API)&&void 0!==o?o:Lc.API=Lc.build()}static await(t){return new Promise((o=>{let e=Lc.get(t);if(e)o(e);else{const r=kc.subscribe((()=>{e=Lc.get(t),e&&(r(),o(e))}))}}))}}class Uc{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new re,this.cache=t?r.commonCache:new re}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Lc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Lc.await()}clearCache(){this.cache.clearAll()}}var Wc;const zc=Symbol("clearAfterUnitTest");class Bc extends Uc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Wc]=()=>{this.defaultMessages={},this.cache=new re,this.listeners={}},this.currentUiLocale=kc.getState().uiLocale,kc.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=kc.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};de(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Xi(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ce(0).then((()=>t())).catch((()=>null)))))}}Wc=zc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Bc{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Bc{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Fc=window.FluidTopicsI18nService,Ac=window.FluidTopicsCustomI18nService;var jc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _c extends ji{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Lc.get(),this.cache=new re,this.cleanSessionDebouncer=new se}render(){return Jt`
1016
1016
  <slot></slot>
1017
- `}update(t){super.update(t),t.has("baseUrl")&&(kc.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&kc.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&kc.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&kc.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&kc.actions.noCustom(this.noCustom),t.has("editorMode")&&kc.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&kc.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&kc.actions.session(this.session),t.has("availableUiLocales")&&kc.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Bc.addContext(t))),t.has("openExternalDocumentInNewTab")&&kc.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}_c.elementDefinitions={},_c.styles=Rc,jc([So()],_c.prototype,"baseUrl",void 0),jc([So()],_c.prototype,"apiIntegrationIdentifier",void 0),jc([So()],_c.prototype,"uiLocale",void 0),jc([ye(null)],_c.prototype,"availableUiLocales",void 0),jc([ye(null)],_c.prototype,"metadataConfiguration",void 0),jc([So({type:Boolean})],_c.prototype,"editorMode",void 0),jc([So({type:Boolean})],_c.prototype,"noCustom",void 0),jc([So({type:Boolean})],_c.prototype,"openExternalDocumentInNewTab",void 0),jc([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_c.prototype,"noCustomComponent",void 0),jc([So({type:Boolean})],_c.prototype,"withManualResources",void 0),jc([ye([])],_c.prototype,"messageContexts",void 0),jc([ye(void 0)],_c.prototype,"session",void 0),jc([So({type:Object})],_c.prototype,"apiProvider",void 0);class Pc extends Uc{async listMySearches(){let t=kc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Mc extends Uc{async listMyBookmarks(){let t=kc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Zc=Xa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=kc.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mc,this.savedSearchesService=new Pc,kc.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=kc.getState();de(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Zc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Zc.actions.bookmarks(o)}}},ue("ft-app-context")(_c);var Kc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Dc=Symbol("i18nAttributes"),Hc=Symbol("i18nProperties"),Tc=Symbol("i18nUnsubs");function Gc(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ac:Bc}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Dc])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Hc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Dc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[Hc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Hc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Dc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Tc].has(t)||this[Tc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Tc].forEach((t=>t())),this[Tc].clear()}}return o=Tc,Kc([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Vc extends(Gc(ji)){}class qc extends(Gc(fn)){}var Yc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Jc extends qc{constructor(){super(),this.editorMode=!1,this.addStore(kc)}render(){return this.key&&this.context?Jt`
1017
+ `}update(t){super.update(t),t.has("baseUrl")&&(kc.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&kc.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&kc.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&kc.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&kc.actions.noCustom(this.noCustom),t.has("editorMode")&&kc.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&kc.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&kc.actions.session(this.session),t.has("availableUiLocales")&&kc.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fc.addContext(t))),t.has("openExternalDocumentInNewTab")&&kc.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}_c.elementDefinitions={},_c.styles=Rc,jc([So()],_c.prototype,"baseUrl",void 0),jc([So()],_c.prototype,"apiIntegrationIdentifier",void 0),jc([So()],_c.prototype,"uiLocale",void 0),jc([ye(null)],_c.prototype,"availableUiLocales",void 0),jc([ye(null)],_c.prototype,"metadataConfiguration",void 0),jc([So({type:Boolean})],_c.prototype,"editorMode",void 0),jc([So({type:Boolean})],_c.prototype,"noCustom",void 0),jc([So({type:Boolean})],_c.prototype,"openExternalDocumentInNewTab",void 0),jc([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],_c.prototype,"noCustomComponent",void 0),jc([So({type:Boolean})],_c.prototype,"withManualResources",void 0),jc([ye([])],_c.prototype,"messageContexts",void 0),jc([ye(void 0)],_c.prototype,"session",void 0),jc([So({type:Object})],_c.prototype,"apiProvider",void 0);class Pc extends Uc{async listMySearches(){let t=kc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Mc extends Uc{async listMyBookmarks(){let t=kc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Zc=Xa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=kc.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mc,this.savedSearchesService=new Pc,kc.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=kc.getState();de(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Zc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Zc.actions.bookmarks(o)}}},ue("ft-app-context")(_c);var Kc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Dc=Symbol("i18nAttributes"),Hc=Symbol("i18nProperties"),Tc=Symbol("i18nUnsubs");function Gc(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ac:Fc}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Dc])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[Hc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Dc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[Hc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Hc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Dc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Tc].has(t)||this[Tc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Tc].forEach((t=>t())),this[Tc].clear()}}return o=Tc,Kc([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Vc extends(Gc(ji)){}class qc extends(Gc(fn)){}var Yc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Jc extends qc{constructor(){super(),this.editorMode=!1,this.addStore(kc)}render(){return this.key&&this.context?Jt`
1018
1018
  <span class="ft-i18n">
1019
1019
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1020
1020
  </span>
1021
- `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Jc.elementDefinitions={},Jc.styles=$c,Yc([tn()],Jc.prototype,"editorMode",void 0),Yc([So()],Jc.prototype,"context",void 0),Yc([So()],Jc.prototype,"key",void 0),Yc([ye([])],Jc.prototype,"args",void 0),Yc([So()],Jc.prototype,"defaultMessage",void 0);class Xc{static build(t){return new Xc(t)}static fromGwt(t){return new Xc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Bc.resolveMessage(this.name,o,...t)})}}ue("ft-i18n")(Jc);const Qc=Xc.build("copyBlockComponent"),tf={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var of=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ef extends Vc{constructor(){super(),this.addI18nContext(Qc,tf)}render(){return Jt`
1021
+ `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Jc.elementDefinitions={},Jc.styles=Ic,Yc([tn()],Jc.prototype,"editorMode",void 0),Yc([So()],Jc.prototype,"context",void 0),Yc([So()],Jc.prototype,"key",void 0),Yc([ye([])],Jc.prototype,"args",void 0),Yc([So()],Jc.prototype,"defaultMessage",void 0);class Xc{static build(t){return new Xc(t)}static fromGwt(t){return new Xc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Fc.resolveMessage(this.name,o,...t)})}}ue("ft-i18n")(Jc);const Qc=Xc.build("copyBlockComponent"),tf={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var of=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ef extends Vc{constructor(){super(),this.addI18nContext(Qc,tf)}render(){return Jt`
1022
1022
  <div part="container">
1023
1023
  ${navigator.clipboard?Jt`
1024
1024
  <div part="button-container">
@@ -1032,4 +1032,4 @@ const Yl=Symbol.for(""),Jl=t=>{if(t?.r===Yl)return t?._$litStatic$},Xl=t=>({_$li
1032
1032
  <slot></slot>
1033
1033
  </div>
1034
1034
  </div>
1035
- `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=Qc.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=Qc.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}ef.elementDefinitions={"ft-button":wc,"ft-tooltip":yc},ef.styles=Ic,of([Io("[part='tooltip']")],ef.prototype,"tooltip",void 0),ue("ft-copy-block")(ef),t.FtCopyBlock=ef,t.FtCopyBlockCssVariables=Ec,t.styles=Ic}({});
1035
+ `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=Qc.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=Qc.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}ef.elementDefinitions={"ft-button":wc,"ft-tooltip":yc},ef.styles=$c,of([$o("[part='tooltip']")],ef.prototype,"tooltip",void 0),ue("ft-copy-block")(ef),t.FtCopyBlock=ef,t.FtCopyBlockCssVariables=Ec,t.styles=$c}({});