@fluid-topics/ft-search-locale-selector 1.0.52 → 1.0.53
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,i,e,o,s,n,r){const l={distance:i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),color:i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","
|
|
1
|
+
!function(t,i,e,o,s,n,r){const l={distance:i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),color:i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),borderRadiusS:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),maxWidth:i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px")},a=e.css`
|
|
2
2
|
.ft-tooltip--container {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
position: relative;
|
|
28
28
|
word-break: break-word;
|
|
29
29
|
}
|
|
30
|
-
`,h=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),p=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),c={fontFamily:p,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},d=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",h),f=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",c.fontSize,"20px"),u=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",c.fontWeight,"normal"),v=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",c.letterSpacing,"0.15px"),x=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",c.lineHeight,"1.2"),g=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",c.textTransform,"inherit"),b=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",h),y=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",c.fontSize,"14px"),m=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",c.fontWeight,"normal"),$=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",c.letterSpacing,"0.105px"),w=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",c.lineHeight,"1.7"),k=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",c.textTransform,"inherit"),S=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",p),z=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",c.fontSize,"16px"),
|
|
30
|
+
`,h=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),p=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),c={fontFamily:p,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},d=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",h),f=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",c.fontSize,"20px"),u=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",c.fontWeight,"normal"),v=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",c.letterSpacing,"0.15px"),x=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",c.lineHeight,"1.2"),g=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",c.textTransform,"inherit"),b=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",h),y=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",c.fontSize,"14px"),m=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",c.fontWeight,"normal"),$=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",c.letterSpacing,"0.105px"),w=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",c.lineHeight,"1.7"),k=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",c.textTransform,"inherit"),S=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",p),z=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",c.fontSize,"16px"),O=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",c.fontWeight,"600"),C=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",c.letterSpacing,"0.144px"),I=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",c.lineHeight,"1.5"),j=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",c.textTransform,"inherit"),B=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",p),E=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",c.fontSize,"14px"),M=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",c.fontWeight,"normal"),T=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",c.letterSpacing,"0.098px"),L=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",c.lineHeight,"1.7"),A=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",c.textTransform,"inherit"),N=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",p),D=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",c.fontSize,"16px"),R=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",c.fontWeight,"normal"),U=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",c.letterSpacing,"0.496px"),F=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",c.lineHeight,"1.5"),_=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",c.textTransform,"inherit"),P={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",p),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",c.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",c.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",c.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",c.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",c.textTransform,"inherit")},H=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",p),W=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",c.fontSize,"12px"),Z=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",c.fontWeight,"normal"),V=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",c.letterSpacing,"0.396px"),K=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",c.lineHeight,"1.33"),G=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",c.textTransform,"inherit"),q=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",p),X=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",c.fontSize,"10px"),Y=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",c.fontWeight,"normal"),J=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",c.letterSpacing,"0.33px"),Q=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",c.lineHeight,"1.6"),tt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",c.textTransform,"inherit"),it=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",p),et=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",c.fontSize,"10px"),ot=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",c.fontWeight,"normal"),st=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",c.letterSpacing,"1.5px"),nt=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",c.lineHeight,"1.6"),rt=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",c.textTransform,"uppercase"),lt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",p),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",c.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",c.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",c.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",c.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",c.textTransform,"uppercase")},at=e.css`
|
|
31
31
|
.ft-typography--title {
|
|
32
32
|
font-family: ${d};
|
|
33
33
|
font-size: ${f};
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
.ft-typography--subtitle1 {
|
|
50
50
|
font-family: ${S};
|
|
51
51
|
font-size: ${z};
|
|
52
|
-
font-weight: ${
|
|
53
|
-
letter-spacing: ${
|
|
52
|
+
font-weight: ${O};
|
|
53
|
+
letter-spacing: ${C};
|
|
54
54
|
line-height: ${I};
|
|
55
55
|
text-transform: ${j};
|
|
56
56
|
}
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
.ft-typography--caption {
|
|
87
87
|
font-family: ${H};
|
|
88
88
|
font-size: ${W};
|
|
89
|
-
font-weight: ${
|
|
90
|
-
letter-spacing: ${
|
|
89
|
+
font-weight: ${Z};
|
|
90
|
+
letter-spacing: ${V};
|
|
91
91
|
line-height: ${K};
|
|
92
92
|
text-transform: ${G};
|
|
93
93
|
}
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
.ft-typography {
|
|
123
123
|
vertical-align: inherit;
|
|
124
124
|
}
|
|
125
|
-
`,yt=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),mt={color:yt,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",yt),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},$t=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),wt=$t,kt=i.FtCssVariableFactory.extend("--ft-ripple-background-color",$t),St=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),zt=St,
|
|
125
|
+
`,yt=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),mt={color:yt,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",yt),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},$t=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),wt=$t,kt=i.FtCssVariableFactory.extend("--ft-ripple-background-color",$t),St=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),zt=St,Ot=i.FtCssVariableFactory.extend("--ft-ripple-background-color",St),Ct=e.css`
|
|
126
126
|
:host {
|
|
127
127
|
display: contents;
|
|
128
128
|
}
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
156
|
-
background-color: ${
|
|
156
|
+
background-color: ${Ot};
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
${i.setVariable(It.size,Tt.iconSize)};
|
|
467
467
|
${i.setVariable(It.color,"var(--ft-button-internal-color)")};
|
|
468
468
|
}
|
|
469
|
-
`,i.noTextSelect],_t=i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),Pt=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurface,"Design system"),Ht=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),Wt=i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),
|
|
469
|
+
`,i.noTextSelect],_t=i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),Pt=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurface,"Design system"),Ht=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),Wt=i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),Zt=i.FtCssVariableFactory.external(i.designSystemVariables.colorSurface,"Design system"),Vt=i.FtCssVariableFactory.external(i.designSystemVariables.transitionDuration,"Design system"),Kt=i.FtCssVariableFactory.external(i.designSystemVariables.transitionTimingFunction,"Design system"),Gt=[ut,e.css`
|
|
470
470
|
:host {
|
|
471
471
|
display: flex;
|
|
472
472
|
max-height: 100%;
|
|
@@ -515,8 +515,8 @@
|
|
|
515
515
|
padding: 0 10px;
|
|
516
516
|
overflow: hidden;
|
|
517
517
|
height: 32px;
|
|
518
|
-
transition: height ${
|
|
519
|
-
margin ${
|
|
518
|
+
transition: height ${Vt} ${Kt},
|
|
519
|
+
margin ${Vt} ${Kt};
|
|
520
520
|
transition-delay: 500ms;
|
|
521
521
|
}
|
|
522
522
|
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
border-radius: 4px;
|
|
532
532
|
border: 1px solid ${_t};
|
|
533
533
|
padding: 4px;
|
|
534
|
-
background-color: ${
|
|
534
|
+
background-color: ${Zt};
|
|
535
535
|
color: ${Pt};
|
|
536
536
|
outline-color: ${Wt};
|
|
537
537
|
}
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
* @license
|
|
652
652
|
* Copyright 2017 Google LLC
|
|
653
653
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
654
|
-
*/var wi;const ki=window,Si=ki.trustedTypes,zi=Si?Si.createPolicy("lit-html",{createHTML:t=>t}):void 0,
|
|
654
|
+
*/var wi;const ki=window,Si=ki.trustedTypes,zi=Si?Si.createPolicy("lit-html",{createHTML:t=>t}):void 0,Oi="$lit$",Ci=`lit$${(Math.random()+"").slice(9)}$`,Ii="?"+Ci,ji=`<${Ii}>`,Bi=document,Ei=()=>Bi.createComment(""),Mi=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ti=Array.isArray,Li="[ \t\n\f\r]",Ai=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ni=/-->/g,Di=/>/g,Ri=RegExp(`>|${Li}(?:([^\\s"'>=/]+)(${Li}*=${Li}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,Fi=/"/g,_i=/^(?:script|style|textarea|title)$/i,Pi=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Hi=Symbol.for("lit-noChange"),Wi=Symbol.for("lit-nothing"),Zi=new WeakMap,Vi=Bi.createTreeWalker(Bi,129,null,!1),Ki=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=Ai;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,a=r.exec(e),null!==a);)p=r.lastIndex,r===Ai?"!--"===a[1]?r=Ni:void 0!==a[1]?r=Di:void 0!==a[2]?(_i.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=Ri):void 0!==a[3]&&(r=Ri):r===Ri?">"===a[0]?(r=null!=s?s:Ai,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?Ri:'"'===a[3]?Fi:Ui):r===Fi||r===Ui?r=Ri:r===Ni||r===Di?r=Ai:(r=Ri,s=void 0);const c=r===Ri&&t[i+1].startsWith("/>")?" ":"";n+=r===Ai?e+ji:h>=0?(o.push(l),e.slice(0,h)+Oi+e.slice(h)+Ci+c):e+Ci+(-2===h?(o.push(void 0),i):c)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==zi?zi.createHTML(l):l,o]};class Gi{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=Ki(t,i);if(this.el=Gi.createElement(a,e),Vi.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=Vi.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(Oi)||i.startsWith(Ci)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+Oi).split(Ci),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?Qi:"?"===i[1]?ie:"@"===i[1]?ee:Ji})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(_i.test(o.tagName)){const t=o.textContent.split(Ci),i=t.length-1;if(i>0){o.textContent=Si?Si.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],Ei()),Vi.nextNode(),l.push({type:2,index:++s});o.append(t[i],Ei())}}}else if(8===o.nodeType)if(o.data===Ii)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(Ci,t+1));)l.push({type:7,index:s}),t+=Ci.length-1}s++}}static createElement(t,i){const e=Bi.createElement("template");return e.innerHTML=t,e}}function qi(t,i,e=t,o){var s,n,r,l;if(i===Hi)return i;let a=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const h=Mi(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=qi(t,a._$AS(t,i.values),a,o)),i}class Xi{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:Bi).importNode(e,!0);Vi.currentNode=s;let n=Vi.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new Yi(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new oe(n,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Vi.nextNode(),r++)}return s}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Yi{constructor(t,i,e,o){var s;this.type=2,this._$AH=Wi,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=qi(this,t,i),Mi(t)?t===Wi||null==t||""===t?(this._$AH!==Wi&&this._$AR(),this._$AH=Wi):t!==this._$AH&&t!==Hi&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ti(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==Wi&&Mi(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bi.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Gi.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(e);else{const t=new Xi(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Zi.get(t.strings);return void 0===i&&Zi.set(t.strings,i=new Gi(t)),i}T(t){Ti(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new Yi(this.k(Ei()),this.k(Ei()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Ji{constructor(t,i,e,o,s){this.type=1,this._$AH=Wi,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Wi}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=qi(this,t,i,0),n=!Mi(t)||t!==this._$AH&&t!==Hi,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=qi(this,o[e+r],i,r),l===Hi&&(l=this._$AH[r]),n||(n=!Mi(l)||l!==this._$AH[r]),l===Wi?t=Wi:t!==Wi&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===Wi?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Qi extends Ji{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Wi?void 0:t}}const te=Si?Si.emptyScript:"";class ie extends Ji{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Wi?this.element.setAttribute(this.name,te):this.element.removeAttribute(this.name)}}class ee extends Ji{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=qi(this,t,i,0))&&void 0!==e?e:Wi)===Hi)return;const o=this._$AH,s=t===Wi&&o!==Wi||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Wi&&(o===Wi||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class oe{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){qi(this,t)}}const se=ki.litHtmlPolyfillSupport;null==se||se(Gi,Yi),(null!==(wi=ki.litHtmlVersions)&&void 0!==wi?wi:ki.litHtmlVersions=[]).push("2.7.3");
|
|
655
655
|
/**
|
|
656
656
|
* @license
|
|
657
657
|
* Copyright 2020 Google LLC
|
|
@@ -681,7 +681,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
681
681
|
<div class="ft-ripple--background"></div>
|
|
682
682
|
<div class="ft-ripple--effect"></div>
|
|
683
683
|
</div>
|
|
684
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ue.elementDefinitions={},ue.styles=
|
|
684
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}ue.elementDefinitions={},ue.styles=Ct,fe([s.property({type:Boolean})],ue.prototype,"primary",void 0),fe([s.property({type:Boolean})],ue.prototype,"secondary",void 0),fe([s.property({type:Boolean})],ue.prototype,"unbounded",void 0),fe([s.property({type:Boolean})],ue.prototype,"activated",void 0),fe([s.property({type:Boolean})],ue.prototype,"selected",void 0),fe([s.property({type:Boolean})],ue.prototype,"disabled",void 0),fe([s.state()],ue.prototype,"hovered",void 0),fe([s.state()],ue.prototype,"focused",void 0),fe([s.state()],ue.prototype,"pressed",void 0),fe([s.state()],ue.prototype,"rippling",void 0),fe([s.state()],ue.prototype,"rippleSize",void 0),fe([s.state()],ue.prototype,"originX",void 0),fe([s.state()],ue.prototype,"originY",void 0),fe([s.query(".ft-ripple")],ue.prototype,"ripple",void 0),fe([s.query(".ft-ripple--effect")],ue.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(ue);var ve,xe,ge,be=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class ye extends i.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i.Debouncer,this.revealDebouncer=new i.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
685
685
|
<div part="container"
|
|
686
686
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
687
687
|
@mouseenter=${this.onHover}
|
|
@@ -699,7 +699,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
699
699
|
</div>
|
|
700
700
|
</div>
|
|
701
701
|
</div>
|
|
702
|
-
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,s=(t.offsetWidth-i)/2;let n=0,r=0;switch(this.validPosition){case"top":r=t.offsetTop-e,n=t.offsetLeft+s;break;case"bottom":r=t.offsetTop+t.offsetHeight,n=t.offsetLeft+s;break;case"left":r=t.offsetTop+o,n=t.offsetLeft-i;break;case"right":r=t.offsetTop+o,n=t.offsetLeft+t.offsetWidth}const a=this.tooltip.style;a.left=this.
|
|
702
|
+
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,s=(t.offsetWidth-i)/2;let n=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=n+"px",a.top=r+"px";const h=this.tooltip.getBoundingClientRect();let p=-h.x,c=h.x+h.width-window.innerWidth;a.left=n+Math.round(this.correctOutOfWindowPixels(p,c))+"px";let d=-h.y,f=h.y+h.height-window.innerHeight;a.top=r+Math.round(this.correctOutOfWindowPixels(d,f))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${l.maxWidth})`}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())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}ye.elementDefinitions={"ft-typography":de},ye.styles=a,be([s.property()],ye.prototype,"text",void 0),be([s.property({type:Boolean})],ye.prototype,"manual",void 0),be([s.property({type:Boolean})],ye.prototype,"inline",void 0),be([s.property({type:Number})],ye.prototype,"delay",void 0),be([s.property()],ye.prototype,"position",void 0),be([s.queryAssignedNodes("",!0)],ye.prototype,"slotNodes",void 0),be([s.query(".ft-tooltip--container")],ye.prototype,"container",void 0),be([s.query(".ft-tooltip")],ye.prototype,"tooltip",void 0),be([s.query(".ft-tooltip--content")],ye.prototype,"tooltipContent",void 0),be([s.state()],ye.prototype,"visible",void 0),i.customElement("ft-tooltip")(ye);class me extends i.FtLitElement{render(){return e.html`
|
|
703
703
|
<div class="ft-loader">
|
|
704
704
|
<div></div>
|
|
705
705
|
<div></div>
|
|
@@ -734,7 +734,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
734
734
|
</ft-tooltip>
|
|
735
735
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
736
736
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
737
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}Se.elementDefinitions={"ft-ripple":ue,"ft-tooltip":ye,"ft-typography":de,"ft-icon":we,"ft-loader":me},Se.styles=[i.safariEllipsisFix,Ft],ke([s.property({type:String,reflect:!0})],Se.prototype,"role",void 0),ke([s.property({type:Boolean})],Se.prototype,"primary",void 0),ke([s.property({type:Boolean})],Se.prototype,"outlined",void 0),ke([s.property({type:Boolean})],Se.prototype,"disabled",void 0),ke([s.property({type:Boolean})],Se.prototype,"dense",void 0),ke([s.property({type:Boolean})],Se.prototype,"round",void 0),ke([s.property()],Se.prototype,"label",void 0),ke([s.property()],Se.prototype,"icon",void 0),ke([s.property()],Se.prototype,"iconVariant",void 0),ke([s.property({type:Boolean})],Se.prototype,"trailingIcon",void 0),ke([s.property({type:Boolean})],Se.prototype,"loading",void 0),ke([s.property()],Se.prototype,"tooltipPosition",void 0),ke([s.property({type:Boolean})],Se.prototype,"hideTooltip",void 0),ke([s.property({type:Boolean})],Se.prototype,"forceTooltip",void 0),ke([s.query(".ft-button")],Se.prototype,"button",void 0),ke([s.query(".ft-button--label slot")],Se.prototype,"slottedContent",void 0),i.customElement("ft-button")(Se);const ze=i.FtCssVariableFactory.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),
|
|
737
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}Se.elementDefinitions={"ft-ripple":ue,"ft-tooltip":ye,"ft-typography":de,"ft-icon":we,"ft-loader":me},Se.styles=[i.safariEllipsisFix,Ft],ke([s.property({type:String,reflect:!0})],Se.prototype,"role",void 0),ke([s.property({type:Boolean})],Se.prototype,"primary",void 0),ke([s.property({type:Boolean})],Se.prototype,"outlined",void 0),ke([s.property({type:Boolean})],Se.prototype,"disabled",void 0),ke([s.property({type:Boolean})],Se.prototype,"dense",void 0),ke([s.property({type:Boolean})],Se.prototype,"round",void 0),ke([s.property()],Se.prototype,"label",void 0),ke([s.property()],Se.prototype,"icon",void 0),ke([s.property()],Se.prototype,"iconVariant",void 0),ke([s.property({type:Boolean})],Se.prototype,"trailingIcon",void 0),ke([s.property({type:Boolean})],Se.prototype,"loading",void 0),ke([s.property()],Se.prototype,"tooltipPosition",void 0),ke([s.property({type:Boolean})],Se.prototype,"hideTooltip",void 0),ke([s.property({type:Boolean})],Se.prototype,"forceTooltip",void 0),ke([s.query(".ft-button")],Se.prototype,"button",void 0),ke([s.query(".ft-button--label slot")],Se.prototype,"slottedContent",void 0),i.customElement("ft-button")(Se);const ze=i.FtCssVariableFactory.extend("--ft-checkbox-text-color",i.designSystemVariables.colorOnSurfaceHigh),Oe=i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),Ce=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),Ie=i.FtCssVariableFactory.extend("--ft-checkbox-border-color",i.designSystemVariables.colorOnSurfaceMedium),je=i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Be=e.css`
|
|
738
738
|
* {
|
|
739
739
|
box-sizing: border-box;
|
|
740
740
|
}
|
|
@@ -779,14 +779,14 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
779
779
|
width: 18px;
|
|
780
780
|
height: 18px;
|
|
781
781
|
|
|
782
|
-
color: ${
|
|
782
|
+
color: ${Ce};
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
|
|
786
786
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
787
787
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
788
|
-
border-color: ${
|
|
789
|
-
background-color: ${
|
|
788
|
+
border-color: ${Oe};
|
|
789
|
+
background-color: ${Oe};
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
@@ -950,7 +950,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
950
950
|
@change=${this.onChange}
|
|
951
951
|
@keydown=${this.onKeyDown}
|
|
952
952
|
></slot>
|
|
953
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}He.elementDefinitions={},He.styles=_e,Pe([s.property()],He.prototype,"name",void 0),Pe([s.queryAssignedElements()],He.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Fe),i.customElement("ft-radio-group")(He);const We={borderRadiusM:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusM,"Design system"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:i.FtCssVariableFactory.external(P.fontFamily,"Body2 typography"),fontSize:i.FtCssVariableFactory.external(P.fontSize,"Body2 typography"),fontWeight:i.FtCssVariableFactory.external(P.fontWeight,"Body2 typography"),letterSpacing:i.FtCssVariableFactory.external(P.letterSpacing,"Body2 typography"),lineHeight:i.FtCssVariableFactory.external(P.lineHeight,"Body2 typography"),textTransform:i.FtCssVariableFactory.external(P.textTransform,"Body2 typography")},
|
|
953
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((i=>i.checked=t.detail.value===i.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let i=this.findFtRadio(t),e=this.radioButtons.indexOf(i)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}He.elementDefinitions={},He.styles=_e,Pe([s.property()],He.prototype,"name",void 0),Pe([s.queryAssignedElements()],He.prototype,"radioButtons",void 0),i.customElement("ft-radio")(Fe),i.customElement("ft-radio-group")(He);const We={borderRadiusM:i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusM,"Design system"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),colorOnSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:i.FtCssVariableFactory.external(i.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:i.FtCssVariableFactory.external(P.fontFamily,"Body2 typography"),fontSize:i.FtCssVariableFactory.external(P.fontSize,"Body2 typography"),fontWeight:i.FtCssVariableFactory.external(P.fontWeight,"Body2 typography"),letterSpacing:i.FtCssVariableFactory.external(P.letterSpacing,"Body2 typography"),lineHeight:i.FtCssVariableFactory.external(P.lineHeight,"Body2 typography"),textTransform:i.FtCssVariableFactory.external(P.textTransform,"Body2 typography")},Ze=e.css`
|
|
954
954
|
.ft-filter-level--container {
|
|
955
955
|
display: flex;
|
|
956
956
|
flex-direction: column;
|
|
@@ -1016,7 +1016,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
1016
1016
|
margin: 10px 0;
|
|
1017
1017
|
color: ${We.colorOnSurfaceMedium};
|
|
1018
1018
|
}
|
|
1019
|
-
`;var
|
|
1019
|
+
`;var Ve=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};class Ke extends i.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,i;return null!==(i=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==i?i:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const i=t.slice(0,this.limit);return e.html`
|
|
1020
1020
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1021
1021
|
${null==this.parent?null:e.html`
|
|
1022
1022
|
<div tabindex="0"
|
|
@@ -1080,7 +1080,7 @@ const ne=Symbol.for(""),re=t=>{if((null==t?void 0:t.r)===ne)return null==t?void
|
|
|
1080
1080
|
@change=${t=>t.stopPropagation()}>
|
|
1081
1081
|
${t.renderOption?t.renderOption:t.label}
|
|
1082
1082
|
</ft-radio>
|
|
1083
|
-
`}onRadioKeyUp(t,i){i.selected&&" "===t.key&&this.optionsChanged(t,i)}optionsChanged(t,i){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:i}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ke.elementDefinitions={"ft-button":Se,"ft-ripple":ue,"ft-typography":de,"ft-checkbox":Me,"ft-icon":we,"ft-radio":Fe},Ke.styles=Ve
|
|
1083
|
+
`}onRadioKeyUp(t,i){i.selected&&" "===t.key&&this.optionsChanged(t,i)}optionsChanged(t,i){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:i}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ke.elementDefinitions={"ft-button":Se,"ft-ripple":ue,"ft-typography":de,"ft-checkbox":Me,"ft-icon":we,"ft-radio":Fe},Ke.styles=Ze,Ve([s.property({type:String})],Ke.prototype,"filterId",void 0),Ve([s.property({type:Object})],Ke.prototype,"parent",void 0),Ve([s.property({type:Array})],Ke.prototype,"options",void 0),Ve([s.property({type:Boolean})],Ke.prototype,"multivalued",void 0),Ve([s.property({type:Boolean})],Ke.prototype,"disabled",void 0),Ve([s.property({type:Boolean})],Ke.prototype,"hideSelectedOptions",void 0),Ve([s.property({type:Boolean})],Ke.prototype,"preventNavigation",void 0),Ve([s.property({type:String})],Ke.prototype,"filter",void 0),Ve([s.property({type:String})],Ke.prototype,"moreValuesButtonLabel",void 0),Ve([s.property({type:String})],Ke.prototype,"noValuesLabel",void 0),Ve([s.property({type:Number})],Ke.prototype,"displayedValuesLimit",void 0),Ve([s.query(".ft-filter-level--container")],Ke.prototype,"container",void 0),Ve([s.state()],Ke.prototype,"displayedPages",void 0);const Ge={buttonsColor:i.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color",i.designSystemVariables.colorPrimary),buttonsZIndex:i.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:i.FtCssVariableFactory.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:i.FtCssVariableFactory.external(i.designSystemVariables.colorSurface,"Design system")},qe=e.css`
|
|
1084
1084
|
.ft-snap-scroll {
|
|
1085
1085
|
box-sizing: border-box;
|
|
1086
1086
|
position: relative;
|
|
@@ -60,19 +60,19 @@ var h;const f=null!=(null===(h=window.HTMLSlotElement)||void 0===h?void 0:h.prot
|
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/;var E;const C=window,j=C.trustedTypes,R=j?j.emptyScript:"",N=C.reactiveElementPolyfillSupport,M={toAttribute(t,e){switch(e){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},A=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:M,reflect:!1,hasChanged:A};let
|
|
63
|
+
*/;var E;const C=window,j=C.trustedTypes,R=j?j.emptyScript:"",N=C.reactiveElementPolyfillSupport,M={toAttribute(t,e){switch(e){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},A=(t,e)=>e!==t&&(e==e||t==t),z={attribute:!0,type:String,converter:M,reflect:!1,hasChanged:A};let P=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=z){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const r=this[t];this[e]=o,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||z}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(S(t))}else void 0!==t&&e.push(S(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return k(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=z){var o;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:M).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,r=o._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:M;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||A)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var P
|
|
69
|
+
var U;P.finalized=!0,P.elementProperties=new Map,P.elementStyles=[],P.shadowRootOptions={mode:"open"},null==N||N({ReactiveElement:P}),(null!==(E=C.reactiveElementVersions)&&void 0!==E?E:C.reactiveElementVersions=[]).push("1.6.1");const T=window,I=T.trustedTypes,L=I?I.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,_="?"+B,D=`<${_}>`,W=document,H=()=>W.createComment(""),V=t=>null===t||"object"!=typeof t&&"function"!=typeof t,K=Array.isArray,Z=t=>K(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),q="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,X=/-->/g,G=/>/g,Y=RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,tt=/"/g,et=/^(?:script|style|textarea|title)$/i,it=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),ot=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),nt=new WeakMap,st=W.createTreeWalker(W,129,null,!1),at=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=J;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===J?"!--"===l[1]?s=X:void 0!==l[1]?s=G:void 0!==l[2]?(et.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=Y):void 0!==l[3]&&(s=Y):s===Y?">"===l[0]?(s=null!=r?r:J,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Y:'"'===l[3]?tt:Q):s===tt||s===Q?s=Y:s===X||s===G?s=J:(s=Y,r=void 0);const f=s===Y&&t[e+1].startsWith("/>")?" ":"";n+=s===J?i+D:c>=0?(o.push(a),i.slice(0,c)+F+i.slice(c)+B+f):i+B+(-2===c?(o.push(void 0),e):f)}const a=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==L?L.createHTML(a):a,o]};class lt{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=at(t,e);if(this.el=lt.createElement(l,i),st.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=st.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(B)){const i=c[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(B),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?dt:"?"===e[1]?vt:"@"===e[1]?bt:ut})}else a.push({type:6,index:r})}for(const e of t)o.removeAttribute(e)}if(et.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=I?I.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],H()),st.nextNode(),a.push({type:2,index:++r});o.append(t[e],H())}}}else if(8===o.nodeType)if(o.data===_)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:r}),t+=B.length-1}r++}}static createElement(t,e){const i=W.createElement("template");return i.innerHTML=t,i}}function ct(t,e,i=t,o){var r,n,s,a;if(e===ot)return e;let l=void 0!==o?null===(r=i._$Co)||void 0===r?void 0:r[o]:i._$Cl;const c=V(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=ct(t,l._$AS(t,e.values),l,o)),e}let ht=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:W).importNode(i,!0);st.currentNode=r;let n=st.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new ft(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new yt(n,this,t)),this._$AV.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(n=st.nextNode(),s++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ft=class t{constructor(t,e,i,o){var r;this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(r=null==o?void 0:o.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ct(this,t,e),V(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Z(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!==rt&&V(this._$AH)?this._$AA.nextSibling.data=t:this.$(W.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=lt.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new ht(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new lt(t)),e}T(e){K(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let o,r=0;for(const n of e)r===i.length?i.push(o=new t(this.k(H()),this.k(H()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,i,o,r){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=rt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=ct(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=ct(this,o[i+s],e,s),a===ot&&(a=this._$AH[s]),n||(n=!V(a)||a!==this._$AH[s]),a===rt?t=rt:t!==rt&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},dt=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===rt?void 0:t}};const pt=I?I.emptyScript:"";let vt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==rt?this.element.setAttribute(this.name,pt):this.element.removeAttribute(this.name)}},bt=class extends ut{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=ct(this,t,e,0))&&void 0!==i?i:rt)===ot)return;const o=this._$AH,r=t===rt&&o!==rt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==rt&&(o===rt||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ct(this,t)}};const gt={O:F,P:B,A:_,C:1,M:at,L:ht,D:Z,R:ct,I:ft,V:ut,H:vt,N:bt,U:dt,F:yt},xt=T.litHtmlPolyfillSupport;null==xt||xt(lt,ft),(null!==(U=T.litHtmlVersions)&&void 0!==U?U:T.litHtmlVersions=[]).push("2.7.3");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
73
73
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
74
|
*/
|
|
75
|
-
var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new ft(e.insertBefore(H(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};$t.finalized=!0,$t._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:$t});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:$t}),(null!==(wt=globalThis.litElementVersions)&&void 0!==wt?wt:globalThis.litElementVersions=[]).push("3.3.2");class kt{static create(t,e,i){let o=t=>$(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$(null!=e?e:t.defaultValue),o=O`var(${$(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>O`var(${$(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function St(t,e){return $(`${t.name}: ${e}`)}const Et={colorPrimary:kt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:kt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:kt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:kt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:kt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:kt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:kt.create("--ft-color-error","COLOR","#B00020"),colorOutline:kt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:kt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:kt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:kt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:kt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:kt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:kt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:kt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:kt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:kt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:kt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:kt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:kt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:kt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:kt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:kt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:kt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:kt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:kt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:kt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:kt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:kt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:kt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:kt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:kt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:kt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:kt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:kt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:kt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:kt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:kt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:kt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:kt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:kt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:kt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:kt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:kt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:kt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:kt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:kt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:kt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:kt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:kt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:kt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Ct extends $t{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return k(i,t.elementStyles),i}}var jt,Rt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Nt=Symbol("constructorPrototype"),Mt=Symbol("constructorName"),At=Symbol("exportpartsDebouncer");class zt extends Ct{constructor(){super(),this[jt]=new r(5),this[Mt]=this.constructor.name,this[Nt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mt]&&Object.setPrototypeOf(this,this[Nt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).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(){this[At].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}jt=At,Rt([s()],zt.prototype,"exportpartsPrefix",void 0),Rt([b([])],zt.prototype,"exportpartsPrefixes",void 0),Rt([s()],zt.prototype,"customStylesheet",void 0);const Ut=O`
|
|
75
|
+
var mt,wt;let $t=class extends P{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,r;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=n._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=s=new ft(e.insertBefore(H(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};$t.finalized=!0,$t._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:$t});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:$t}),(null!==(wt=globalThis.litElementVersions)&&void 0!==wt?wt:globalThis.litElementVersions=[]).push("3.3.2");class kt{static create(t,e,i){let o=t=>$(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),r=O`var(${$(t)}, ${o(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=o,r.get=e=>O`var(${$(t)}, ${o(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$(null!=e?e:t.defaultValue),o=O`var(${$(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>O`var(${$(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function St(t,e){return $(`${t.name}: ${e}`)}const Et={colorPrimary:kt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:kt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:kt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:kt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:kt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:kt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:kt.create("--ft-color-error","COLOR","#B00020"),colorOutline:kt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:kt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:kt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:kt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:kt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:kt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:kt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:kt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:kt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:kt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:kt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:kt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:kt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:kt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:kt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:kt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:kt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:kt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:kt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:kt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:kt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:kt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:kt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:kt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:kt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:kt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:kt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:kt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:kt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:kt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:kt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:kt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:kt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:kt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:kt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:kt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:kt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.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:kt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:kt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:kt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:kt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:kt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:kt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:kt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:kt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class Ct extends $t{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return k(i,t.elementStyles),i}}var jt,Rt=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Nt=Symbol("constructorPrototype"),Mt=Symbol("constructorName"),At=Symbol("exportpartsDebouncer");class zt extends Ct{constructor(){super(),this[jt]=new r(5),this[Mt]=this.constructor.name,this[Nt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Mt]&&Object.setPrototypeOf(this,this[Nt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).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(){this[At].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,r,n,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}jt=At,Rt([s()],zt.prototype,"exportpartsPrefix",void 0),Rt([b([])],zt.prototype,"exportpartsPrefixes",void 0),Rt([s()],zt.prototype,"customStylesheet",void 0);const Pt=O`
|
|
76
76
|
.ft-no-text-select {
|
|
77
77
|
-webkit-touch-callout: none;
|
|
78
78
|
-webkit-user-select: none;
|
|
@@ -93,7 +93,7 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
93
93
|
-webkit-hyphens: auto;
|
|
94
94
|
hyphens: auto
|
|
95
95
|
}
|
|
96
|
-
`;const
|
|
96
|
+
`;const Ut=O`
|
|
97
97
|
.ft-safari-ellipsis-fix {
|
|
98
98
|
margin-right: 0;
|
|
99
99
|
|
|
@@ -104,7 +104,7 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
104
104
|
display: inline-block;
|
|
105
105
|
width: 0;
|
|
106
106
|
}
|
|
107
|
-
`;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let r=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function It(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Lt,Ft,Bt;const _t=Symbol("internalReduxEventsUnsubscribers"),Dt=Symbol("internalStoresUnsubscribers"),Wt=Symbol("internalStores");class Ht extends zt{constructor(){super(...arguments),this[Lt]=new Map,this[Ft]=new Map,this[Bt]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Wt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Wt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Wt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:It(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Wt].delete(e)}setupStore(t,e){this[Wt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Wt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Dt].has(t.store):this[Dt].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Dt].set(t,e.subscribe((()=>this.updateFromStores()))),It(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[_t].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Dt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[_t].forEach((t=>t())),this[_t]=[]}unsubscribeFromStore(t){this[Dt].has(t)&&this[Dt].get(t)(),this[Dt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Kt(t){return!!t&&!!t[Ae]}function Zt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===ze}(t)||Array.isArray(t)||!!t[Me]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Me])||Qt(t)||te(t))}function qt(t,e,i){void 0===i&&(i=!1),0===Jt(t)?(i?Object.keys:Ue)(t).forEach((function(o){i&&"symbol"==typeof o||e(o,t[o],t)})):t.forEach((function(i,o){return e(o,i,t)}))}function Jt(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qt(t)?2:te(t)?3:0}function Xt(t,e){return 2===Jt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gt(t,e,i){var o=Jt(t);2===o?t.set(e,i):3===o?t.add(i):t[e]=i}function Yt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Qt(t){return Ce&&t instanceof Map}function te(t){return je&&t instanceof Set}function ee(t){return t.o||t.t}function ie(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pe(t);delete e[Ae];for(var i=Ue(e),o=0;o<i.length;o++){var r=i[o],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function oe(t,e){return void 0===e&&(e=!1),ne(t)||Kt(t)||!Zt(t)||(Jt(t)>1&&(t.set=t.add=t.clear=t.delete=re),Object.freeze(t),e&&qt(t,(function(t,e){return oe(e,!0)}),!0)),t}function re(){Vt(2)}function ne(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function se(t){var e=Te[t];return e||Vt(18,t),e}function ae(){return Se}function le(t,e){e&&(se("Patches"),t.u=[],t.s=[],t.v=e)}function ce(t){he(t),t.p.forEach(ue),t.p=null}function he(t){t===Se&&(Se=t.l)}function fe(t){return Se={p:[],l:Se,h:t,m:!0,_:0}}function ue(t){var e=t[Ae];0===e.i||1===e.i?e.j():e.g=!0}function de(t,e){e._=e.p.length;var i=e.p[0],o=void 0!==t&&t!==i;return e.h.O||se("ES5").S(e,t,o),o?(i[Ae].P&&(ce(e),Vt(4)),Zt(t)&&(t=pe(e,t),e.l||be(e,t)),e.u&&se("Patches").M(i[Ae].t,t,e.u,e.s)):t=pe(e,i,[]),ce(e),e.u&&e.v(e.u,e.s),t!==Ne?t:void 0}function pe(t,e,i){if(ne(e))return e;var o=e[Ae];if(!o)return qt(e,(function(r,n){return ve(t,o,e,r,n,i)}),!0),e;if(o.A!==t)return e;if(!o.P)return be(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var r=4===o.i||5===o.i?o.o=ie(o.k):o.o,n=r,s=!1;3===o.i&&(n=new Set(r),r.clear(),s=!0),qt(n,(function(e,n){return ve(t,o,r,e,n,i,s)})),be(t,r,!1),i&&t.u&&se("Patches").N(o,i,t.u,t.s)}return o.o}function ve(t,e,i,o,r,n,s){if(Kt(r)){var a=pe(t,r,n&&e&&3!==e.i&&!Xt(e.R,o)?n.concat(o):void 0);if(Gt(i,o,a),!Kt(a))return;t.m=!1}else s&&i.add(r);if(Zt(r)&&!ne(r)){if(!t.h.D&&t._<1)return;pe(t,r),e&&e.A.l||be(t,r)}}function be(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&oe(e,i)}function ye(t,e){var i=t[Ae];return(i?ee(i):t)[e]}function ge(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var o=Object.getOwnPropertyDescriptor(i,e);if(o)return o;i=Object.getPrototypeOf(i)}}function xe(t){t.P||(t.P=!0,t.l&&xe(t.l))}function me(t){t.o||(t.o=ie(t.t))}function we(t,e,i){var o=Qt(e)?se("MapSet").F(e,i):te(e)?se("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),o={i:i?1:0,A:e?e.A:ae(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=o,n=Ie;i&&(r=[o],n=Le);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return o.k=l,o.j=a,l}(e,i):se("ES5").J(e,i);return(i?i.A:ae()).p.push(o),o}function $e(t){return Kt(t)||Vt(22,t),function t(e){if(!Zt(e))return e;var i,o=e[Ae],r=Jt(e);if(o){if(!o.P&&(o.i<4||!se("ES5").K(o)))return o.t;o.I=!0,i=Oe(e,r),o.I=!1}else i=Oe(e,r);return qt(i,(function(e,r){o&&function(t,e){return 2===Jt(t)?t.get(e):t[e]}(o.t,e)===r||Gt(i,e,t(r))})),3===r?new Set(i):i}(t)}function Oe(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ie(t)}Lt=Dt,Ft=Wt,Bt=_t;var ke,Se,Ee="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ce="undefined"!=typeof Map,je="undefined"!=typeof Set,Re="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ne=Ee?Symbol.for("immer-nothing"):((ke={})["immer-nothing"]=!0,ke),Me=Ee?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=Ee?Symbol.for("immer-state"):"__$immer_state",ze=""+Object.prototype.constructor,Ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pe=Object.getOwnPropertyDescriptors||function(t){var e={};return Ue(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Te={},Ie={get:function(t,e){if(e===Ae)return t;var i=ee(t);if(!Xt(i,e))return function(t,e,i){var o,r=ge(e,i);return r?"value"in r?r.value:null===(o=r.get)||void 0===o?void 0:o.call(t.k):void 0}(t,i,e);var o=i[e];return t.I||!Zt(o)?o:o===ye(t.t,e)?(me(t),t.o[e]=we(t.A.h,o,t)):o},has:function(t,e){return e in ee(t)},ownKeys:function(t){return Reflect.ownKeys(ee(t))},set:function(t,e,i){var o=ge(ee(t),e);if(null==o?void 0:o.set)return o.set.call(t.k,i),!0;if(!t.P){var r=ye(ee(t),e),n=null==r?void 0:r[Ae];if(n&&n.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Yt(i,r)&&(void 0!==i||Xt(t.t,e)))return!0;me(t),xe(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ye(t.t,e)||e in t.t?(t.R[e]=!1,me(t),xe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=ee(t),o=Reflect.getOwnPropertyDescriptor(i,e);return o?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:o.enumerable,value:i[e]}:o},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Le={};qt(Ie,(function(t,e){Le[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Le.deleteProperty=function(t,e){return Le.set.call(this,t,e,void 0)},Le.set=function(t,e,i){return Ie.set.call(this,t[0],e,i,t[0])};var Fe=function(){function t(t){var e=this;this.O=Re,this.D=!0,this.produce=function(t,i,o){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var o=arguments.length,s=Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var o;return(o=i).call.apply(o,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Vt(6),void 0!==o&&"function"!=typeof o&&Vt(7),Zt(t)){var a=fe(e),l=we(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ce(a):he(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return le(a,o),de(t,a)}),(function(t){throw ce(a),t})):(le(a,o),de(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===Ne&&(s=void 0),e.D&&oe(s,!0),o){var h=[],f=[];se("Patches").M(t,s,h,f),o(h,f)}return s}Vt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var o,r,n=e.produce(t,i,(function(t,e){o=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,o,r]})):[n,o,r]},"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 e=t.prototype;return e.createDraft=function(t){Zt(t)||Vt(8),Kt(t)&&(t=$e(t));var e=fe(this),i=we(this,t,void 0);return i[Ae].C=!0,he(e),i},e.finishDraft=function(t,e){var i=(t&&t[Ae]).A;return le(i,e),de(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Re&&Vt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var o=e[i];if(0===o.path.length&&"replace"===o.op){t=o.value;break}}i>-1&&(e=e.slice(i+1));var r=se("Patches").$;return Kt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Be=new Fe,_e=Be.produce;function De(t){return De="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},De(t)}function We(t){var e=function(t,e){if("object"!==De(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==De(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===De(e)?e:String(e)}function He(t,e,i){return(e=We(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ve(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Ke(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ve(Object(i),!0).forEach((function(e){He(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ve(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ze(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. "}Be.produceWithPatches.bind(Be),Be.setAutoFreeze.bind(Be),Be.setUseProxies.bind(Be),Be.applyPatches.bind(Be),Be.createDraft.bind(Be),Be.finishDraft.bind(Be);var qe="function"==typeof Symbol&&Symbol.observable||"@@observable",Je=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xe={INIT:"@@redux/INIT"+Je(),REPLACE:"@@redux/REPLACE"+Je(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Je()}};function Ge(t,e,i){var o;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Ze(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Ze(1));return i(Ge)(t,e)}if("function"!=typeof t)throw new Error(Ze(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(Ze(3));return n}function f(t){if("function"!=typeof t)throw new Error(Ze(4));if(l)throw new Error(Ze(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Ze(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Ze(7));if(void 0===t.type)throw new Error(Ze(8));if(l)throw new Error(Ze(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return u({type:Xe.INIT}),(o={dispatch:u,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ze(10));r=t,u({type:Xe.REPLACE})}})[qe]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ze(11));function i(){t.next&&t.next(h())}return i(),{unsubscribe:e(i)}}})[qe]=function(){return this},t},o}function Ye(t){for(var e=Object.keys(t),i={},o=0;o<e.length;o++){var r=e[o];"function"==typeof t[r]&&(i[r]=t[r])}var n,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Xe.INIT}))throw new Error(Ze(12));if(void 0===i(void 0,{type:Xe.PROBE_UNKNOWN_ACTION()}))throw new Error(Ze(13))}))}(i)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var o=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(Ze(14));r[l]=f,o=o||f!==h}return(o=o||s.length!==Object.keys(t).length)?r:t}}function Qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ti(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),o=function(){throw new Error(Ze(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return o=Qe.apply(void 0,n)(i.dispatch),Ke(Ke({},i),{},{dispatch:o})}}}function ei(t){return function(e){var i=e.dispatch,o=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,o,t):e(r)}}}}var ii=ei();ii.withExtraArgument=ei;var oi,ri=ii,ni=(oi=function(t,e){return oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},oi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}oi(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),si=function(t,e){var i,o,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(r=2&n[0]?o.return:n[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],o=0}finally{i=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},ai=function(t,e){for(var i=0,o=e.length,r=t.length;i<o;i++,r++)t[r]=e[i];return t},li=Object.defineProperty,ci=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,pi=function(t,e,i){return e in t?li(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},vi=function(t,e){for(var i in e||(e={}))ui.call(e,i)&&pi(t,i,e[i]);if(fi)for(var o=0,r=fi(e);o<r.length;o++){i=r[o];di.call(e,i)&&pi(t,i,e[i])}return t},bi=function(t,e){return ci(t,hi(e))},yi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Qe:Qe.apply(null,arguments)};var gi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array),xi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array);function mi(t){return Zt(t)?_e(t,(function(){})):t}function wi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var o=new gi;i&&(!function(t){return"boolean"==typeof t}(i)?o.push(ri.withExtraArgument(i.extraArgument)):o.push(ri));return o}(t)}}function $i(t){var e,i=wi(),o=t||{},r=o.reducer,n=void 0===r?void 0:r,s=o.middleware,a=void 0===s?i():s,l=o.devTools,c=void 0===l||l,h=o.preloadedState,f=void 0===h?void 0:h,u=o.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(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');e=Ye(n)}var p=a;"function"==typeof p&&(p=p(i));var v=ti.apply(void 0,p),b=Qe;c&&(b=yi(vi({trace:!1},"object"==typeof c&&c)));var y=new xi(v),g=y;return Array.isArray(d)?g=ai([v],d):"function"==typeof d&&(g=d(y)),Ge(e,f,b.apply(void 0,g))}function Oi(t,e){function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return vi(vi({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function ki(t){var e,i={},o=[],r={addCase:function(t,e){var o="string"==typeof t?t:t.type;if(o in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[o]=e,r},addMatcher:function(t,e){return o.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,o,e]}function Si(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,o="function"==typeof t.initialState?t.initialState:mi(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?ki(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=vi(vi({},r),a);return function(t,e,i,o){void 0===i&&(i=[]);var r,n="function"==typeof e?ki(e):[e,i,o],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return mi(t())};else{var c=mi(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var i=ai([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var o;if(Kt(t))return void 0===(o=i(t,e))?t:o;if(Zt(t))return _e(t,(function(t){return i(t,e)}));if(void 0===(o=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return t}),t)}return h.getInitialState=r,h}(o,(function(t){for(var e in h)t.addCase(e,h[e]);for(var i=0,o=s;i<o.length;i++){var r=o[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var i,o,n=r[t],c=e+"/"+t;"reducer"in n?(i=n.reducer,o=n.prepare):i=n,s[t]=i,a[c]=i,l[t]=o?Oi(c,o):Oi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var Ei=["name","message","stack","code"],Ci=function(t,e){this.payload=t,this.meta=e},ji=function(t,e){this.payload=t,this.meta=e},Ri=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,o=Ei;i<o.length;i++){var r=o[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Ni(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var o=Oi(t+"/fulfilled",(function(t,e,i,o){return{payload:t,meta:bi(vi({},o||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=Oi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:bi(vi({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Oi(t+"/rejected",(function(t,e,o,r,n){return{payload:r,error:(i&&i.serializeError||Ri)(t||"Rejected"),meta:bi(vi({},n||{}),{arg:o,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="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(a,l,c){var h,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new s;function d(t){h=t,u.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return si(this,(function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(m=b)||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,b];case 1:b=x.sent(),x.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:u.signal,abort:d,rejectWithValue:function(t,e){return new Ci(t,e)},fulfillWithValue:function(t,e){return new ji(t,e)}})).then((function(e){if(e instanceof Ci)throw e;return e instanceof ji?o(e.payload,f,t,e.meta):o(e,f,t)}))])];case 3:return v=x.sent(),[3,5];case 4:return g=x.sent(),v=g instanceof Ci?n(null,f,t,g.payload,g.meta):n(g,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&n.match(v)&&v.meta.condition||a(v),[2,v]}var m}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},o=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,o)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then(Ni)}})}}),{pending:r,rejected:n,fulfilled:o,typePrefix:t})}t.withTypes=function(){return t}}();var Mi="listenerMiddleware";Oi(Mi+"/add"),Oi(Mi+"/removeAll"),Oi(Mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Ae];return Ie.get(e,t)},set:function(e){var i=this[Ae];Ie.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Ae];if(!r.P)switch(r.i){case 5:o(r)&&xe(r);break;case 4:i(r)&&xe(r)}}}function i(t){for(var e=t.t,i=t.k,o=Ue(i),r=o.length-1;r>=0;r--){var n=o[r];if(n!==Ae){var s=e[n];if(void 0===s&&!Xt(e,n))return!0;var a=i[n],l=a&&a[Ae];if(l?l.t!==s:!Yt(a,s))return!0}}var c=!!e[Ae];return o.length!==Ue(e).length+(c?0:1)}function o(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var o=0;o<e.length;o++)if(!e.hasOwnProperty(o))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,i){var o=Array.isArray(e),r=function(e,i){if(e){for(var o=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(o,""+r,t(r,!0));return o}var n=Pe(i);delete n[Ae];for(var s=Ue(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(i),n)}(o,e),n={i:o?5:4,A:i?i.A:ae(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Ae,{value:n,writable:!0}),r},S:function(t,i,r){r?Kt(i)&&i[Ae].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Ae];if(i){var r=i.t,n=i.k,s=i.R,a=i.i;if(4===a)qt(n,(function(e){e!==Ae&&(void 0!==r[e]||Xt(r,e)?s[e]||t(n[e]):(s[e]=!0,xe(i)))})),qt(r,(function(t){void 0!==n[t]||Xt(n,t)||(s[t]=!1,xe(i))}));else if(5===a){if(o(i)&&(xe(i),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):o(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ai{static get(t){var e;const i="string"==typeof t?t:t.name,o="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(It(r))return r;if(null==o)return;const n=Si({...o,reducers:null!==(e=o.reducers)&&void 0!==e?e:{}}),s=$i({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[o.name]=new Ai(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const o=e,r=t[o];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[o]: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()}}const zi=t=>{const e=null!=t?t:{};return(t,i)=>{var o;const r={hasChanged:(t,e)=>!p(t,e),attribute:!1,...e};s(r)(t,i);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(i,{selector:null!==(o=e.selector)&&void 0!==o?o:t=>t[i],store:e.store})}};var Ui,Pi,Ti;const Ii=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ti=null===(Pi=null===(Ui=window.safari)||void 0===Ui?void 0:Ui.pushNotification)||void 0===Pi?void 0:Pi.toString())&&void 0!==Ti?Ti:""),Li={distance:kt.create("--ft-tooltip-distance","SIZE","4px"),color:kt.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:kt.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:kt.create("--ft-tooltip-z-index","NUMBER","1"),borderRadiusS:kt.external(Et.borderRadiusS,"Design system"),maxWidth:kt.create("--ft-tooltip-max-width","SIZE","150px")},Fi=O`
|
|
107
|
+
`;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let r=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function It(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Lt,Ft,Bt;const _t=Symbol("internalReduxEventsUnsubscribers"),Dt=Symbol("internalStoresUnsubscribers"),Wt=Symbol("internalStores");class Ht extends zt{constructor(){super(...arguments),this[Lt]=new Map,this[Ft]=new Map,this[Bt]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Wt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Wt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Wt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:It(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Wt].delete(e)}setupStore(t,e){this[Wt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Wt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Dt].has(t.store):this[Dt].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Dt].set(t,e.subscribe((()=>this.updateFromStores()))),It(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const o=t=>this[i](t);e.eventBus.addEventListener(t.eventName,o),this[_t].push((()=>e.eventBus.removeEventListener(t.eventName,o)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Dt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[_t].forEach((t=>t())),this[_t]=[]}unsubscribeFromStore(t){this[Dt].has(t)&&this[Dt].get(t)(),this[Dt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Kt(t){return!!t&&!!t[Ae]}function Zt(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===ze}(t)||Array.isArray(t)||!!t[Me]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Me])||Qt(t)||te(t))}function qt(t,e,i){void 0===i&&(i=!1),0===Jt(t)?(i?Object.keys:Pe)(t).forEach((function(o){i&&"symbol"==typeof o||e(o,t[o],t)})):t.forEach((function(i,o){return e(o,i,t)}))}function Jt(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qt(t)?2:te(t)?3:0}function Xt(t,e){return 2===Jt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gt(t,e,i){var o=Jt(t);2===o?t.set(e,i):3===o?t.add(i):t[e]=i}function Yt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Qt(t){return Ce&&t instanceof Map}function te(t){return je&&t instanceof Set}function ee(t){return t.o||t.t}function ie(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ue(t);delete e[Ae];for(var i=Pe(e),o=0;o<i.length;o++){var r=i[o],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function oe(t,e){return void 0===e&&(e=!1),ne(t)||Kt(t)||!Zt(t)||(Jt(t)>1&&(t.set=t.add=t.clear=t.delete=re),Object.freeze(t),e&&qt(t,(function(t,e){return oe(e,!0)}),!0)),t}function re(){Vt(2)}function ne(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function se(t){var e=Te[t];return e||Vt(18,t),e}function ae(){return Se}function le(t,e){e&&(se("Patches"),t.u=[],t.s=[],t.v=e)}function ce(t){he(t),t.p.forEach(ue),t.p=null}function he(t){t===Se&&(Se=t.l)}function fe(t){return Se={p:[],l:Se,h:t,m:!0,_:0}}function ue(t){var e=t[Ae];0===e.i||1===e.i?e.j():e.g=!0}function de(t,e){e._=e.p.length;var i=e.p[0],o=void 0!==t&&t!==i;return e.h.O||se("ES5").S(e,t,o),o?(i[Ae].P&&(ce(e),Vt(4)),Zt(t)&&(t=pe(e,t),e.l||be(e,t)),e.u&&se("Patches").M(i[Ae].t,t,e.u,e.s)):t=pe(e,i,[]),ce(e),e.u&&e.v(e.u,e.s),t!==Ne?t:void 0}function pe(t,e,i){if(ne(e))return e;var o=e[Ae];if(!o)return qt(e,(function(r,n){return ve(t,o,e,r,n,i)}),!0),e;if(o.A!==t)return e;if(!o.P)return be(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var r=4===o.i||5===o.i?o.o=ie(o.k):o.o,n=r,s=!1;3===o.i&&(n=new Set(r),r.clear(),s=!0),qt(n,(function(e,n){return ve(t,o,r,e,n,i,s)})),be(t,r,!1),i&&t.u&&se("Patches").N(o,i,t.u,t.s)}return o.o}function ve(t,e,i,o,r,n,s){if(Kt(r)){var a=pe(t,r,n&&e&&3!==e.i&&!Xt(e.R,o)?n.concat(o):void 0);if(Gt(i,o,a),!Kt(a))return;t.m=!1}else s&&i.add(r);if(Zt(r)&&!ne(r)){if(!t.h.D&&t._<1)return;pe(t,r),e&&e.A.l||be(t,r)}}function be(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&oe(e,i)}function ye(t,e){var i=t[Ae];return(i?ee(i):t)[e]}function ge(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var o=Object.getOwnPropertyDescriptor(i,e);if(o)return o;i=Object.getPrototypeOf(i)}}function xe(t){t.P||(t.P=!0,t.l&&xe(t.l))}function me(t){t.o||(t.o=ie(t.t))}function we(t,e,i){var o=Qt(e)?se("MapSet").F(e,i):te(e)?se("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),o={i:i?1:0,A:e?e.A:ae(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=o,n=Ie;i&&(r=[o],n=Le);var s=Proxy.revocable(r,n),a=s.revoke,l=s.proxy;return o.k=l,o.j=a,l}(e,i):se("ES5").J(e,i);return(i?i.A:ae()).p.push(o),o}function $e(t){return Kt(t)||Vt(22,t),function t(e){if(!Zt(e))return e;var i,o=e[Ae],r=Jt(e);if(o){if(!o.P&&(o.i<4||!se("ES5").K(o)))return o.t;o.I=!0,i=Oe(e,r),o.I=!1}else i=Oe(e,r);return qt(i,(function(e,r){o&&function(t,e){return 2===Jt(t)?t.get(e):t[e]}(o.t,e)===r||Gt(i,e,t(r))})),3===r?new Set(i):i}(t)}function Oe(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ie(t)}Lt=Dt,Ft=Wt,Bt=_t;var ke,Se,Ee="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ce="undefined"!=typeof Map,je="undefined"!=typeof Set,Re="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ne=Ee?Symbol.for("immer-nothing"):((ke={})["immer-nothing"]=!0,ke),Me=Ee?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=Ee?Symbol.for("immer-state"):"__$immer_state",ze=""+Object.prototype.constructor,Pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ue=Object.getOwnPropertyDescriptors||function(t){var e={};return Pe(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Te={},Ie={get:function(t,e){if(e===Ae)return t;var i=ee(t);if(!Xt(i,e))return function(t,e,i){var o,r=ge(e,i);return r?"value"in r?r.value:null===(o=r.get)||void 0===o?void 0:o.call(t.k):void 0}(t,i,e);var o=i[e];return t.I||!Zt(o)?o:o===ye(t.t,e)?(me(t),t.o[e]=we(t.A.h,o,t)):o},has:function(t,e){return e in ee(t)},ownKeys:function(t){return Reflect.ownKeys(ee(t))},set:function(t,e,i){var o=ge(ee(t),e);if(null==o?void 0:o.set)return o.set.call(t.k,i),!0;if(!t.P){var r=ye(ee(t),e),n=null==r?void 0:r[Ae];if(n&&n.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Yt(i,r)&&(void 0!==i||Xt(t.t,e)))return!0;me(t),xe(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ye(t.t,e)||e in t.t?(t.R[e]=!1,me(t),xe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=ee(t),o=Reflect.getOwnPropertyDescriptor(i,e);return o?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:o.enumerable,value:i[e]}:o},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Le={};qt(Ie,(function(t,e){Le[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Le.deleteProperty=function(t,e){return Le.set.call(this,t,e,void 0)},Le.set=function(t,e,i){return Ie.set.call(this,t[0],e,i,t[0])};var Fe=function(){function t(t){var e=this;this.O=Re,this.D=!0,this.produce=function(t,i,o){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var o=arguments.length,s=Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return n.produce(t,(function(t){var o;return(o=i).call.apply(o,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Vt(6),void 0!==o&&"function"!=typeof o&&Vt(7),Zt(t)){var a=fe(e),l=we(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ce(a):he(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return le(a,o),de(t,a)}),(function(t){throw ce(a),t})):(le(a,o),de(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===Ne&&(s=void 0),e.D&&oe(s,!0),o){var h=[],f=[];se("Patches").M(t,s,h,f),o(h,f)}return s}Vt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var o,r,n=e.produce(t,i,(function(t,e){o=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,o,r]})):[n,o,r]},"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 e=t.prototype;return e.createDraft=function(t){Zt(t)||Vt(8),Kt(t)&&(t=$e(t));var e=fe(this),i=we(this,t,void 0);return i[Ae].C=!0,he(e),i},e.finishDraft=function(t,e){var i=(t&&t[Ae]).A;return le(i,e),de(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Re&&Vt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var o=e[i];if(0===o.path.length&&"replace"===o.op){t=o.value;break}}i>-1&&(e=e.slice(i+1));var r=se("Patches").$;return Kt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Be=new Fe,_e=Be.produce;function De(t){return De="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},De(t)}function We(t){var e=function(t,e){if("object"!==De(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!==De(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===De(e)?e:String(e)}function He(t,e,i){return(e=We(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ve(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function Ke(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ve(Object(i),!0).forEach((function(e){He(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ve(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ze(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. "}Be.produceWithPatches.bind(Be),Be.setAutoFreeze.bind(Be),Be.setUseProxies.bind(Be),Be.applyPatches.bind(Be),Be.createDraft.bind(Be),Be.finishDraft.bind(Be);var qe="function"==typeof Symbol&&Symbol.observable||"@@observable",Je=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xe={INIT:"@@redux/INIT"+Je(),REPLACE:"@@redux/REPLACE"+Je(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Je()}};function Ge(t,e,i){var o;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Ze(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Ze(1));return i(Ge)(t,e)}if("function"!=typeof t)throw new Error(Ze(2));var r=t,n=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function h(){if(l)throw new Error(Ze(3));return n}function f(t){if("function"!=typeof t)throw new Error(Ze(4));if(l)throw new Error(Ze(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Ze(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Ze(7));if(void 0===t.type)throw new Error(Ze(8));if(l)throw new Error(Ze(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return u({type:Xe.INIT}),(o={dispatch:u,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ze(10));r=t,u({type:Xe.REPLACE})}})[qe]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ze(11));function i(){t.next&&t.next(h())}return i(),{unsubscribe:e(i)}}})[qe]=function(){return this},t},o}function Ye(t){for(var e=Object.keys(t),i={},o=0;o<e.length;o++){var r=e[o];"function"==typeof t[r]&&(i[r]=t[r])}var n,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Xe.INIT}))throw new Error(Ze(12));if(void 0===i(void 0,{type:Xe.PROBE_UNKNOWN_ACTION()}))throw new Error(Ze(13))}))}(i)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var o=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(Ze(14));r[l]=f,o=o||f!==h}return(o=o||s.length!==Object.keys(t).length)?r:t}}function Qe(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ti(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),o=function(){throw new Error(Ze(15))},r={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return o=Qe.apply(void 0,n)(i.dispatch),Ke(Ke({},i),{},{dispatch:o})}}}function ei(t){return function(e){var i=e.dispatch,o=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,o,t):e(r)}}}}var ii=ei();ii.withExtraArgument=ei;var oi,ri=ii,ni=(oi=function(t,e){return oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},oi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}oi(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),si=function(t,e){var i,o,r,n,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(n){return function(a){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(r=2&n[0]?o.return:n[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){s.label=n[1];break}if(6===n[0]&&s.label<r[1]){s.label=r[1],r=n;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(n);break}r[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(t){n=[6,t],o=0}finally{i=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,a])}}},ai=function(t,e){for(var i=0,o=e.length,r=t.length;i<o;i++,r++)t[r]=e[i];return t},li=Object.defineProperty,ci=Object.defineProperties,hi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,pi=function(t,e,i){return e in t?li(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},vi=function(t,e){for(var i in e||(e={}))ui.call(e,i)&&pi(t,i,e[i]);if(fi)for(var o=0,r=fi(e);o<r.length;o++){i=r[o];di.call(e,i)&&pi(t,i,e[i])}return t},bi=function(t,e){return ci(t,hi(e))},yi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Qe:Qe.apply(null,arguments)};var gi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array),xi=function(t){function e(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ai([void 0],t[0].concat(this)))):new(e.bind.apply(e,ai([void 0],t.concat(this))))},e}(Array);function mi(t){return Zt(t)?_e(t,(function(){})):t}function wi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var o=new gi;i&&(!function(t){return"boolean"==typeof t}(i)?o.push(ri.withExtraArgument(i.extraArgument)):o.push(ri));return o}(t)}}function $i(t){var e,i=wi(),o=t||{},r=o.reducer,n=void 0===r?void 0:r,s=o.middleware,a=void 0===s?i():s,l=o.devTools,c=void 0===l||l,h=o.preloadedState,f=void 0===h?void 0:h,u=o.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(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');e=Ye(n)}var p=a;"function"==typeof p&&(p=p(i));var v=ti.apply(void 0,p),b=Qe;c&&(b=yi(vi({trace:!1},"object"==typeof c&&c)));var y=new xi(v),g=y;return Array.isArray(d)?g=ai([v],d):"function"==typeof d&&(g=d(y)),Ge(e,f,b.apply(void 0,g))}function Oi(t,e){function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return vi(vi({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function ki(t){var e,i={},o=[],r={addCase:function(t,e){var o="string"==typeof t?t:t.type;if(o in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[o]=e,r},addMatcher:function(t,e){return o.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,o,e]}function Si(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,o="function"==typeof t.initialState?t.initialState:mi(t.initialState),r=t.reducers||{},n=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?ki(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,n=e[1],s=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=vi(vi({},r),a);return function(t,e,i,o){void 0===i&&(i=[]);var r,n="function"==typeof e?ki(e):[e,i,o],s=n[0],a=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return mi(t())};else{var c=mi(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var i=ai([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var o;if(Kt(t))return void 0===(o=i(t,e))?t:o;if(Zt(t))return _e(t,(function(t){return i(t,e)}));if(void 0===(o=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return o}return t}),t)}return h.getInitialState=r,h}(o,(function(t){for(var e in h)t.addCase(e,h[e]);for(var i=0,o=s;i<o.length;i++){var r=o[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var i,o,n=r[t],c=e+"/"+t;"reducer"in n?(i=n.reducer,o=n.prepare):i=n,s[t]=i,a[c]=i,l[t]=o?Oi(c,o):Oi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var Ei=["name","message","stack","code"],Ci=function(t,e){this.payload=t,this.meta=e},ji=function(t,e){this.payload=t,this.meta=e},Ri=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,o=Ei;i<o.length;i++){var r=o[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Ni(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var o=Oi(t+"/fulfilled",(function(t,e,i,o){return{payload:t,meta:bi(vi({},o||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=Oi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:bi(vi({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Oi(t+"/rejected",(function(t,e,o,r,n){return{payload:r,error:(i&&i.serializeError||Ri)(t||"Rejected"),meta:bi(vi({},n||{}),{arg:o,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="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(a,l,c){var h,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new s;function d(t){h=t,u.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return si(this,(function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(m=b)||"object"!=typeof m||"function"!=typeof m.then?[3,2]:[4,b];case 1:b=x.sent(),x.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),a(r(f,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:f,signal:u.signal,abort:d,rejectWithValue:function(t,e){return new Ci(t,e)},fulfillWithValue:function(t,e){return new ji(t,e)}})).then((function(e){if(e instanceof Ci)throw e;return e instanceof ji?o(e.payload,f,t,e.meta):o(e,f,t)}))])];case 3:return v=x.sent(),[3,5];case 4:return g=x.sent(),v=g instanceof Ci?n(null,f,t,g.payload,g.meta):n(g,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&n.match(v)&&v.meta.condition||a(v),[2,v]}var m}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},o=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,o)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:f,arg:t,unwrap:function(){return p.then(Ni)}})}}),{pending:r,rejected:n,fulfilled:o,typePrefix:t})}t.withTypes=function(){return t}}();var Mi="listenerMiddleware";Oi(Mi+"/add"),Oi(Mi+"/removeAll"),Oi(Mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Ae];return Ie.get(e,t)},set:function(e){var i=this[Ae];Ie.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Ae];if(!r.P)switch(r.i){case 5:o(r)&&xe(r);break;case 4:i(r)&&xe(r)}}}function i(t){for(var e=t.t,i=t.k,o=Pe(i),r=o.length-1;r>=0;r--){var n=o[r];if(n!==Ae){var s=e[n];if(void 0===s&&!Xt(e,n))return!0;var a=i[n],l=a&&a[Ae];if(l?l.t!==s:!Yt(a,s))return!0}}var c=!!e[Ae];return o.length!==Pe(e).length+(c?0:1)}function o(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var o=0;o<e.length;o++)if(!e.hasOwnProperty(o))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,i){var o=Array.isArray(e),r=function(e,i){if(e){for(var o=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(o,""+r,t(r,!0));return o}var n=Ue(i);delete n[Ae];for(var s=Pe(n),a=0;a<s.length;a++){var l=s[a];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(i),n)}(o,e),n={i:o?5:4,A:i?i.A:ae(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Ae,{value:n,writable:!0}),r},S:function(t,i,r){r?Kt(i)&&i[Ae].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Ae];if(i){var r=i.t,n=i.k,s=i.R,a=i.i;if(4===a)qt(n,(function(e){e!==Ae&&(void 0!==r[e]||Xt(r,e)?s[e]||t(n[e]):(s[e]=!0,xe(i)))})),qt(r,(function(t){void 0!==n[t]||Xt(n,t)||(s[t]=!1,xe(i))}));else if(5===a){if(o(i)&&(xe(i),s.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<n.length;c++)s[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):o(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ai{static get(t){var e;const i="string"==typeof t?t:t.name,o="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(It(r))return r;if(null==o)return;const n=Si({...o,reducers:null!==(e=o.reducers)&&void 0!==e?e:{}}),s=$i({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[o.name]=new Ai(n,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const o=e,r=t[o];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[o]: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()}}const zi=t=>{const e=null!=t?t:{};return(t,i)=>{var o;const r={hasChanged:(t,e)=>!p(t,e),attribute:!1,...e};s(r)(t,i);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(i,{selector:null!==(o=e.selector)&&void 0!==o?o:t=>t[i],store:e.store})}};var Pi,Ui,Ti;const Ii=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ti=null===(Ui=null===(Pi=window.safari)||void 0===Pi?void 0:Pi.pushNotification)||void 0===Ui?void 0:Ui.toString())&&void 0!==Ti?Ti:""),Li={distance:kt.create("--ft-tooltip-distance","SIZE","4px"),color:kt.create("--ft-tooltip-color","COLOR","#FFFFFF"),backgroundColor:kt.create("--ft-tooltip-background-color","COLOR","#666666"),zIndex:kt.create("--ft-tooltip-z-index","NUMBER","100"),borderRadiusS:kt.external(Et.borderRadiusS,"Design system"),maxWidth:kt.create("--ft-tooltip-max-width","SIZE","150px")},Fi=O`
|
|
108
108
|
.ft-tooltip--container {
|
|
109
109
|
display: block;
|
|
110
110
|
}
|
|
@@ -133,7 +133,7 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
133
133
|
position: relative;
|
|
134
134
|
word-break: break-word;
|
|
135
135
|
}
|
|
136
|
-
`,Bi=kt.extend("--ft-typography-font-family",Et.titleFont),_i=kt.extend("--ft-typography-font-family",Et.contentFont),Di={fontFamily:_i,fontSize:kt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:kt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:kt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:kt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:kt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wi=kt.extend("--ft-typography-title-font-family",Bi),Hi=kt.extend("--ft-typography-title-font-size",Di.fontSize,"20px"),Vi=kt.extend("--ft-typography-title-font-weight",Di.fontWeight,"normal"),Ki=kt.extend("--ft-typography-title-letter-spacing",Di.letterSpacing,"0.15px"),Zi=kt.extend("--ft-typography-title-line-height",Di.lineHeight,"1.2"),qi=kt.extend("--ft-typography-title-text-transform",Di.textTransform,"inherit"),Ji=kt.extend("--ft-typography-title-dense-font-family",Bi),Xi=kt.extend("--ft-typography-title-dense-font-size",Di.fontSize,"14px"),Gi=kt.extend("--ft-typography-title-dense-font-weight",Di.fontWeight,"normal"),Yi=kt.extend("--ft-typography-title-dense-letter-spacing",Di.letterSpacing,"0.105px"),Qi=kt.extend("--ft-typography-title-dense-line-height",Di.lineHeight,"1.7"),to=kt.extend("--ft-typography-title-dense-text-transform",Di.textTransform,"inherit"),eo=kt.extend("--ft-typography-subtitle1-font-family",_i),io=kt.extend("--ft-typography-subtitle1-font-size",Di.fontSize,"16px"),oo=kt.extend("--ft-typography-subtitle1-font-weight",Di.fontWeight,"600"),ro=kt.extend("--ft-typography-subtitle1-letter-spacing",Di.letterSpacing,"0.144px"),no=kt.extend("--ft-typography-subtitle1-line-height",Di.lineHeight,"1.5"),so=kt.extend("--ft-typography-subtitle1-text-transform",Di.textTransform,"inherit"),ao=kt.extend("--ft-typography-subtitle2-font-family",_i),lo=kt.extend("--ft-typography-subtitle2-font-size",Di.fontSize,"14px"),co=kt.extend("--ft-typography-subtitle2-font-weight",Di.fontWeight,"normal"),ho=kt.extend("--ft-typography-subtitle2-letter-spacing",Di.letterSpacing,"0.098px"),fo=kt.extend("--ft-typography-subtitle2-line-height",Di.lineHeight,"1.7"),uo=kt.extend("--ft-typography-subtitle2-text-transform",Di.textTransform,"inherit"),po=kt.extend("--ft-typography-body1-font-family",_i),vo=kt.extend("--ft-typography-body1-font-size",Di.fontSize,"16px"),bo=kt.extend("--ft-typography-body1-font-weight",Di.fontWeight,"normal"),yo=kt.extend("--ft-typography-body1-letter-spacing",Di.letterSpacing,"0.496px"),go=kt.extend("--ft-typography-body1-line-height",Di.lineHeight,"1.5"),xo=kt.extend("--ft-typography-body1-text-transform",Di.textTransform,"inherit"),mo={fontFamily:kt.extend("--ft-typography-body2-font-family",_i),fontSize:kt.extend("--ft-typography-body2-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-body2-font-weight",Di.fontWeight,"normal"),letterSpacing:kt.extend("--ft-typography-body2-letter-spacing",Di.letterSpacing,"0.252px"),lineHeight:kt.extend("--ft-typography-body2-line-height",Di.lineHeight,"1.4"),textTransform:kt.extend("--ft-typography-body2-text-transform",Di.textTransform,"inherit")},wo=kt.extend("--ft-typography-caption-font-family",_i),$o=kt.extend("--ft-typography-caption-font-size",Di.fontSize,"12px"),Oo=kt.extend("--ft-typography-caption-font-weight",Di.fontWeight,"normal"),ko=kt.extend("--ft-typography-caption-letter-spacing",Di.letterSpacing,"0.396px"),So=kt.extend("--ft-typography-caption-line-height",Di.lineHeight,"1.33"),Eo=kt.extend("--ft-typography-caption-text-transform",Di.textTransform,"inherit"),Co=kt.extend("--ft-typography-breadcrumb-font-family",_i),jo=kt.extend("--ft-typography-breadcrumb-font-size",Di.fontSize,"10px"),Ro=kt.extend("--ft-typography-breadcrumb-font-weight",Di.fontWeight,"normal"),No=kt.extend("--ft-typography-breadcrumb-letter-spacing",Di.letterSpacing,"0.33px"),Mo=kt.extend("--ft-typography-breadcrumb-line-height",Di.lineHeight,"1.6"),Ao=kt.extend("--ft-typography-breadcrumb-text-transform",Di.textTransform,"inherit"),zo=kt.extend("--ft-typography-overline-font-family",_i),
|
|
136
|
+
`,Bi=kt.extend("--ft-typography-font-family",Et.titleFont),_i=kt.extend("--ft-typography-font-family",Et.contentFont),Di={fontFamily:_i,fontSize:kt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:kt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:kt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:kt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:kt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Wi=kt.extend("--ft-typography-title-font-family",Bi),Hi=kt.extend("--ft-typography-title-font-size",Di.fontSize,"20px"),Vi=kt.extend("--ft-typography-title-font-weight",Di.fontWeight,"normal"),Ki=kt.extend("--ft-typography-title-letter-spacing",Di.letterSpacing,"0.15px"),Zi=kt.extend("--ft-typography-title-line-height",Di.lineHeight,"1.2"),qi=kt.extend("--ft-typography-title-text-transform",Di.textTransform,"inherit"),Ji=kt.extend("--ft-typography-title-dense-font-family",Bi),Xi=kt.extend("--ft-typography-title-dense-font-size",Di.fontSize,"14px"),Gi=kt.extend("--ft-typography-title-dense-font-weight",Di.fontWeight,"normal"),Yi=kt.extend("--ft-typography-title-dense-letter-spacing",Di.letterSpacing,"0.105px"),Qi=kt.extend("--ft-typography-title-dense-line-height",Di.lineHeight,"1.7"),to=kt.extend("--ft-typography-title-dense-text-transform",Di.textTransform,"inherit"),eo=kt.extend("--ft-typography-subtitle1-font-family",_i),io=kt.extend("--ft-typography-subtitle1-font-size",Di.fontSize,"16px"),oo=kt.extend("--ft-typography-subtitle1-font-weight",Di.fontWeight,"600"),ro=kt.extend("--ft-typography-subtitle1-letter-spacing",Di.letterSpacing,"0.144px"),no=kt.extend("--ft-typography-subtitle1-line-height",Di.lineHeight,"1.5"),so=kt.extend("--ft-typography-subtitle1-text-transform",Di.textTransform,"inherit"),ao=kt.extend("--ft-typography-subtitle2-font-family",_i),lo=kt.extend("--ft-typography-subtitle2-font-size",Di.fontSize,"14px"),co=kt.extend("--ft-typography-subtitle2-font-weight",Di.fontWeight,"normal"),ho=kt.extend("--ft-typography-subtitle2-letter-spacing",Di.letterSpacing,"0.098px"),fo=kt.extend("--ft-typography-subtitle2-line-height",Di.lineHeight,"1.7"),uo=kt.extend("--ft-typography-subtitle2-text-transform",Di.textTransform,"inherit"),po=kt.extend("--ft-typography-body1-font-family",_i),vo=kt.extend("--ft-typography-body1-font-size",Di.fontSize,"16px"),bo=kt.extend("--ft-typography-body1-font-weight",Di.fontWeight,"normal"),yo=kt.extend("--ft-typography-body1-letter-spacing",Di.letterSpacing,"0.496px"),go=kt.extend("--ft-typography-body1-line-height",Di.lineHeight,"1.5"),xo=kt.extend("--ft-typography-body1-text-transform",Di.textTransform,"inherit"),mo={fontFamily:kt.extend("--ft-typography-body2-font-family",_i),fontSize:kt.extend("--ft-typography-body2-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-body2-font-weight",Di.fontWeight,"normal"),letterSpacing:kt.extend("--ft-typography-body2-letter-spacing",Di.letterSpacing,"0.252px"),lineHeight:kt.extend("--ft-typography-body2-line-height",Di.lineHeight,"1.4"),textTransform:kt.extend("--ft-typography-body2-text-transform",Di.textTransform,"inherit")},wo=kt.extend("--ft-typography-caption-font-family",_i),$o=kt.extend("--ft-typography-caption-font-size",Di.fontSize,"12px"),Oo=kt.extend("--ft-typography-caption-font-weight",Di.fontWeight,"normal"),ko=kt.extend("--ft-typography-caption-letter-spacing",Di.letterSpacing,"0.396px"),So=kt.extend("--ft-typography-caption-line-height",Di.lineHeight,"1.33"),Eo=kt.extend("--ft-typography-caption-text-transform",Di.textTransform,"inherit"),Co=kt.extend("--ft-typography-breadcrumb-font-family",_i),jo=kt.extend("--ft-typography-breadcrumb-font-size",Di.fontSize,"10px"),Ro=kt.extend("--ft-typography-breadcrumb-font-weight",Di.fontWeight,"normal"),No=kt.extend("--ft-typography-breadcrumb-letter-spacing",Di.letterSpacing,"0.33px"),Mo=kt.extend("--ft-typography-breadcrumb-line-height",Di.lineHeight,"1.6"),Ao=kt.extend("--ft-typography-breadcrumb-text-transform",Di.textTransform,"inherit"),zo=kt.extend("--ft-typography-overline-font-family",_i),Po=kt.extend("--ft-typography-overline-font-size",Di.fontSize,"10px"),Uo=kt.extend("--ft-typography-overline-font-weight",Di.fontWeight,"normal"),To=kt.extend("--ft-typography-overline-letter-spacing",Di.letterSpacing,"1.5px"),Io=kt.extend("--ft-typography-overline-line-height",Di.lineHeight,"1.6"),Lo=kt.extend("--ft-typography-overline-text-transform",Di.textTransform,"uppercase"),Fo={fontFamily:kt.extend("--ft-typography-button-font-family",_i),fontSize:kt.extend("--ft-typography-button-font-size",Di.fontSize,"14px"),fontWeight:kt.extend("--ft-typography-button-font-weight",Di.fontWeight,"600"),letterSpacing:kt.extend("--ft-typography-button-letter-spacing",Di.letterSpacing,"1.246px"),lineHeight:kt.extend("--ft-typography-button-line-height",Di.lineHeight,"1.15"),textTransform:kt.extend("--ft-typography-button-text-transform",Di.textTransform,"uppercase")},Bo=O`
|
|
137
137
|
.ft-typography--title {
|
|
138
138
|
font-family: ${Wi};
|
|
139
139
|
font-size: ${Hi};
|
|
@@ -209,8 +209,8 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
209
209
|
`,qo=O`
|
|
210
210
|
.ft-typography--overline {
|
|
211
211
|
font-family: ${zo};
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
212
|
+
font-size: ${Po};
|
|
213
|
+
font-weight: ${Uo};
|
|
214
214
|
letter-spacing: ${To};
|
|
215
215
|
line-height: ${Io};
|
|
216
216
|
text-transform: ${Lo};
|
|
@@ -572,7 +572,7 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
572
572
|
${St(sr.size,fr.iconSize)};
|
|
573
573
|
${St(sr.color,"var(--ft-button-internal-color)")};
|
|
574
574
|
}
|
|
575
|
-
`,
|
|
575
|
+
`,Pt],xr=kt.external(Et.colorOutline,"Design system"),mr=kt.external(Et.colorOnSurface,"Design system"),wr=kt.external(Et.colorOnSurfaceMedium,"Design system"),$r=kt.external(Et.colorPrimary,"Design system"),Or=kt.external(Et.colorSurface,"Design system"),kr=kt.external(Et.transitionDuration,"Design system"),Sr=kt.external(Et.transitionTimingFunction,"Design system"),Er=[Ko,O`
|
|
576
576
|
:host {
|
|
577
577
|
display: flex;
|
|
578
578
|
max-height: 100%;
|
|
@@ -754,7 +754,7 @@ var mt,wt;let $t=class extends U{constructor(){super(...arguments),this.renderOp
|
|
|
754
754
|
* @license
|
|
755
755
|
* Copyright 2020 Google LLC
|
|
756
756
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
757
|
-
*/const{I:zr}=gt,
|
|
757
|
+
*/const{I:zr}=gt,Pr=()=>document.createComment(""),Ur=(t,e,i)=>{var o;const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=r.insertBefore(Pr(),n),o=r.insertBefore(Pr(),n);i=new zr(e,o,t,t.options)}else{const e=i._$AB.nextSibling,s=i._$AM,a=s!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==s._$AU&&i._$AP(e)}if(e!==n||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return i},Tr=(t,e,i=t)=>(t._$AI(e,i),t),Ir={},Lr=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Fr=(t,e,i)=>{const o=new Map;for(let r=e;r<=i;r++)o.set(t[r],r);return o},Br=Mr(class extends Ar{constructor(t){if(super(t),t.type!==Nr)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const r=[],n=[];let s=0;for(const e of t)r[s]=o?o(e,s):s,n[s]=i(e,s),s++;return{values:n,keys:r}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var r;const n=(t=>t._$AH)(t),{values:s,keys:a}=this.dt(e,i,o);if(!Array.isArray(n))return this.ht=a,s;const l=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let h,f,u=0,d=n.length-1,p=0,v=s.length-1;for(;u<=d&&p<=v;)if(null===n[u])u++;else if(null===n[d])d--;else if(l[u]===a[p])c[p]=Tr(n[u],s[p]),u++,p++;else if(l[d]===a[v])c[v]=Tr(n[d],s[v]),d--,v--;else if(l[u]===a[v])c[v]=Tr(n[u],s[v]),Ur(t,c[v+1],n[u]),u++,v--;else if(l[d]===a[p])c[p]=Tr(n[d],s[p]),Ur(t,n[u],n[d]),d--,p++;else if(void 0===h&&(h=Fr(a,p,v),f=Fr(l,u,d)),h.has(l[u]))if(h.has(l[d])){const e=f.get(a[p]),i=void 0!==e?n[e]:null;if(null===i){const e=Ur(t,n[u]);Tr(e,s[p]),c[p]=e}else c[p]=Tr(i,s[p]),Ur(t,n[u],i),n[e]=null;p++}else Lr(n[d]),d--;else Lr(n[u]),u++;for(;p<=v;){const e=Ur(t,c[v+1]);Tr(e,s[p]),c[p++]=e}for(;u<=d;){const t=n[u++];null!==t&&Lr(t)}return this.ht=a,((t,e=Ir)=>{t._$AH=e})(t,c),ot}}),_r=O`
|
|
758
758
|
`,Dr=O`
|
|
759
759
|
`,Wr=Ai.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});
|
|
760
760
|
/**
|
|
@@ -820,7 +820,7 @@ const wn=Mr(class extends Ar{constructor(t){var e;if(super(t),t.type!==Rr||"clas
|
|
|
820
820
|
</div>
|
|
821
821
|
</div>
|
|
822
822
|
</div>
|
|
823
|
-
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,r=(t.offsetWidth-e)/2;let n=0,s=0;switch(this.validPosition){case"top":s=t.offsetTop-i,n=t.offsetLeft+r;break;case"bottom":s=t.offsetTop+t.offsetHeight,n=t.offsetLeft+r;break;case"left":s=t.offsetTop+o,n=t.offsetLeft-e;break;case"right":s=t.offsetTop+o,n=t.offsetLeft+t.offsetWidth}const a=this.tooltip.style;a.left=this.
|
|
823
|
+
`}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,r=(t.offsetWidth-e)/2;let n=0,s=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":s=t.offsetTop-i-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":s=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":s=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":s=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=n+"px",a.top=s+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,h=l.x+l.width-window.innerWidth;a.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let f=-l.y,u=l.y+l.height-window.innerHeight;a.top=s+Math.round(this.correctOutOfWindowPixels(f,u))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Li.maxWidth})`}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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Sn.elementDefinitions={"ft-typography":mn},Sn.styles=Fi,kn([s()],Sn.prototype,"text",void 0),kn([s({type:Boolean})],Sn.prototype,"manual",void 0),kn([s({type:Boolean})],Sn.prototype,"inline",void 0),kn([s({type:Number})],Sn.prototype,"delay",void 0),kn([s()],Sn.prototype,"position",void 0),kn([function(t,e,i){let o,r=t;return"object"==typeof t?(r=t.slot,o=t):o={flatten:e},i?u({slot:r,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Sn.prototype,"slotNodes",void 0),kn([c(".ft-tooltip--container")],Sn.prototype,"container",void 0),kn([c(".ft-tooltip")],Sn.prototype,"tooltip",void 0),kn([c(".ft-tooltip--content")],Sn.prototype,"tooltipContent",void 0),kn([a()],Sn.prototype,"visible",void 0),v("ft-tooltip")(Sn);class En extends zt{render(){return it`
|
|
824
824
|
<div class="ft-loader">
|
|
825
825
|
<div></div>
|
|
826
826
|
<div></div>
|
|
@@ -838,7 +838,7 @@ class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
838
838
|
${jn(this.resolvedIcon)}
|
|
839
839
|
<slot ?hidden=${e}></slot>
|
|
840
840
|
</i>
|
|
841
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Mn.file_format:this.resolvedIcon=null!==(t=Nn[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Mn.material:this.resolvedIcon=this.value||rt;break;default:this.resolvedIcon=null!==(e=Rn[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zn.elementDefinitions={},zn.styles=cr,An([s()],zn.prototype,"variant",void 0),An([s()],zn.prototype,"value",void 0),An([a()],zn.prototype,"resolvedIcon",void 0),An([c("slot")],zn.prototype,"slottedContent",void 0),v("ft-icon")(zn);var
|
|
841
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Mn.file_format:this.resolvedIcon=null!==(t=Nn[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Mn.material:this.resolvedIcon=this.value||rt;break;default:this.resolvedIcon=null!==(e=Rn[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zn.elementDefinitions={},zn.styles=cr,An([s()],zn.prototype,"variant",void 0),An([s()],zn.prototype,"value",void 0),An([a()],zn.prototype,"resolvedIcon",void 0),An([c("slot")],zn.prototype,"slottedContent",void 0),v("ft-icon")(zn);var Pn=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Un extends zt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"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};return this.addTooltipIfNeeded(it`
|
|
842
842
|
<button part="button"
|
|
843
843
|
class="${wn(t)}"
|
|
844
844
|
aria-label="${this.getLabel()}"
|
|
@@ -861,7 +861,7 @@ class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
861
861
|
</ft-tooltip>
|
|
862
862
|
`:t}resolveIcon(){return this.loading?it`
|
|
863
863
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?it`
|
|
864
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:rt}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}}
|
|
864
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:rt}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}}Un.elementDefinitions={"ft-ripple":On,"ft-tooltip":Sn,"ft-typography":mn,"ft-icon":zn,"ft-loader":En},Un.styles=[Ut,gr],Pn([s({type:String,reflect:!0})],Un.prototype,"role",void 0),Pn([s({type:Boolean})],Un.prototype,"primary",void 0),Pn([s({type:Boolean})],Un.prototype,"outlined",void 0),Pn([s({type:Boolean})],Un.prototype,"disabled",void 0),Pn([s({type:Boolean})],Un.prototype,"dense",void 0),Pn([s({type:Boolean})],Un.prototype,"round",void 0),Pn([s()],Un.prototype,"label",void 0),Pn([s()],Un.prototype,"icon",void 0),Pn([s()],Un.prototype,"iconVariant",void 0),Pn([s({type:Boolean})],Un.prototype,"trailingIcon",void 0),Pn([s({type:Boolean})],Un.prototype,"loading",void 0),Pn([s()],Un.prototype,"tooltipPosition",void 0),Pn([s({type:Boolean})],Un.prototype,"hideTooltip",void 0),Pn([s({type:Boolean})],Un.prototype,"forceTooltip",void 0),Pn([c(".ft-button")],Un.prototype,"button",void 0),Pn([c(".ft-button--label slot")],Un.prototype,"slottedContent",void 0),v("ft-button")(Un);const Tn=kt.extend("--ft-checkbox-text-color",Et.colorOnSurfaceHigh),In=kt.external(Et.colorPrimary,"Design system"),Ln=kt.external(Et.colorOnPrimary,"Design system"),Fn=kt.extend("--ft-checkbox-border-color",Et.colorOnSurfaceMedium),Bn=kt.external(Et.colorOnSurfaceDisabled,"Design system"),_n=O`
|
|
865
865
|
* {
|
|
866
866
|
box-sizing: border-box;
|
|
867
867
|
}
|
|
@@ -1207,7 +1207,7 @@ class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
1207
1207
|
@change=${t=>t.stopPropagation()}>
|
|
1208
1208
|
${t.renderOption?t.renderOption:t.label}
|
|
1209
1209
|
</ft-radio>
|
|
1210
|
-
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}rs.elementDefinitions={"ft-button":
|
|
1210
|
+
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}rs.elementDefinitions={"ft-button":Un,"ft-ripple":On,"ft-typography":mn,"ft-checkbox":Wn,"ft-icon":zn,"ft-radio":Gn},rs.styles=is,os([s({type:String})],rs.prototype,"filterId",void 0),os([s({type:Object})],rs.prototype,"parent",void 0),os([s({type:Array})],rs.prototype,"options",void 0),os([s({type:Boolean})],rs.prototype,"multivalued",void 0),os([s({type:Boolean})],rs.prototype,"disabled",void 0),os([s({type:Boolean})],rs.prototype,"hideSelectedOptions",void 0),os([s({type:Boolean})],rs.prototype,"preventNavigation",void 0),os([s({type:String})],rs.prototype,"filter",void 0),os([s({type:String})],rs.prototype,"moreValuesButtonLabel",void 0),os([s({type:String})],rs.prototype,"noValuesLabel",void 0),os([s({type:Number})],rs.prototype,"displayedValuesLimit",void 0),os([c(".ft-filter-level--container")],rs.prototype,"container",void 0),os([a()],rs.prototype,"displayedPages",void 0);const ns={buttonsColor:kt.extend("--ft-snap-scroll-buttons-color",Et.colorPrimary),buttonsZIndex:kt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:kt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:kt.external(Et.colorSurface,"Design system")},ss=O`
|
|
1211
1211
|
.ft-snap-scroll {
|
|
1212
1212
|
box-sizing: border-box;
|
|
1213
1213
|
position: relative;
|
|
@@ -1356,7 +1356,7 @@ class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
1356
1356
|
@click=${this.next}
|
|
1357
1357
|
></ft-button>
|
|
1358
1358
|
</div>
|
|
1359
|
-
`}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ls(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}cs.elementDefinitions={"ft-button":
|
|
1359
|
+
`}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ls(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}cs.elementDefinitions={"ft-button":Un},cs.styles=ss,as([s({type:Boolean})],cs.prototype,"horizontal",void 0),as([s({type:Boolean})],cs.prototype,"hideScrollbar",void 0),as([s({type:Boolean})],cs.prototype,"controls",void 0),as([s({type:Boolean})],cs.prototype,"limitSize",void 0),as([a()],cs.prototype,"elements",void 0),as([a()],cs.prototype,"currentElement",void 0),as([a()],cs.prototype,"withScroll",void 0),as([a()],cs.prototype,"startReached",void 0),as([a()],cs.prototype,"endReached",void 0),as([c(".ft-snap-scroll--content")],cs.prototype,"contentSlot",void 0),v("ft-snap-scroll")(cs);var hs=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class fs extends CustomEvent{constructor(t){super("change",{detail:t})}}class us extends zt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new r(300),this.changeDebouncer=new r(10),this.lastDispatchedValues=[]}get flatOptions(){return d(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return it`
|
|
1360
1360
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1361
1361
|
part="container">
|
|
1362
1362
|
${this.label||t?it`
|
|
@@ -1428,7 +1428,7 @@ class Cn extends Ar{constructor(t){if(super(t),this.et=rt,t.type!==Nr)throw Erro
|
|
|
1428
1428
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1429
1429
|
noValuesLabel="${this.noValuesLabel}"
|
|
1430
1430
|
></ft-filter-level>
|
|
1431
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;p(this.lastDispatchedValues,t)||(this.dispatchEvent(new fs(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}us.elementDefinitions={"ft-button":
|
|
1431
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;p(this.lastDispatchedValues,t)||(this.dispatchEvent(new fs(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}us.elementDefinitions={"ft-button":Un,"ft-filter-level":rs,"ft-snap-scroll":cs,"ft-typography":mn},us.styles=Er,hs([s({type:String})],us.prototype,"id",void 0),hs([s({type:String})],us.prototype,"label",void 0),hs([s({type:String})],us.prototype,"filterPlaceHolder",void 0),hs([s({type:String})],us.prototype,"clearButtonLabel",void 0),hs([s({type:String})],us.prototype,"moreValuesButtonLabel",void 0),hs([s({type:String})],us.prototype,"noValuesLabel",void 0),hs([b([])],us.prototype,"options",void 0),hs([s({type:Boolean})],us.prototype,"multivalued",void 0),hs([s({type:Boolean})],us.prototype,"disabled",void 0),hs([s({type:Boolean})],us.prototype,"raiseSelectedOptions",void 0),hs([s({type:Number})],us.prototype,"displayedValuesLimit",void 0),hs([s({type:Boolean})],us.prototype,"hideClearButton",void 0),hs([c(".ft-filter--slot")],us.prototype,"slotElement",void 0),hs([c(".ft-filter--container")],us.prototype,"container",void 0),hs([c(".ft-filter--values")],us.prototype,"valuesContainer",void 0),hs([c(".ft-filter--levels")],us.prototype,"levelsContainer",void 0),hs([a()],us.prototype,"lastLevelHasHiddenvalues",void 0),hs([c(".ft-filter--filter input")],us.prototype,"filterInput",void 0),hs([function(t){return l({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],us.prototype,"levels",void 0),hs([a()],us.prototype,"withScroll",void 0),hs([a()],us.prototype,"filter",void 0),hs([a()],us.prototype,"slideIn",void 0),hs([a()],us.prototype,"slideOut",void 0);var ds=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class ps extends zt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return it`
|
|
1432
1432
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1433
1433
|
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ps.elementDefinitions={},ds([s({type:String})],ps.prototype,"label",void 0),ds([s({type:Object,converter:t=>t})],ps.prototype,"value",void 0),ds([s({type:Boolean,reflect:!0})],ps.prototype,"selected",void 0),ds([s({type:Object})],ps.prototype,"subOptions",void 0),ds([b({})],ps.prototype,"renderOption",void 0),ds([c(".ft-filter-option--slot")],ps.prototype,"slotElement",void 0),v("ft-filter")(us),v("ft-filter-option")(ps);const vs=an.build("designedSearchLocaleSelector"),bs={label:"Select a language",allLanguagesWarningMessage:"Alla languages is only recommended when searching for language-agnostic keywords such as product references"};var ys=function(t,e,i,o){for(var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class gs extends(en(un)){constructor(){super(),this.warningTooltipPosition="left",this.addStore(Wr),this.addI18nContext(vs,bs)}render(){var t,e,i;return(null!==(e=null===(t=this.locales)||void 0===t?void 0:t.length)&&void 0!==e?e:0)<=1?this.editorMode?it`
|
|
1434
1434
|
<div class="ft-search-locale-selector--placeholder">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-locale-selector",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"description": "Search locale selector for integrated fluid-topics search pages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-filter": "1.0.
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.
|
|
24
|
-
"@fluid-topics/ft-icon": "1.0.
|
|
25
|
-
"@fluid-topics/ft-search-context": "1.0.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-filter": "1.0.53",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.53",
|
|
24
|
+
"@fluid-topics/ft-icon": "1.0.53",
|
|
25
|
+
"@fluid-topics/ft-search-context": "1.0.53",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.0.53",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.0.53",
|
|
28
28
|
"lit": "2.7.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@fluid-topics/public-api": "1.0.
|
|
31
|
+
"@fluid-topics/public-api": "1.0.44"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "adfef35652b764d792d22aeef90c706676636803"
|
|
34
34
|
}
|