@fluid-topics/ft-chip-choice 1.3.9 → 1.3.11

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
- "use strict";(()=>{var pn=Object.create;var Po=Object.defineProperty;var fn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var yn=Object.getPrototypeOf,gn=Object.prototype.hasOwnProperty;var ue=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var hn=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of un(o))!gn.call(e,c)&&c!==a&&Po(e,c,{get:()=>o[c],enumerable:!(i=fn(o,c))||i.enumerable});return e};var b=(e,o,a)=>(a=e!=null?pn(yn(e)):{},hn(o||!e||!e.__esModule?Po(a,"default",{value:e,enumerable:!0}):a,e));var L=ue((Kn,Wo)=>{Wo.exports=ftGlobals.wcUtils});var I=ue((Vn,ko)=>{ko.exports=ftGlobals.lit});var ct=ue((jn,zo)=>{zo.exports=ftGlobals.litDecorators});var ge=ue((Os,Ur)=>{Ur.exports=ftGlobals.litClassMap});var _a=ue((Ep,Da)=>{Da.exports=ftGlobals.litUnsafeHTML});var Ao=b(L());var Do=b(I()),vt=b(ct()),_o=b(L());var To=b(I()),Yn={},Ho=To.css`
1
+ "use strict";(()=>{var pn=Object.create;var Po=Object.defineProperty;var fn=Object.getOwnPropertyDescriptor;var un=Object.getOwnPropertyNames;var yn=Object.getPrototypeOf,gn=Object.prototype.hasOwnProperty;var ue=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var hn=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of un(o))!gn.call(e,c)&&c!==a&&Po(e,c,{get:()=>o[c],enumerable:!(i=fn(o,c))||i.enumerable});return e};var b=(e,o,a)=>(a=e!=null?pn(yn(e)):{},hn(o||!e||!e.__esModule?Po(a,"default",{value:e,enumerable:!0}):a,e));var L=ue((Kn,Wo)=>{Wo.exports=ftGlobals.wcUtils});var I=ue((Vn,ko)=>{ko.exports=ftGlobals.lit});var ct=ue((jn,zo)=>{zo.exports=ftGlobals.litDecorators});var ge=ue((Os,Ur)=>{Ur.exports=ftGlobals.litClassMap});var Da=ue((Ep,_a)=>{_a.exports=ftGlobals.litUnsafeHTML});var Ao=b(L());var _o=b(I()),vt=b(ct()),Do=b(L());var To=b(I()),Yn={},Ho=To.css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -9,11 +9,11 @@
9
9
  :host(:focus-visible) {
10
10
  outline: none;
11
11
  }
12
- `;var Kt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},qe=class extends CustomEvent{constructor(o){super("change",{detail:{value:o}})}},ft=class extends _o.FtLitElement{constructor(){super(...arguments),this.name="",this.multiselect=!1,this.role="radiogroup",this.ariaLabelledBy="",this.selectedOptions=new Set}render(){return Do.html`
12
+ `;var Kt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},qe=class extends CustomEvent{constructor(o){super("change",{detail:{value:o}})}},ft=class extends Do.FtLitElement{constructor(){super(...arguments),this.name="",this.multiselect=!1,this.role="radiogroup",this.ariaLabelledBy="",this.selectedOptions=new Set}render(){return _o.html`
13
13
  <slot @slotchange=${this.onSlotChange}
14
14
  @ft-chip-choice-option-change=${this.onChange}>
15
15
  </slot>
16
- `}onSlotChange(){this.chipChoiceOptions.forEach(o=>{o.name=this.name,o.selected&&(this.selectedOptions.add(o.value),this.requestUpdate())})}update(o){super.update(o),o.has("multiselect")&&(this.role=this.multiselect?"group":"radiogroup",this.chipChoiceOptions.forEach(a=>{a.role=this.multiselect?"checkbox":"radio"}))}onChange(o){o.stopPropagation(),o.detail.selected?this.multiselect?this.selectedOptions.add(o.detail.value):(this.selectedOptions=new Set([o.detail.value]),this.chipChoiceOptions.map(a=>{a.selected=a.value===o.detail.value})):this.selectedOptions.delete(o.detail.value),this.requestUpdate(),this.dispatchEvent(new qe(new Set(this.selectedOptions)))}};ft.styles=Ho;Kt([(0,vt.property)()],ft.prototype,"name",void 0);Kt([(0,vt.property)({type:Boolean})],ft.prototype,"multiselect",void 0);Kt([(0,vt.property)({reflect:!0,attribute:"role"})],ft.prototype,"role",void 0);Kt([(0,vt.property)({reflect:!0,attribute:"aria-labelledby"})],ft.prototype,"ariaLabelledBy",void 0);Kt([(0,vt.queryAssignedElements)()],ft.prototype,"chipChoiceOptions",void 0);Kt([(0,vt.state)()],ft.prototype,"selectedOptions",void 0);var cn=b(I()),Ot=b(ct()),ln=b(L());var tn=b(I()),Z=b(L());var Ke=b(I()),w=b(L());var Ko=b(I()),D=b(L()),Go=D.FtCssVariableFactory.extend("--ft-ripple-color","",D.designSystemVariables.colorContent),y={color:Go,backgroundColor:D.FtCssVariableFactory.extend("--ft-ripple-background-color","",Go),opacityContentOnSurfacePressed:D.FtCssVariableFactory.external(D.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:D.FtCssVariableFactory.external(D.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:D.FtCssVariableFactory.external(D.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:D.FtCssVariableFactory.external(D.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:D.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Uo=D.FtCssVariableFactory.extend("--ft-ripple-color","",D.designSystemVariables.colorPrimary),Fo={color:Uo,backgroundColor:D.FtCssVariableFactory.extend("--ft-ripple-background-color","",Uo)},Mo=D.FtCssVariableFactory.extend("--ft-ripple-color","",D.designSystemVariables.colorSecondary),Zo={color:Mo,backgroundColor:D.FtCssVariableFactory.extend("--ft-ripple-background-color","",Mo)},Vo=Ko.css`
16
+ `}onSlotChange(){this.chipChoiceOptions.forEach(o=>{o.name=this.name,o.selected&&(this.selectedOptions.add(o.value),this.requestUpdate())})}update(o){super.update(o),o.has("multiselect")&&(this.role=this.multiselect?"group":"radiogroup",this.chipChoiceOptions.forEach(a=>{a.role=this.multiselect?"checkbox":"radio"}))}onChange(o){o.stopPropagation(),o.detail.selected?this.multiselect?this.selectedOptions.add(o.detail.value):(this.selectedOptions=new Set([o.detail.value]),this.chipChoiceOptions.map(a=>{a.selected=a.value===o.detail.value})):this.selectedOptions.delete(o.detail.value),this.requestUpdate(),this.dispatchEvent(new qe(new Set(this.selectedOptions)))}};ft.styles=Ho;Kt([(0,vt.property)()],ft.prototype,"name",void 0);Kt([(0,vt.property)({type:Boolean})],ft.prototype,"multiselect",void 0);Kt([(0,vt.property)({reflect:!0,attribute:"role"})],ft.prototype,"role",void 0);Kt([(0,vt.property)({reflect:!0,attribute:"aria-labelledby"})],ft.prototype,"ariaLabelledBy",void 0);Kt([(0,vt.queryAssignedElements)()],ft.prototype,"chipChoiceOptions",void 0);Kt([(0,vt.state)()],ft.prototype,"selectedOptions",void 0);var cn=b(I()),Ot=b(ct()),ln=b(L());var tn=b(I()),Z=b(L());var Ke=b(I()),w=b(L());var Ko=b(I()),_=b(L()),Go=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorContent),y={color:Go,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Go),opacityContentOnSurfacePressed:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:_.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Uo=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorPrimary),Fo={color:Uo,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Uo)},Mo=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorSecondary),Zo={color:Mo,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Mo)},Vo=Ko.css`
17
17
  :host {
18
18
  display: contents;
19
19
  }
@@ -278,7 +278,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
278
278
  .ft-icon--material {
279
279
  font-family: ${z.materialFontFamily}, "Material Icons", sans-serif;
280
280
  }
281
- `,ut.noTextSelect];var No=b(L());var Re=b(ct()),Va=b(L());var _r=b(I()),v=b(L());var zr=b(I()),ye=b(L()),A={color:ye.FtCssVariableFactory.extend("--ft-loader-color","",ye.designSystemVariables.colorPrimary),size:ye.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tr=zr.css`
281
+ `,ut.noTextSelect];var No=b(L());var Re=b(ct()),Va=b(L());var Dr=b(I()),v=b(L());var zr=b(I()),ye=b(L()),A={color:ye.FtCssVariableFactory.extend("--ft-loader-color","",ye.designSystemVariables.colorPrimary),size:ye.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tr=zr.css`
282
282
  :host {
283
283
  line-height: 0;
284
284
  }
@@ -347,7 +347,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
347
347
  transform: translate(calc(0.35 * ${A.size}), 0);
348
348
  }
349
349
  }
350
- `;var Hr=v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorPrimary),P={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorSurface),borderRadius:v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusL),color:Hr,fontSize:v.FtCssVariableFactory.extend("--ft-button-font-size","",xt.fontSize),iconSize:v.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:v.FtCssVariableFactory.extend("--ft-button-ripple-color","",Hr),verticalPadding:v.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOpacityDisabled,"Design system")},Dr=v.FtCssVariableFactory.extend("--ft-button-primary-color","",v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-primary-background-color","",v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorPrimary)),color:Dr,rippleColor:v.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Dr)},St={borderRadius:v.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusM)),verticalPadding:v.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Gr=[_r.css`
350
+ `;var Hr=v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorPrimary),P={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorSurface),borderRadius:v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusL),color:Hr,fontSize:v.FtCssVariableFactory.extend("--ft-button-font-size","",xt.fontSize),iconSize:v.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:v.FtCssVariableFactory.extend("--ft-button-ripple-color","",Hr),verticalPadding:v.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOpacityDisabled,"Design system")},_r=v.FtCssVariableFactory.extend("--ft-button-primary-color","",v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-primary-background-color","",v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorPrimary)),color:_r,rippleColor:v.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",_r)},St={borderRadius:v.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusM)),verticalPadding:v.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Gr=[Dr.css`
351
351
  :host {
352
352
  display: inline-block;
353
353
  max-width: 100%;
@@ -496,8 +496,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
496
496
  <div class="ft-ripple--effect"></div>
497
497
  </div>
498
498
  `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var a,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,a;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((a=this.target)!==null&&a!==void 0?a:i)}forceFocusUpdate(){var o;!((o=this.target)===null||o===void 0)&&o.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let a=(...p)=>u=>{p.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(u)},i=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},d={passive:!0};o.addEventListener("mouseover",this.startHover,d),o.addEventListener("mousemove",this.moveRipple,d),o.addEventListener("mouseleave",this.endHover,d),o.addEventListener("mousedown",i,d),o.addEventListener("touchstart",c,d),o.addEventListener("touchmove",this.moveRipple,d),o.addEventListener("keydown",l,d),o.addEventListener("focus",this.startFocus,d),o.addEventListener("blur",this.endFocus,d),o.addEventListener("focusin",this.startFocus,d),o.addEventListener("focusout",this.endFocus,d),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,d),o.removeEventListener("mousemove",this.moveRipple,d),o.removeEventListener("mouseleave",this.endHover,d),o.removeEventListener("mousedown",i,d),o.removeEventListener("touchstart",c,d),o.removeEventListener("touchmove",this.moveRipple,d),o.removeEventListener("keydown",l,d),o.removeEventListener("focus",this.startFocus,d),o.removeEventListener("blur",this.endFocus,d),o.removeEventListener("focusin",this.startFocus,d),o.removeEventListener("focusout",this.endFocus,d),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,i=o,c,l;return a.x!=null?{x:c,y:l}=a:i.touches!=null&&(c=i.touches[0].clientX,l=i.touches[0].clientY),{x:c,y:l}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let a of o.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=Vo;et([(0,K.property)({type:Boolean})],$.prototype,"primary",void 0);et([(0,K.property)({type:Boolean})],$.prototype,"secondary",void 0);et([(0,K.property)({type:Boolean})],$.prototype,"unbounded",void 0);et([(0,K.property)({type:Boolean})],$.prototype,"activated",void 0);et([(0,K.property)({type:Boolean})],$.prototype,"selected",void 0);et([(0,K.property)({type:Boolean})],$.prototype,"disabled",void 0);et([(0,K.state)()],$.prototype,"hovered",void 0);et([(0,K.state)()],$.prototype,"focused",void 0);et([(0,K.state)()],$.prototype,"pressed",void 0);et([(0,K.state)()],$.prototype,"rippling",void 0);et([(0,K.state)()],$.prototype,"originX",void 0);et([(0,K.state)()],$.prototype,"originY",void 0);et([(0,K.query)(".ft-ripple")],$.prototype,"ripple",void 0);et([(0,K.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Zr.customElement)("ft-ripple")($);var Ha=b(L());var Ta=b(I()),U=b(ct()),Ne=b(L());var da=b(L());var no=globalThis,We=no.trustedTypes,Kr=We?We.createPolicy("lit-html",{createHTML:e=>e}):void 0,Qr="$lit$",It=`lit$${Math.random().toFixed(9).slice(2)}$`,Jr="?"+It,bn=`<${Jr}>`,Ut=document,ke=()=>Ut.createComment(""),be=e=>e===null||typeof e!="object"&&typeof e!="function",io=Array.isArray,xn=e=>io(e)||typeof e?.[Symbol.iterator]=="function",Je=`[
499
- \f\r]`,me=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vr=/-->/g,jr=/>/g,_t=RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
500
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Yr=/'/g,Xr=/"/g,ta=/^(?:script|style|textarea|title)$/i,co=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),ea=co(1),oa=co(2),ra=co(3),xe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),qr=new WeakMap,Gt=Ut.createTreeWalker(Ut,129);function aa(e,o){if(!io(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Kr!==void 0?Kr.createHTML(o):o}var Sn=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=me;for(let p=0;p<a;p++){let u=e[p],m,C,x=-1,E=0;for(;E<u.length&&(d.lastIndex=E,C=d.exec(u),C!==null);)E=d.lastIndex,d===me?C[1]==="!--"?d=Vr:C[1]!==void 0?d=jr:C[2]!==void 0?(ta.test(C[2])&&(c=RegExp("</"+C[2],"g")),d=_t):C[3]!==void 0&&(d=_t):d===_t?C[0]===">"?(d=c??me,x=-1):C[1]===void 0?x=-2:(x=d.lastIndex-C[2].length,m=C[1],d=C[3]===void 0?_t:C[3]==='"'?Xr:Yr):d===Xr||d===Yr?d=_t:d===Vr||d===jr?d=me:(d=_t,c=void 0);let N=d===_t&&e[p+1].startsWith("/>")?" ":"";l+=d===me?u+bn:x>=0?(i.push(m),u.slice(0,x)+Qr+u.slice(x)+It+N):u+It+(x===-2?p:N)}return[aa(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},Se=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,u=this.parts,[m,C]=Sn(o,a);if(this.el=e.createElement(m,i),Gt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Gt.nextNode())!==null&&u.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(Qr)){let E=C[d++],N=c.getAttribute(x).split(It),R=/([.?@])?(.*)/.exec(E);u.push({type:1,index:l,name:R[2],strings:N,ctor:R[1]==="."?eo:R[1]==="?"?oo:R[1]==="@"?ro:oe}),c.removeAttribute(x)}else x.startsWith(It)&&(u.push({type:6,index:l}),c.removeAttribute(x));if(ta.test(c.tagName)){let x=c.textContent.split(It),E=x.length-1;if(E>0){c.textContent=We?We.emptyScript:"";for(let N=0;N<E;N++)c.append(x[N],ke()),Gt.nextNode(),u.push({type:2,index:++l});c.append(x[E],ke())}}}else if(c.nodeType===8)if(c.data===Jr)u.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(It,x+1))!==-1;)u.push({type:7,index:l}),x+=It.length-1}l++}}static createElement(o,a){let i=Ut.createElement("template");return i.innerHTML=o,i}};function ee(e,o,a=e,i){if(o===xe)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=be(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=ee(e,c._$AS(e,o.values),c,i)),o}var to=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:i}=this._$AD,c=(o?.creationScope??Ut).importNode(a,!0);Gt.currentNode=c;let l=Gt.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let m;u.type===2?m=new ze(l,l.nextSibling,this,o):u.type===1?m=new u.ctor(l,u.name,u.strings,this,o):u.type===6&&(m=new ao(l,this,o)),this._$AV.push(m),u=i[++p]}d!==u?.index&&(l=Gt.nextNode(),d++)}return Gt.currentNode=Ut,c}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},ze=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=c,this._$Cv=c?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=ee(this,o,a),be(o)?o===M||o==null||o===""?(this._$AH!==M&&this._$AR(),this._$AH=M):o!==this._$AH&&o!==xe&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):xn(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==M&&be(this._$AH)?this._$AA.nextSibling.data=o:this.T(Ut.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Se.createElement(aa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new to(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=qr.get(o.strings);return a===void 0&&qr.set(o.strings,a=new Se(o)),a}k(o){io(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(ke()),this.O(ke()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=M,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=M}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=ee(this,o,a,0),d=!be(o)||o!==this._$AH&&o!==xe,d&&(this._$AH=o);else{let p=o,u,m;for(o=l[0],u=0;u<l.length-1;u++)m=ee(this,p[i+u],a,u),m===xe&&(m=this._$AH[u]),d||=!be(m)||m!==this._$AH[u],m===M?o=M:o!==M&&(o+=(m??"")+l[u+1]),this._$AH[u]=m}d&&!c&&this.j(o)}j(o){o===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},eo=class extends oe{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===M?void 0:o}},oo=class extends oe{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==M)}},ro=class extends oe{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=ee(this,o,a,0)??M)===xe)return;let i=this._$AH,c=o===M&&i!==M||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==M&&(i===M||c);c&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},ao=class{constructor(o,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){ee(this,o)}};var Cn=no.litHtmlPolyfillSupport;Cn?.(Se,ze),(no.litHtmlVersions??=[]).push("3.3.0");var ia=Symbol.for(""),On=e=>{if(e?.r===ia)return e?._$litStatic$},lo=e=>({_$litStatic$:e,r:ia});var na=new Map,so=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],u,m=0,C=!1;for(;m<i;){for(u=o[m];m<i&&(l=a[m],(c=On(l))!==void 0);)u+=c+o[++m],C=!0;m!==i&&p.push(l),d.push(u),m++}if(m===i&&d.push(o[i]),C){let x=d.join("$$lit$$");(o=na.get(x))===void 0&&(d.raw=d,na.set(x,o=d)),a=p}return e(o,...a)},po=so(ea),Is=so(oa),Ps=so(ra);var fo=b(ct()),la=b(L());var yt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(yt||(yt={}));var ca=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},tt=class extends la.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?po`
499
+ \f\r]`,me=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vr=/-->/g,jr=/>/g,Dt=RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
500
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Yr=/'/g,Xr=/"/g,ta=/^(?:script|style|textarea|title)$/i,co=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),ea=co(1),oa=co(2),ra=co(3),xe=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),qr=new WeakMap,Gt=Ut.createTreeWalker(Ut,129);function aa(e,o){if(!io(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Kr!==void 0?Kr.createHTML(o):o}var Sn=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=me;for(let p=0;p<a;p++){let u=e[p],m,C,x=-1,E=0;for(;E<u.length&&(d.lastIndex=E,C=d.exec(u),C!==null);)E=d.lastIndex,d===me?C[1]==="!--"?d=Vr:C[1]!==void 0?d=jr:C[2]!==void 0?(ta.test(C[2])&&(c=RegExp("</"+C[2],"g")),d=Dt):C[3]!==void 0&&(d=Dt):d===Dt?C[0]===">"?(d=c??me,x=-1):C[1]===void 0?x=-2:(x=d.lastIndex-C[2].length,m=C[1],d=C[3]===void 0?Dt:C[3]==='"'?Xr:Yr):d===Xr||d===Yr?d=Dt:d===Vr||d===jr?d=me:(d=Dt,c=void 0);let N=d===Dt&&e[p+1].startsWith("/>")?" ":"";l+=d===me?u+bn:x>=0?(i.push(m),u.slice(0,x)+Qr+u.slice(x)+It+N):u+It+(x===-2?p:N)}return[aa(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},Se=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,u=this.parts,[m,C]=Sn(o,a);if(this.el=e.createElement(m,i),Gt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Gt.nextNode())!==null&&u.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(Qr)){let E=C[d++],N=c.getAttribute(x).split(It),R=/([.?@])?(.*)/.exec(E);u.push({type:1,index:l,name:R[2],strings:N,ctor:R[1]==="."?eo:R[1]==="?"?oo:R[1]==="@"?ro:oe}),c.removeAttribute(x)}else x.startsWith(It)&&(u.push({type:6,index:l}),c.removeAttribute(x));if(ta.test(c.tagName)){let x=c.textContent.split(It),E=x.length-1;if(E>0){c.textContent=We?We.emptyScript:"";for(let N=0;N<E;N++)c.append(x[N],ke()),Gt.nextNode(),u.push({type:2,index:++l});c.append(x[E],ke())}}}else if(c.nodeType===8)if(c.data===Jr)u.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(It,x+1))!==-1;)u.push({type:7,index:l}),x+=It.length-1}l++}}static createElement(o,a){let i=Ut.createElement("template");return i.innerHTML=o,i}};function ee(e,o,a=e,i){if(o===xe)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=be(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=ee(e,c._$AS(e,o.values),c,i)),o}var to=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:i}=this._$AD,c=(o?.creationScope??Ut).importNode(a,!0);Gt.currentNode=c;let l=Gt.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let m;u.type===2?m=new ze(l,l.nextSibling,this,o):u.type===1?m=new u.ctor(l,u.name,u.strings,this,o):u.type===6&&(m=new ao(l,this,o)),this._$AV.push(m),u=i[++p]}d!==u?.index&&(l=Gt.nextNode(),d++)}return Gt.currentNode=Ut,c}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},ze=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=c,this._$Cv=c?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=ee(this,o,a),be(o)?o===M||o==null||o===""?(this._$AH!==M&&this._$AR(),this._$AH=M):o!==this._$AH&&o!==xe&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):xn(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==M&&be(this._$AH)?this._$AA.nextSibling.data=o:this.T(Ut.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Se.createElement(aa(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new to(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=qr.get(o.strings);return a===void 0&&qr.set(o.strings,a=new Se(o)),a}k(o){io(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(ke()),this.O(ke()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=M,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=M}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=ee(this,o,a,0),d=!be(o)||o!==this._$AH&&o!==xe,d&&(this._$AH=o);else{let p=o,u,m;for(o=l[0],u=0;u<l.length-1;u++)m=ee(this,p[i+u],a,u),m===xe&&(m=this._$AH[u]),d||=!be(m)||m!==this._$AH[u],m===M?o=M:o!==M&&(o+=(m??"")+l[u+1]),this._$AH[u]=m}d&&!c&&this.j(o)}j(o){o===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},eo=class extends oe{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===M?void 0:o}},oo=class extends oe{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==M)}},ro=class extends oe{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=ee(this,o,a,0)??M)===xe)return;let i=this._$AH,c=o===M&&i!==M||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==M&&(i===M||c);c&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},ao=class{constructor(o,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){ee(this,o)}};var Cn=no.litHtmlPolyfillSupport;Cn?.(Se,ze),(no.litHtmlVersions??=[]).push("3.3.0");var ia=Symbol.for(""),On=e=>{if(e?.r===ia)return e?._$litStatic$},lo=e=>({_$litStatic$:e,r:ia});var na=new Map,so=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],u,m=0,C=!1;for(;m<i;){for(u=o[m];m<i&&(l=a[m],(c=On(l))!==void 0);)u+=c+o[++m],C=!0;m!==i&&p.push(l),d.push(u),m++}if(m===i&&d.push(o[i]),C){let x=d.join("$$lit$$");(o=na.get(x))===void 0&&(d.raw=d,na.set(x,o=d)),a=p}return e(o,...a)},po=so(ea),Is=so(oa),Ps=so(ra);var fo=b(ct()),la=b(L());var yt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(yt||(yt={}));var ca=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},tt=class extends la.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?po`
501
501
  <${lo(this.element)}
502
502
  part="text"
503
503
  class="ft-typography ft-typography--${this.variant}">
@@ -534,7 +534,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
534
534
  position: relative;
535
535
  word-break: break-word;
536
536
  }
537
- `;var ua=["top","right","bottom","left"],fa=["start","end"],yo=ua.reduce((e,o)=>e.concat(o,o+"-"+fa[0],o+"-"+fa[1]),[]),ya=Math.min,ga=Math.max;var vn={left:"right",right:"left",bottom:"top",top:"bottom"},wn={start:"end",end:"start"};function go(e,o,a){return ga(e,ya(o,a))}function Te(e,o){return typeof e=="function"?e(o):e}function ae(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function ho(e){return e==="x"?"y":"x"}function mo(e){return e==="y"?"height":"width"}function He(e){return["top","bottom"].includes(ae(e))?"y":"x"}function bo(e){return ho(He(e))}function ha(e,o,a){a===void 0&&(a=!1);let i=Pt(e),c=bo(e),l=mo(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=uo(d)),[d,uo(d)]}function ma(e){return e.replace(/start|end/g,o=>wn[o])}function uo(e){return e.replace(/left|right|bottom|top/g,o=>vn[o])}function Nn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?Nn(e):{top:e,right:e,bottom:e,left:e}}function Ft(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function xa(e,o,a){let{reference:i,floating:c}=e,l=He(o),d=bo(o),p=mo(d),u=ae(o),m=l==="y",C=i.x+i.width/2-c.width/2,x=i.y+i.height/2-c.height/2,E=i[p]/2-c[p]/2,N;switch(u){case"top":N={x:C,y:i.y-c.height};break;case"bottom":N={x:C,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-c.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Pt(o)){case"start":N[d]-=E*(a&&m?-1:1);break;case"end":N[d]+=E*(a&&m?-1:1);break}return N}var Sa=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:C,y:x}=xa(m,i,u),E=i,N={},R=0;for(let T=0;T<p.length;T++){let{name:_,fn:H}=p[T],{x:G,y:Q,data:$t,reset:X}=await H({x:C,y:x,initialPlacement:i,placement:E,strategy:c,middlewareData:N,rects:m,platform:d,elements:{reference:e,floating:o}});C=G??C,x=Q??x,N={...N,[_]:{...N[_],...$t}},X&&R<=50&&(R++,typeof X=="object"&&(X.placement&&(E=X.placement),X.rects&&(m=X.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):X.rects),{x:C,y:x}=xa(m,E,u)),T=-1)}return{x:C,y:x,placement:E,strategy:c,middlewareData:N}};async function xo(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:u}=e,{boundary:m="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:E=!1,padding:N=0}=Te(o,e),R=ba(N),_=p[E?x==="floating"?"reference":"floating":x],H=Ft(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(_)))==null||a?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:C,strategy:u})),G=x==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,Q=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),$t=await(l.isElement==null?void 0:l.isElement(Q))?await(l.getScale==null?void 0:l.getScale(Q))||{x:1,y:1}:{x:1,y:1},X=Ft(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:G,offsetParent:Q,strategy:u}):G);return{top:(H.top-X.top+R.top)/$t.y,bottom:(X.bottom-H.bottom+R.bottom)/$t.y,left:(H.left-X.left+R.left)/$t.x,right:(X.right-H.right+R.right)/$t.x}}function En(e,o,a){return(e?[...a.filter(c=>Pt(c)===e),...a.filter(c=>Pt(c)!==e)]:a.filter(c=>ae(c)===c)).filter(c=>e?Pt(c)===e||(o?ma(c)!==c:!1):!0)}var So=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:u,elements:m}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:E=yo,autoAlignment:N=!0,...R}=Te(e,o),T=x!==void 0||E===yo?En(x||null,N,E):E,_=await xo(o,R),H=((a=d.autoPlacement)==null?void 0:a.index)||0,G=T[H];if(G==null)return{};let Q=ha(G,l,await(u.isRTL==null?void 0:u.isRTL(m.floating)));if(p!==G)return{reset:{placement:T[0]}};let $t=[_[ae(G)],_[Q[0]],_[Q[1]]],X=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:$t}],$o=T[H+1];if($o)return{data:{index:H+1,overflows:X},reset:{placement:$o}};let Bo=X.map(bt=>{let fe=Pt(bt.placement);return[bt.placement,fe&&C?bt.overflows.slice(0,2).reduce((dn,sn)=>dn+sn,0):bt.overflows[0],bt.overflows]}).sort((bt,fe)=>bt[1]-fe[1]),Io=((c=Bo.filter(bt=>bt[2].slice(0,Pt(bt[0])?2:3).every(fe=>fe<=0))[0])==null?void 0:c[0])||Bo[0][0];return Io!==p?{data:{index:H+1,overflows:X},reset:{placement:Io}}:{}}}};var Co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:_=>{let{x:H,y:G}=_;return{x:H,y:G}}},...u}=Te(e,o),m={x:a,y:i},C=await xo(o,u),x=He(ae(c)),E=ho(x),N=m[E],R=m[x];if(l){let _=E==="y"?"top":"left",H=E==="y"?"bottom":"right",G=N+C[_],Q=N-C[H];N=go(G,N,Q)}if(d){let _=x==="y"?"top":"left",H=x==="y"?"bottom":"right",G=R+C[_],Q=R-C[H];R=go(G,R,Q)}let T=p.fn({...o,[E]:N,[x]:R});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[E]:l,[x]:d}}}}}};var Oo=Math.min,ne=Math.max,Ce=Math.round;var Lt=e=>({x:e,y:e});function Rt(e){return Oa(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function At(e){var o;return(o=(Oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Oa(e){return e instanceof Node||e instanceof ot(e).Node}function Ct(e){return e instanceof Element||e instanceof ot(e).Element}function gt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function ie(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=it(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function va(e){return["table","td","th"].includes(Rt(e))}function _e(e){let o=Ge(),a=it(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function wa(e){let o=Mt(e);for(;gt(o)&&!Oe(o);){if(_e(o))return o;o=Mt(o)}return null}function Ge(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Oe(e){return["html","body","#document"].includes(Rt(e))}function it(e){return ot(e).getComputedStyle(e)}function ve(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mt(e){if(Rt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ca(e)&&e.host||At(e);return Ca(o)?o.host:o}function Na(e){let o=Mt(e);return Oe(o)?e.ownerDocument?e.ownerDocument.body:e.body:gt(o)&&ie(o)?o:Na(o)}function De(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=Na(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=ot(c);return l?o.concat(d,d.visualViewport||[],ie(c)?c:[],d.frameElement&&a?De(d.frameElement):[]):o.concat(c,De(c,[],a))}function Ra(e){let o=it(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=gt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=Ce(a)!==l||Ce(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function Aa(e){return Ct(e)?e:e.contextElement}function ce(e){let o=Aa(e);if(!gt(o))return Lt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=Ra(o),d=(l?Ce(a.width):a.width)/i,p=(l?Ce(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var An=Lt(0);function $a(e){let o=ot(e);return!Ge()||!o.visualViewport?An:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function $n(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==ot(e)?!1:o}function we(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Aa(e),d=Lt(1);o&&(i?Ct(i)&&(d=ce(i)):d=ce(e));let p=$n(l,a,i)?$a(l):Lt(0),u=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,C=c.width/d.x,x=c.height/d.y;if(l){let E=ot(l),N=i&&Ct(i)?ot(i):i,R=E.frameElement;for(;R&&i&&N!==E;){let T=ce(R),_=R.getBoundingClientRect(),H=it(R),G=_.left+(R.clientLeft+parseFloat(H.paddingLeft))*T.x,Q=_.top+(R.clientTop+parseFloat(H.paddingTop))*T.y;u*=T.x,m*=T.y,C*=T.x,x*=T.y,u+=G,m+=Q,R=ot(R).frameElement}}return Ft({width:C,height:x,x:u,y:m})}function Bn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=gt(a),l=At(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=Lt(1),u=Lt(0);if((c||!c&&i!=="fixed")&&((Rt(a)!=="body"||ie(l))&&(d=ve(a)),gt(a))){let m=we(a);p=ce(a),u.x=m.x+a.clientLeft,u.y=m.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+u.x,y:o.y*p.y-d.scrollTop*p.y+u.y}}function In(e){return Array.from(e.getClientRects())}function Ba(e){return we(At(e)).left+ve(e).scrollLeft}function Pn(e){let o=At(e),a=ve(e),i=e.ownerDocument.body,c=ne(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=ne(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+Ba(e),p=-a.scrollTop;return it(i).direction==="rtl"&&(d+=ne(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Wn(e,o){let a=ot(e),i=At(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,u=0;if(c){l=c.width,d=c.height;let m=Ge();(!m||m&&o==="fixed")&&(p=c.offsetLeft,u=c.offsetTop)}return{width:l,height:d,x:p,y:u}}function kn(e,o){let a=we(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=gt(e)?ce(e):Lt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,u=c*l.x,m=i*l.y;return{width:d,height:p,x:u,y:m}}function Ea(e,o,a){let i;if(o==="viewport")i=Wn(e,a);else if(o==="document")i=Pn(At(e));else if(Ct(o))i=kn(o,a);else{let c=$a(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Ft(i)}function Ia(e,o){let a=Mt(e);return a===o||!Ct(a)||Oe(a)?!1:it(a).position==="fixed"||Ia(a,o)}function zn(e,o){let a=o.get(e);if(a)return a;let i=De(e,[],!1).filter(p=>Ct(p)&&Rt(p)!=="body"),c=null,l=it(e).position==="fixed",d=l?Mt(e):e;for(;Ct(d)&&!Oe(d);){let p=it(d),u=_e(d);!u&&p.position==="fixed"&&(c=null),(l?!u&&!c:!u&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ie(d)&&!u&&Ia(e,d))?i=i.filter(C=>C!==d):c=p,d=Mt(d)}return o.set(e,i),i}function Tn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?zn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((m,C)=>{let x=Ea(o,C,c);return m.top=ne(x.top,m.top),m.right=Oo(x.right,m.right),m.bottom=Oo(x.bottom,m.bottom),m.left=ne(x.left,m.left),m},Ea(o,p,c));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Hn(e){return Ra(e)}function Dn(e,o,a){let i=gt(o),c=At(o),l=a==="fixed",d=we(e,!0,l,o),p={scrollLeft:0,scrollTop:0},u=Lt(0);if(i||!i&&!l)if((Rt(o)!=="body"||ie(c))&&(p=ve(o)),i){let m=we(o,!0,l,o);u.x=m.x+o.clientLeft,u.y=m.y+o.clientTop}else c&&(u.x=Ba(c));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function La(e,o){return!gt(e)||it(e).position==="fixed"?null:o?o(e):e.offsetParent}function Pa(e,o){let a=ot(e);if(!gt(e))return a;let i=La(e,o);for(;i&&va(i)&&it(i).position==="static";)i=La(i,o);return i&&(Rt(i)==="html"||Rt(i)==="body"&&it(i).position==="static"&&!_e(i))?a:i||wa(e)||a}var _n=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||Pa,l=this.getDimensions;return{reference:Dn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function Gn(e){return it(e).direction==="rtl"}var Ue={convertOffsetParentRelativeRectToViewportRelativeRect:Bn,getDocumentElement:At,getClippingRect:Tn,getOffsetParent:Pa,getElementRects:_n,getClientRects:In,getDimensions:Hn,getScale:ce,isElement:Ct,isRTL:Gn};var Wa=(e,o,a)=>{let i=new Map,c={platform:Ue,...a},l={...c.platform,_c:i};return Sa(e,o,{...c,platform:l})};function ka(e){return Un(e)}function vo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Un(e){for(let o=e;o;o=vo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=vo(e);o;o=vo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function za(e,o,a){return Wa(e,o,{platform:{...Ue,getOffsetParent:i=>Ue.getOffsetParent(i,ka)},middleware:[Co({crossAxis:!0}),So({allowedPlacements:[a]})]})}var rt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},W=class extends Ne.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 Ne.Debouncer,this.revealDebouncer=new Ne.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ta.html`
537
+ `;var ua=["top","right","bottom","left"],fa=["start","end"],yo=ua.reduce((e,o)=>e.concat(o,o+"-"+fa[0],o+"-"+fa[1]),[]),ya=Math.min,ga=Math.max;var vn={left:"right",right:"left",bottom:"top",top:"bottom"},wn={start:"end",end:"start"};function go(e,o,a){return ga(e,ya(o,a))}function Te(e,o){return typeof e=="function"?e(o):e}function ae(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function ho(e){return e==="x"?"y":"x"}function mo(e){return e==="y"?"height":"width"}function He(e){return["top","bottom"].includes(ae(e))?"y":"x"}function bo(e){return ho(He(e))}function ha(e,o,a){a===void 0&&(a=!1);let i=Pt(e),c=bo(e),l=mo(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=uo(d)),[d,uo(d)]}function ma(e){return e.replace(/start|end/g,o=>wn[o])}function uo(e){return e.replace(/left|right|bottom|top/g,o=>vn[o])}function Nn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?Nn(e):{top:e,right:e,bottom:e,left:e}}function Ft(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function xa(e,o,a){let{reference:i,floating:c}=e,l=He(o),d=bo(o),p=mo(d),u=ae(o),m=l==="y",C=i.x+i.width/2-c.width/2,x=i.y+i.height/2-c.height/2,E=i[p]/2-c[p]/2,N;switch(u){case"top":N={x:C,y:i.y-c.height};break;case"bottom":N={x:C,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-c.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Pt(o)){case"start":N[d]-=E*(a&&m?-1:1);break;case"end":N[d]+=E*(a&&m?-1:1);break}return N}var Sa=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:C,y:x}=xa(m,i,u),E=i,N={},R=0;for(let T=0;T<p.length;T++){let{name:D,fn:H}=p[T],{x:G,y:Q,data:$t,reset:X}=await H({x:C,y:x,initialPlacement:i,placement:E,strategy:c,middlewareData:N,rects:m,platform:d,elements:{reference:e,floating:o}});C=G??C,x=Q??x,N={...N,[D]:{...N[D],...$t}},X&&R<=50&&(R++,typeof X=="object"&&(X.placement&&(E=X.placement),X.rects&&(m=X.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):X.rects),{x:C,y:x}=xa(m,E,u)),T=-1)}return{x:C,y:x,placement:E,strategy:c,middlewareData:N}};async function xo(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:u}=e,{boundary:m="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:E=!1,padding:N=0}=Te(o,e),R=ba(N),D=p[E?x==="floating"?"reference":"floating":x],H=Ft(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(D)))==null||a?D:D.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:C,strategy:u})),G=x==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,Q=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),$t=await(l.isElement==null?void 0:l.isElement(Q))?await(l.getScale==null?void 0:l.getScale(Q))||{x:1,y:1}:{x:1,y:1},X=Ft(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:G,offsetParent:Q,strategy:u}):G);return{top:(H.top-X.top+R.top)/$t.y,bottom:(X.bottom-H.bottom+R.bottom)/$t.y,left:(H.left-X.left+R.left)/$t.x,right:(X.right-H.right+R.right)/$t.x}}function En(e,o,a){return(e?[...a.filter(c=>Pt(c)===e),...a.filter(c=>Pt(c)!==e)]:a.filter(c=>ae(c)===c)).filter(c=>e?Pt(c)===e||(o?ma(c)!==c:!1):!0)}var So=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:u,elements:m}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:E=yo,autoAlignment:N=!0,...R}=Te(e,o),T=x!==void 0||E===yo?En(x||null,N,E):E,D=await xo(o,R),H=((a=d.autoPlacement)==null?void 0:a.index)||0,G=T[H];if(G==null)return{};let Q=ha(G,l,await(u.isRTL==null?void 0:u.isRTL(m.floating)));if(p!==G)return{reset:{placement:T[0]}};let $t=[D[ae(G)],D[Q[0]],D[Q[1]]],X=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:G,overflows:$t}],$o=T[H+1];if($o)return{data:{index:H+1,overflows:X},reset:{placement:$o}};let Bo=X.map(bt=>{let fe=Pt(bt.placement);return[bt.placement,fe&&C?bt.overflows.slice(0,2).reduce((dn,sn)=>dn+sn,0):bt.overflows[0],bt.overflows]}).sort((bt,fe)=>bt[1]-fe[1]),Io=((c=Bo.filter(bt=>bt[2].slice(0,Pt(bt[0])?2:3).every(fe=>fe<=0))[0])==null?void 0:c[0])||Bo[0][0];return Io!==p?{data:{index:H+1,overflows:X},reset:{placement:Io}}:{}}}};var Co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:D=>{let{x:H,y:G}=D;return{x:H,y:G}}},...u}=Te(e,o),m={x:a,y:i},C=await xo(o,u),x=He(ae(c)),E=ho(x),N=m[E],R=m[x];if(l){let D=E==="y"?"top":"left",H=E==="y"?"bottom":"right",G=N+C[D],Q=N-C[H];N=go(G,N,Q)}if(d){let D=x==="y"?"top":"left",H=x==="y"?"bottom":"right",G=R+C[D],Q=R-C[H];R=go(G,R,Q)}let T=p.fn({...o,[E]:N,[x]:R});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[E]:l,[x]:d}}}}}};var Oo=Math.min,ne=Math.max,Ce=Math.round;var Lt=e=>({x:e,y:e});function Rt(e){return Oa(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function At(e){var o;return(o=(Oa(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Oa(e){return e instanceof Node||e instanceof ot(e).Node}function Ct(e){return e instanceof Element||e instanceof ot(e).Element}function gt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Ca(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function ie(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=it(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function va(e){return["table","td","th"].includes(Rt(e))}function De(e){let o=Ge(),a=it(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function wa(e){let o=Mt(e);for(;gt(o)&&!Oe(o);){if(De(o))return o;o=Mt(o)}return null}function Ge(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Oe(e){return["html","body","#document"].includes(Rt(e))}function it(e){return ot(e).getComputedStyle(e)}function ve(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Mt(e){if(Rt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Ca(e)&&e.host||At(e);return Ca(o)?o.host:o}function Na(e){let o=Mt(e);return Oe(o)?e.ownerDocument?e.ownerDocument.body:e.body:gt(o)&&ie(o)?o:Na(o)}function _e(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=Na(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=ot(c);return l?o.concat(d,d.visualViewport||[],ie(c)?c:[],d.frameElement&&a?_e(d.frameElement):[]):o.concat(c,_e(c,[],a))}function Ra(e){let o=it(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=gt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=Ce(a)!==l||Ce(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function Aa(e){return Ct(e)?e:e.contextElement}function ce(e){let o=Aa(e);if(!gt(o))return Lt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=Ra(o),d=(l?Ce(a.width):a.width)/i,p=(l?Ce(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var An=Lt(0);function $a(e){let o=ot(e);return!Ge()||!o.visualViewport?An:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function $n(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==ot(e)?!1:o}function we(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Aa(e),d=Lt(1);o&&(i?Ct(i)&&(d=ce(i)):d=ce(e));let p=$n(l,a,i)?$a(l):Lt(0),u=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,C=c.width/d.x,x=c.height/d.y;if(l){let E=ot(l),N=i&&Ct(i)?ot(i):i,R=E.frameElement;for(;R&&i&&N!==E;){let T=ce(R),D=R.getBoundingClientRect(),H=it(R),G=D.left+(R.clientLeft+parseFloat(H.paddingLeft))*T.x,Q=D.top+(R.clientTop+parseFloat(H.paddingTop))*T.y;u*=T.x,m*=T.y,C*=T.x,x*=T.y,u+=G,m+=Q,R=ot(R).frameElement}}return Ft({width:C,height:x,x:u,y:m})}function Bn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=gt(a),l=At(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=Lt(1),u=Lt(0);if((c||!c&&i!=="fixed")&&((Rt(a)!=="body"||ie(l))&&(d=ve(a)),gt(a))){let m=we(a);p=ce(a),u.x=m.x+a.clientLeft,u.y=m.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+u.x,y:o.y*p.y-d.scrollTop*p.y+u.y}}function In(e){return Array.from(e.getClientRects())}function Ba(e){return we(At(e)).left+ve(e).scrollLeft}function Pn(e){let o=At(e),a=ve(e),i=e.ownerDocument.body,c=ne(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=ne(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+Ba(e),p=-a.scrollTop;return it(i).direction==="rtl"&&(d+=ne(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Wn(e,o){let a=ot(e),i=At(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,u=0;if(c){l=c.width,d=c.height;let m=Ge();(!m||m&&o==="fixed")&&(p=c.offsetLeft,u=c.offsetTop)}return{width:l,height:d,x:p,y:u}}function kn(e,o){let a=we(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=gt(e)?ce(e):Lt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,u=c*l.x,m=i*l.y;return{width:d,height:p,x:u,y:m}}function Ea(e,o,a){let i;if(o==="viewport")i=Wn(e,a);else if(o==="document")i=Pn(At(e));else if(Ct(o))i=kn(o,a);else{let c=$a(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Ft(i)}function Ia(e,o){let a=Mt(e);return a===o||!Ct(a)||Oe(a)?!1:it(a).position==="fixed"||Ia(a,o)}function zn(e,o){let a=o.get(e);if(a)return a;let i=_e(e,[],!1).filter(p=>Ct(p)&&Rt(p)!=="body"),c=null,l=it(e).position==="fixed",d=l?Mt(e):e;for(;Ct(d)&&!Oe(d);){let p=it(d),u=De(d);!u&&p.position==="fixed"&&(c=null),(l?!u&&!c:!u&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ie(d)&&!u&&Ia(e,d))?i=i.filter(C=>C!==d):c=p,d=Mt(d)}return o.set(e,i),i}function Tn(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?zn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((m,C)=>{let x=Ea(o,C,c);return m.top=ne(x.top,m.top),m.right=Oo(x.right,m.right),m.bottom=Oo(x.bottom,m.bottom),m.left=ne(x.left,m.left),m},Ea(o,p,c));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Hn(e){return Ra(e)}function _n(e,o,a){let i=gt(o),c=At(o),l=a==="fixed",d=we(e,!0,l,o),p={scrollLeft:0,scrollTop:0},u=Lt(0);if(i||!i&&!l)if((Rt(o)!=="body"||ie(c))&&(p=ve(o)),i){let m=we(o,!0,l,o);u.x=m.x+o.clientLeft,u.y=m.y+o.clientTop}else c&&(u.x=Ba(c));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function La(e,o){return!gt(e)||it(e).position==="fixed"?null:o?o(e):e.offsetParent}function Pa(e,o){let a=ot(e);if(!gt(e))return a;let i=La(e,o);for(;i&&va(i)&&it(i).position==="static";)i=La(i,o);return i&&(Rt(i)==="html"||Rt(i)==="body"&&it(i).position==="static"&&!De(i))?a:i||wa(e)||a}var Dn=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||Pa,l=this.getDimensions;return{reference:_n(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function Gn(e){return it(e).direction==="rtl"}var Ue={convertOffsetParentRelativeRectToViewportRelativeRect:Bn,getDocumentElement:At,getClippingRect:Tn,getOffsetParent:Pa,getElementRects:Dn,getClientRects:In,getDimensions:Hn,getScale:ce,isElement:Ct,isRTL:Gn};var Wa=(e,o,a)=>{let i=new Map,c={platform:Ue,...a},l={...c.platform,_c:i};return Sa(e,o,{...c,platform:l})};function ka(e){return Un(e)}function vo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Un(e){for(let o=e;o;o=vo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=vo(e);o;o=vo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function za(e,o,a){return Wa(e,o,{platform:{...Ue,getOffsetParent:i=>Ue.getOffsetParent(i,ka)},middleware:[Co({crossAxis:!0}),So({allowedPlacements:[a]})]})}var rt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},W=class extends Ne.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 Ne.Debouncer,this.revealDebouncer=new Ne.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ta.html`
538
538
  <div part="container"
539
539
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
540
540
  @mouseenter=${this.onHover}
@@ -552,7 +552,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
552
552
  </div>
553
553
  </div>
554
554
  </div>
555
- `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}async showTemporaryText(o,a){let i=this.manual;this.manual=!0;let c=this.text;this.text=o,await this.show(a),this.text=c,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",za(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};W.elementDefinitions={"ft-typography":tt};W.styles=pa;rt([(0,U.property)()],W.prototype,"text",void 0);rt([(0,U.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,U.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,U.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,U.property)()],W.prototype,"position",void 0);rt([(0,U.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,U.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,U.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,U.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,U.state)()],W.prototype,"visible",void 0);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Ha.customElement)("ft-tooltip")(W);var Fa=b(L());var Ee=b(I()),Wt=b(ct()),Ga=b(L()),Ua=b(_a());var le;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;"})(le||(le={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Lp=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var Rp={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var st;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(st||(st={}));var Le=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},V=class extends Ga.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Ee.nothing}render(){let o=this.variant&&Object.values(st).includes(this.variant)?this.variant:st.fluid_topics,a=o!==st.material||!!this.value;return Ee.html`
555
+ `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}async showTemporaryText(o,a){let i=this.manual;this.manual=!0;let c=this.text;this.text=o,await this.show(a),this.text=c,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",za(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};W.elementDefinitions={"ft-typography":tt};W.styles=pa;rt([(0,U.property)()],W.prototype,"text",void 0);rt([(0,U.property)({type:Boolean})],W.prototype,"manual",void 0);rt([(0,U.property)({type:Boolean})],W.prototype,"inline",void 0);rt([(0,U.property)({type:Number})],W.prototype,"delay",void 0);rt([(0,U.property)()],W.prototype,"position",void 0);rt([(0,U.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);rt([(0,U.query)(".ft-tooltip--container")],W.prototype,"container",void 0);rt([(0,U.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);rt([(0,U.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);rt([(0,U.state)()],W.prototype,"visible",void 0);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onTouch",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onHover",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onOut",null);rt([(0,U.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Ha.customElement)("ft-tooltip")(W);var Fa=b(L());var Ee=b(I()),Wt=b(ct()),Ga=b(L()),Ua=b(Da());var le;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;"})(le||(le={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Lp=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var Rp={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var st;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(st||(st={}));var Le=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},V=class extends Ga.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Ee.nothing}render(){let o=this.variant&&Object.values(st).includes(this.variant)?this.variant:st.fluid_topics,a=o!==st.material||!!this.value;return Ee.html`
556
556
  <i class="ft-icon ft-icon--${o} ft-no-text-select" part="icon icon-${o}">
557
557
  ${(0,Ua.unsafeHTML)(this.resolvedIcon)}
558
558
  <slot ?hidden=${a}></slot>
@@ -1442,7 +1442,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1442
1442
  ></ftds-button>
1443
1443
  `:this.withAction?Tt.html`
1444
1444
  <slot name="action"></slot>
1445
- `:Tt.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Eo)}typographyVariant(){switch(this.size){case J.large:return yt.body2medium;case J.medium:case J.small:return yt.caption1medium}}};pt.elementDefinitions={"ft-typography":tt,"ft-icon":V,"ftds-button":mt};pt.styles=an;pe([(0,Ht.property)({type:Boolean})],pt.prototype,"withAction",void 0);pe([(0,Ht.property)({type:Boolean})],pt.prototype,"removable",void 0);pe([(0,Ht.property)()],pt.prototype,"removeButtonLabel",void 0);pe([(0,Ht.property)()],pt.prototype,"label",void 0);pe([(0,Ht.property)()],pt.prototype,"icon",void 0);pe([(0,Ht.query)("ft-typography slot")],pt.prototype,"slottedContent",void 0);(0,Lo.customElement)("ft-chip")(k);(0,Lo.customElement)("ftds-chip")(pt);var Dt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Ro=class extends CustomEvent{constructor(o,a){super("ft-chip-choice-option-change",{detail:{value:o,selected:a},bubbles:!0,composed:!0})}},nt=class extends ln.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.selected=!1,this.dense=!1,this.multiLine=!1,this.role="radio"}render(){return cn.html`
1445
+ `:Tt.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Eo)}typographyVariant(){switch(this.size){case J.large:return yt.body2medium;case J.medium:case J.small:return yt.caption1medium}}};pt.elementDefinitions={"ft-typography":tt,"ft-icon":V,"ftds-button":mt};pt.styles=an;pe([(0,Ht.property)({type:Boolean})],pt.prototype,"withAction",void 0);pe([(0,Ht.property)({type:Boolean})],pt.prototype,"removable",void 0);pe([(0,Ht.property)()],pt.prototype,"removeButtonLabel",void 0);pe([(0,Ht.property)()],pt.prototype,"label",void 0);pe([(0,Ht.property)()],pt.prototype,"icon",void 0);pe([(0,Ht.query)("ft-typography slot")],pt.prototype,"slottedContent",void 0);(0,Lo.customElement)("ft-chip")(k);(0,Lo.customElement)("ftds-chip")(pt);var _t=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Ro=class extends CustomEvent{constructor(o,a){super("ft-chip-choice-option-change",{detail:{value:o,selected:a},bubbles:!0,composed:!0})}},nt=class extends ln.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.selected=!1,this.dense=!1,this.multiLine=!1,this.role="radio"}render(){return cn.html`
1446
1446
  <ft-chip clickable
1447
1447
  part="chip"
1448
1448
  icon=${this.selected?"CHECK":""}
@@ -1454,7 +1454,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1454
1454
  @keydown=${this.onKeyDown}>
1455
1455
  <slot></slot>
1456
1456
  </ft-chip>
1457
- `}onKeyDown(o){o.key==" "&&o.preventDefault()}update(o){super.update(o),o.has("selected")&&(this.ariaChecked=this.selected?"true":"false")}onChange(o){o.preventDefault(),this.selected=!this.selected,this.dispatchEvent(new Ro(this.value,this.selected))}};nt.elementDefinitions={"ft-chip":k};nt.styles=en;Dt([(0,Ot.property)()],nt.prototype,"name",void 0);Dt([(0,Ot.property)()],nt.prototype,"value",void 0);Dt([(0,Ot.property)()],nt.prototype,"label",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"selected",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"dense",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"multiLine",void 0);Dt([(0,Ot.property)({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);Dt([(0,Ot.query)("ft-chip")],nt.prototype,"chip",void 0);(0,Ao.customElement)("ft-chip-choice")(ft);(0,Ao.customElement)("ft-chip-choice-option")(nt);})();
1457
+ `}onKeyDown(o){o.key==" "&&o.preventDefault()}update(o){super.update(o),o.has("selected")&&(this.ariaChecked=this.selected?"true":"false")}onChange(o){o.preventDefault(),this.selected=!this.selected,this.dispatchEvent(new Ro(this.value,this.selected))}};nt.elementDefinitions={"ft-chip":k};nt.styles=en;_t([(0,Ot.property)()],nt.prototype,"name",void 0);_t([(0,Ot.property)()],nt.prototype,"value",void 0);_t([(0,Ot.property)()],nt.prototype,"label",void 0);_t([(0,Ot.property)({type:Boolean})],nt.prototype,"selected",void 0);_t([(0,Ot.property)({type:Boolean})],nt.prototype,"dense",void 0);_t([(0,Ot.property)({type:Boolean})],nt.prototype,"multiLine",void 0);_t([(0,Ot.property)({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);_t([(0,Ot.query)("ft-chip")],nt.prototype,"chip",void 0);(0,Ao.customElement)("ft-chip-choice")(ft);(0,Ao.customElement)("ft-chip-choice-option")(nt);})();
1458
1458
  /*! Bundled license information:
1459
1459
 
1460
1460
  lit-html/lit-html.js:
@@ -45,7 +45,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var ns={};var na={};V(na,{ParametrizedLabelResolver:()=>oa});var oa=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var _a={};V(_a,{FtCommandQueue:()=>_r,FtLitElementRedux:()=>aa,FtReduxStore:()=>Ta,ReduxWatcher:()=>lo,clearAllStores:()=>Np,isFtReduxStore:()=>Ft,redux:()=>Gd,reduxEventListener:()=>Vd,reduxReactive:()=>Hd,watch:()=>Tp,withRedux:()=>as});var Hd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Gd=t=>{let e=t??{};return(o,n)=>{var a;let i={hasChanged:xt,attribute:!1,...e};A(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Vd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var _r=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Ft(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Lr=Symbol("internalReduxEventsUnsubscribers"),at=Symbol("internalStoresUnsubscribers"),Et=Symbol("internalStores");function as(t){var e,o,n;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Et].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Et].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Et].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Et].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Et].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Et].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[at].has(s.store):this[at].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[at].set(s,l.subscribe(()=>this.updateFromStores())),this[Lr].set(s,[]),Ft(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||l.name===u.store)){let f=g=>this[h](g);l.addEventListener(u.eventName,f),this[Lr].get(s).push(()=>l.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[at].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[at].has(s)&&this[at].get(s)(),this[at].delete(s),(l=this[Lr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Lr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=at,o=Et,n=Lr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}var aa=class extends as(j){};function Ee(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Xe(t){return!!t&&!!t[Y]}function _e(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Qd}(t)||Array.isArray(t)||!!t[us]||!!(!((e=t.constructor)===null||e===void 0)&&e[us])||ha(t)||ya(t))}function Ct(t,e,o){o===void 0&&(o=!1),Ht(t)===0?(o?Object.keys:zt)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Ht(t){var e=t[Y];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ha(t)?2:ya(t)?3:0}function Wt(t,e){return Ht(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function jd(t,e){return Ht(t)===2?t.get(e):t[e]}function fs(t,e,o){var n=Ht(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function hs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ha(t){return Xd&&t instanceof Map}function ya(t){return Jd&&t instanceof Set}function it(t){return t.o||t.t}function ma(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=gs(t);delete e[Y];for(var o=zt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ga(t,e){return e===void 0&&(e=!1),ba(t)||Xe(t)||!_e(t)||(Ht(t)>1&&(t.set=t.add=t.clear=t.delete=Kd),Object.freeze(t),e&&Ct(t,function(o,n){return ga(n,!0)},!0)),t}function Kd(){Ee(2)}function ba(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Fe(t){var e=fa[t];return e||Ee(18,t),e}function Zd(t,e){fa[t]||(fa[t]=e)}function da(){return Ir}function ia(t,e){e&&(Fe("Patches"),t.u=[],t.s=[],t.v=e)}function no(t){pa(t),t.p.forEach(qd),t.p=null}function pa(t){t===Ir&&(Ir=t.l)}function is(t){return Ir={p:[],l:Ir,h:t,m:!0,_:0}}function qd(t){var e=t[Y];e.i===0||e.i===1?e.j():e.g=!0}function sa(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Fe("ES5").S(e,t,n),n?(o[Y].P&&(no(e),Ee(4)),_e(t)&&(t=ao(e,t),e.l||io(e,t)),e.u&&Fe("Patches").M(o[Y].t,t,e.u,e.s)):t=ao(e,o,[]),no(e),e.u&&e.v(e.u,e.s),t!==ms?t:void 0}function ao(t,e,o){if(ba(e))return e;var n=e[Y];if(!n)return Ct(e,function(l,d){return ss(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return io(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ma(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ct(i,function(l,d){return ss(t,n,a,l,d,o,s)}),io(t,a,!1),o&&t.u&&Fe("Patches").N(n,o,t.u,t.s)}return n.o}function ss(t,e,o,n,a,i,s){if(Xe(a)){var l=ao(t,a,i&&e&&e.i!==3&&!Wt(e.R,n)?i.concat(n):void 0);if(fs(o,n,l),!Xe(l))return;t.m=!1}else s&&o.add(a);if(_e(a)&&!ba(a)){if(!t.h.D&&t._<1)return;ao(t,a),e&&e.A.l||io(t,a)}}function io(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ga(e,o)}function ca(t,e){var o=t[Y];return(o?it(o):t)[e]}function cs(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function st(t){t.P||(t.P=!0,t.l&&st(t.l))}function la(t){t.o||(t.o=ma(t.t))}function ua(t,e,o){var n=ha(e)?Fe("MapSet").F(e,o):ya(e)?Fe("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:da(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=kr;s&&(d=[l],u=Pr);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):Fe("ES5").J(e,o);return(o?o.A:da()).p.push(n),n}function Yd(t){return Xe(t)||Ee(22,t),function e(o){if(!_e(o))return o;var n,a=o[Y],i=Ht(o);if(a){if(!a.P&&(a.i<4||!Fe("ES5").K(a)))return a.t;a.I=!0,n=ls(o,i),a.I=!1}else n=ls(o,i);return Ct(n,function(s,l){a&&jd(a.t,s)===l||fs(n,s,e(l))}),i===3?new Set(n):n}(t)}function ls(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ma(t)}function ys(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[Y];return kr.get(u,s)},set:function(u){var h=this[Y];kr.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Y];if(!d.P)switch(d.i){case 5:n(d)&&st(d);break;case 4:o(d)&&st(d)}}}function o(s){for(var l=s.t,d=s.k,u=zt(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==Y){var g=l[f];if(g===void 0&&!Wt(l,f))return!0;var x=d[f],b=x&&x[Y];if(b?b.t!==g:!hs(x,g))return!0}}var S=!!l[Y];return u.length!==zt(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Ee(3,JSON.stringify(it(s)))}var i={};Zd("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var x=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var S=gs(g);delete S[Y];for(var T=zt(S),N=0;N<T.length;N++){var L=T[N];S[L]=t(L,f||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:l?l.A:da(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Y,{value:h,writable:!0}),u},S:function(s,l,d){d?Xe(l)&&l[Y].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[Y];if(f){var g=f.t,x=f.k,b=f.R,S=f.i;if(S===4)Ct(x,function(w){w!==Y&&(g[w]!==void 0||Wt(g,w)?b[w]||u(x[w]):(b[w]=!0,st(f)))}),Ct(g,function(w){x[w]!==void 0||Wt(x,w)||(b[w]=!1,st(f))});else if(S===5){if(n(f)&&(st(f),b.length=!0),x.length<g.length)for(var T=x.length;T<g.length;T++)b[T]=!1;else for(var N=g.length;N<x.length;N++)b[N]=!0;for(var L=Math.min(x.length,g.length),C=0;C<L;C++)x.hasOwnProperty(C)||(b[C]=!0),b[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ds,Ir,xa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Xd=typeof Map<"u",Jd=typeof Set<"u",ps=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=xa?Symbol.for("immer-nothing"):((ds={})["immer-nothing"]=!0,ds),us=xa?Symbol.for("immer-draftable"):"__$immer_draftable",Y=xa?Symbol.for("immer-state"):"__$immer_state";var Qd=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,gs=Object.getOwnPropertyDescriptors||function(t){var e={};return zt(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},fa={},kr={get:function(t,e){if(e===Y)return t;var o=it(t);if(!Wt(o,e))return function(a,i,s){var l,d=cs(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!_e(n)?n:n===ca(t.t,e)?(la(t),t.o[e]=ua(t.A.h,n,t)):n},has:function(t,e){return e in it(t)},ownKeys:function(t){return Reflect.ownKeys(it(t))},set:function(t,e,o){var n=cs(it(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=ca(it(t),e),i=a?.[Y];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(hs(o,a)&&(o!==void 0||Wt(t.t,e)))return!0;la(t),st(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return ca(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,la(t),st(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=it(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ee(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ee(12)}},Pr={};Ct(kr,function(t,e){Pr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pr.deleteProperty=function(t,e){return Pr.set.call(this,t,e,void 0)},Pr.set=function(t,e,o){return kr.set.call(this,t[0],e,o,t[0])};var ep=function(){function t(o){var n=this;this.O=ps,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var T=this;S===void 0&&(S=l);for(var N=arguments.length,L=Array(N>1?N-1:0),C=1;C<N;C++)L[C-1]=arguments[C];return d.produce(S,function(w){var E;return(E=i).call.apply(E,[T,w].concat(L))})}}var u;if(typeof i!="function"&&Ee(6),s!==void 0&&typeof s!="function"&&Ee(7),_e(a)){var h=is(n),f=ua(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?no(h):pa(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return ia(h,s),sa(S,h)},function(S){throw no(h),S}):(ia(h,s),sa(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ms&&(u=void 0),n.D&&ga(u,!0),s){var x=[],b=[];Fe("Patches").M(a,u,x,b),s(x,b)}return u}Ee(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return a.apply(void 0,[x].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){_e(o)||Ee(8),Xe(o)&&(o=Yd(o));var n=is(this),a=ua(this,o,void 0);return a[Y].C=!0,pa(n),a},e.finishDraft=function(o,n){var a=o&&o[Y],i=a.A;return ia(i,n),sa(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ps&&Ee(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Fe("Patches").$;return Xe(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Oe=new ep,tp=Oe.produce,hg=Oe.produceWithPatches.bind(Oe),yg=Oe.setAutoFreeze.bind(Oe),mg=Oe.setUseProxies.bind(Oe),gg=Oe.applyPatches.bind(Oe),bg=Oe.createDraft.bind(Oe),xg=Oe.finishDraft.bind(Oe),so=tp;function wt(t){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(t)}function bs(t,e){if(wt(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(wt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function xs(t){var e=bs(t,"string");return wt(e)=="symbol"?e:e+""}function vs(t,e,o){return(e=xs(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ss(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function va(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ss(Object(o),!0).forEach(function(n){vs(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ss(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function he(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. "}var Os=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},co={INIT:"@@redux/INIT"+Sa(),REPLACE:"@@redux/REPLACE"+Sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Sa()}};function rp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Oa(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(he(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(he(1));return o(Oa)(t,e)}if(typeof t!="function")throw new Error(he(2));var a=t,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(he(3));return i}function f(S){if(typeof S!="function")throw new Error(he(4));if(d)throw new Error(he(5));var T=!0;return u(),l.push(S),function(){if(T){if(d)throw new Error(he(6));T=!1,u();var L=l.indexOf(S);l.splice(L,1),s=null}}}function g(S){if(!rp(S))throw new Error(he(7));if(typeof S.type>"u")throw new Error(he(8));if(d)throw new Error(he(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var T=s=l,N=0;N<T.length;N++){var L=T[N];L()}return S}function x(S){if(typeof S!="function")throw new Error(he(10));a=S,g({type:co.REPLACE})}function b(){var S,T=f;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(he(11));function C(){L.next&&L.next(h())}C();var w=T(C);return{unsubscribe:w}}},S[Os]=function(){return this},S}return g({type:co.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:x},n[Os]=b,n}function op(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:co.INIT});if(typeof n>"u")throw new Error(he(12));if(typeof o(void 0,{type:co.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(he(13))})}function Es(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{op(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,x={},b=0;b<i.length;b++){var S=i[b],T=o[S],N=u[S],L=T(N,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(he(14))}x[S]=L,g=g||L!==N}return g=g||i.length!==Object.keys(u).length,g?x:u}}function Gt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Cs(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(he(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=Gt.apply(void 0,l)(a.dispatch),va(va({},a),{},{dispatch:i})}}}function ws(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var As=ws();As.withExtraArgument=ws;var Ea=As;var Ls=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),np=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Vt=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},ap=Object.defineProperty,ip=Object.defineProperties,sp=Object.getOwnPropertyDescriptors,Rs=Object.getOwnPropertySymbols,cp=Object.prototype.hasOwnProperty,lp=Object.prototype.propertyIsEnumerable,Ns=function(t,e,o){return e in t?ap(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ct=function(t,e){for(var o in e||(e={}))cp.call(e,o)&&Ns(t,o,e[o]);if(Rs)for(var n=0,a=Rs(e);n<a.length;n++){var o=a[n];lp.call(e,o)&&Ns(t,o,e[o])}return t},Ca=function(t,e){return ip(t,sp(e))},dp=function(t,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(t,e)).next())})};var pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Gt:Gt.apply(null,arguments)},Bg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function up(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var fp=function(t){Ls(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Vt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Vt([void 0],o.concat(this))))},e}(Array),hp=function(t){Ls(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Vt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Vt([void 0],o.concat(this))))},e}(Array);function Ra(t){return _e(t)?so(t,function(){}):t}function yp(t){return typeof t=="boolean"}function mp(){return function(e){return gp(e)}}function gp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new fp;if(o&&(yp(o)?l.push(Ea):l.push(Ea.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var wa=!0;function Ps(t){var e=mp(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,x;if(typeof a=="function")x=a;else if(up(a))x=Es(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!wa&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!wa&&b.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Cs.apply(void 0,b),T=Gt;d&&(T=pp(ct({trace:!wa},typeof d=="object"&&d)));var N=new hp(S),L=N;Array.isArray(g)?L=Vt([S],g):typeof g=="function"&&(L=g(N));var C=T.apply(void 0,L);return Oa(x,h,C)}function lt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ct(ct({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Is(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function bp(t){return typeof t=="function"}function xp(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Is(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(bp(t))d=function(){return Ra(t())};else{var u=Ra(t);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var x=Vt([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[l]),x.reduce(function(b,S){if(S)if(Xe(b)){var T=b,N=S(T,g);return N===void 0?b:N}else{if(_e(b))return so(b,function(L){return S(L,g)});var N=S(b,g);if(N===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return b},f)}return h.getInitialState=d,h}function vp(t,e){return t+"/"+e}function ks(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Ra(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=vp(e,h),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,i[h]=x,s[g]=x,l[h]=b?lt(g,b):lt(g)});function d(){var h=typeof t.extraReducers=="function"?Is(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,x=h[1],b=x===void 0?[]:x,S=h[2],T=S===void 0?void 0:S,N=ct(ct({},g),s);return xp(o,function(L){for(var C in N)L.addCase(C,N[C]);for(var w=0,E=b;w<E.length;w++){var k=E[w];L.addMatcher(k.matcher,k.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Op=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Sp[Math.random()*64|0];return e},Ep=["name","message","stack","code"],Aa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ts=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Cp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Ep;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Wg=function(){function t(e,o,n){var a=lt(e+"/fulfilled",function(h,f,g,x){return{payload:h,meta:Ca(ct({},x||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=lt(e+"/pending",function(h,f,g){return{payload:void 0,meta:Ca(ct({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=lt(e+"/rejected",function(h,f,g,x,b){return{payload:x,error:(n&&n.serializeError||Cp)(h||"Rejected"),meta:Ca(ct({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,g,x){var b=n?.idGenerator?n.idGenerator(h):Op(),S=new d,T,N=!1;function L(w){T=w,S.abort()}var C=function(){return dp(this,null,function(){var w,E,k,B,M,z,P;return np(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),B=(w=n?.condition)==null?void 0:w.call(n,h,{getState:g,extra:x}),Ap(B)?[4,B]:[3,2];case 1:B=y.sent(),y.label=2;case 2:if(B===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,M=new Promise(function(v,I){return S.signal.addEventListener("abort",function(){return I({name:"AbortError",message:T||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:x}))),[4,Promise.race([M,Promise.resolve(o(h,{dispatch:f,getState:g,extra:x,requestId:b,signal:S.signal,abort:L,rejectWithValue:function(v,I){return new Aa(v,I)},fulfillWithValue:function(v,I){return new Ts(v,I)}})).then(function(v){if(v instanceof Aa)throw v;return v instanceof Ts?a(v.payload,b,h,v.meta):a(v,b,h)})])];case 3:return k=y.sent(),[3,5];case 4:return z=y.sent(),k=z instanceof Aa?s(null,b,h,z.payload,z.meta):s(z,b,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,P||f(k),[2,k]}})})}();return Object.assign(C,{abort:L,requestId:b,arg:h,unwrap:function(){return C.then(wp)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function wp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ap(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ds="listener",$s="completed",Bs="cancelled",zg="task-"+Bs,Hg="task-"+$s,Gg=Ds+"-"+Bs,Vg=Ds+"-"+$s;var Na="listenerMiddleware";var jg=lt(Na+"/add"),Kg=lt(Na+"/removeAll"),Zg=lt(Na+"/remove");var _s,qg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(_s||(_s=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Rp=function(t){return function(e){setTimeout(e,t)}},Yg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rp(10);ys();window.ftReduxStores||(window.ftReduxStores={});var Ta=class t extends bt{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Ft(i))return i;if(a==null)return;let s=ks({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ps({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new _r;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,u=i[d];return u?(...h)=>{let f=u(...h.map(a));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Np(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ft(e)&&e.clear()}var lo=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);xt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Tp(t,e,o){return new lo(t,e,o).watch()}var Ia={};V(Ia,{scrollHelper:()=>_p});var La,po=new Map,Pa=class{lock(e,o){if(o){let n=po.get(o);if(n==null||n===e)return po.set(o,e),o}}release(e,o){o&&po.get(o)===e&&po.delete(o)}findFirstScrollableParent(e){var o;let n,a;for(let i of Qo(e)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(o=n??a)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,a;let i=0;for(;o&&o.offsetParent!==e.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=xr(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(La=window.FluidTopicsScrollHelper)!==null&&La!==void 0?La:new Pa;var _p=window.FluidTopicsScrollHelper;var Da={};V(Da,{SearchPlaceConverter:()=>ho,SearchPlaceQueryParams:()=>Z,isSearchPlaceQueryParams:()=>hc,serializeRequest:()=>Ip});var Lp=ll(Ms(),1);var Fs;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Fs||(Fs={}));var Ws;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ws||(Ws={}));var zs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(zs||(zs={}));var Hs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Hs||(Hs={}));var Gs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Gs||(Gs={}));var Vs;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Vs||(Vs={}));var js;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(js||(js={}));var Ks;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ks||(Ks={}));var Zs;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Zs||(Zs={}));var qs;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(qs||(qs={}));var Ys;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Ys||(Ys={}));var Xs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Xs||(Xs={}));var Js;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Js||(Js={}));var Qs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Qs||(Qs={}));var ec;(function(t){t.ASC="ASC",t.DESC="DESC"})(ec||(ec={}));var tc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(tc||(tc={}));var ka;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ka||(ka={}));var cc=t=>Object.keys(ka).includes(t);var rc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(rc||(rc={}));var oc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(oc||(oc={}));var nc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(nc||(nc={}));var Kt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Kt||(Kt={}));var lc=t=>Object.keys(Kt).includes(t);var ac;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(ac||(ac={}));var ic;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ic||(ic={}));var le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(le||(le={}));var sc;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(sc||(sc={}));var dc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(dc||(dc={}));var pc;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(pc||(pc={}));var uc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(uc||(uc={}));var gb={[le.PERSONAL_BOOK_SHARE_USER]:[le.PERSONAL_BOOK_USER],[le.HTML_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.PDF_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.KHUB_ADMIN]:[le.CONTENT_PUBLISHER],[le.ADMIN]:[le.KHUB_ADMIN,le.USERS_ADMIN,le.PORTAL_ADMIN],[le.GENERATIVE_AI_EXPORT_USER]:[le.GENERATIVE_AI_USER]};function Pp(t){return`"${t}"`}function fc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Ip(t,e){return new ho(t).serialize(e)}var Z;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(Z||(Z={}));var kp=new Set(Object.values(Z));function hc(t){return kp.has(t)}var ho=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,o=!1){var n,a,i,s,l,d,u,h,f,g,x,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(Z.LOCALE,e.contentLocale):S.append(Z.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(Z.QUERY,e.query);let T=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(E=>E.valueFilter&&!E.valueFilter.negative))!==null&&i!==void 0?i:[];if(T.length>0){let E=T.map(k=>{var B,M;let z=((M=(B=k.valueFilter)===null||B===void 0?void 0:B.values)!==null&&M!==void 0?M:[]).map(P=>this.escapeFilters(P)).map(P=>Pp(fc(P))).join("_");return`${k.key}~${z}`}).join("*");S.append(Z.VALUE_FILTERS,E)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(E=>E.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let E=N.map(k=>{var B;return`${k.key}~${(B=k.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");S.append(Z.DATE_FILTERS,E)}let L=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(E=>E.rangeFilter))!==null&&u!==void 0?u:[];if(L.length>0){let E=L.map(k=>{var B,M;return`${k.key}~${(B=k.rangeFilter)===null||B===void 0?void 0:B.from}_${(M=k.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");S.append(Z.RANGE_FILTERS,E)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(Z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&S.append(Z.SCOPE,e.scope.toLowerCase()),((h=e.sort)===null||h===void 0?void 0:h.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(Z.SORT,"last_update"),!((f=e.paging)===null||f===void 0)&&f.perPage&&((x=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&S.append(Z.PER_PAGE,String(e.paging.perPage));let C=(b=e.otherQueryParams)!==null&&b!==void 0?b:{};for(let E in C)S.append(E,C[E]);let w=new Array;return S.forEach((E,k)=>{w.push(this.encodeQueryString(k)+"="+this.encodeQueryString(E))}),encodeURI(w.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let h=new URLSearchParams(e),f=h.get(Z.LOCALE)==="all"?void 0:h.get(Z.LOCALE),g=((o=h.get(Z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),x=((n=h.get(Z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=h.get(Z.SCOPE))!==null&&a!==void 0?a:"default",S=+((i=h.get(Z.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),T={};for(let N of h.keys())hc(N)||(T[N]=h.get(N));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=h.get(Z.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:cc(g)?g:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[x])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(h),facets:[],paging:{page:1,perPage:xr(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:T}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(Z.FILTERS)&&(d=this.parseValueFilters((o=e.get(Z.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(Z.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(Z.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(Z.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(Z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(Z.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(fc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Kt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(lc(e))return[{key:"ft:lastEdition",dateFilter:{type:Kt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ua={};V(Ua,{toFtFormComponent:()=>Ba});var $a=Symbol("elementInternals");function Ba(t){class e extends t{static get formAssociated(){return!0}get form(){return this[$a].form}constructor(...n){super(n),this[$a]=this.attachInternals()}setFormValue(n){this[$a].setFormValue(n)}}return e}var Fa={};V(Fa,{DateFormatter:()=>Ma});var Ma=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var za={};V(za,{ALL_KEYS_VALUE:()=>Wa,SameWindowStorageEvent:()=>Zt});var Wa="__all__",Zt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Wa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Zt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Zt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new Zt(Wa))}});var Ga={};V(Ga,{FocusMainContentEvent:()=>Ha});var Ha=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var yc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function Dp(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function $p(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Dp);document.addEventListener("click",$p);var mc=D`
48
+ `;var ns={};var na={};V(na,{ParametrizedLabelResolver:()=>oa});var oa=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var _a={};V(_a,{FtCommandQueue:()=>_r,FtLitElementRedux:()=>aa,FtReduxStore:()=>Ta,ReduxWatcher:()=>lo,clearAllStores:()=>Np,isFtReduxStore:()=>Ft,redux:()=>Gd,reduxEventListener:()=>Vd,reduxReactive:()=>Hd,watch:()=>Tp,withRedux:()=>as});var Hd=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Gd=t=>{let e=t??{};return(o,n)=>{var a;let i={hasChanged:xt,attribute:!1,...e};A(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Vd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var _r=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Ft(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Lr=Symbol("internalReduxEventsUnsubscribers"),at=Symbol("internalStoresUnsubscribers"),Et=Symbol("internalStores");function as(t){var e,o,n;class a extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Et].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Et].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Et].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Et].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Et].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Et].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[at].has(s.store):this[at].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[at].set(s,l.subscribe(()=>this.updateFromStores())),this[Lr].set(s,[]),Ft(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||l.name===u.store)){let f=g=>this[h](g);l.addEventListener(u.eventName,f),this[Lr].get(s).push(()=>l.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[at].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[at].has(s)&&this[at].get(s)(),this[at].delete(s),(l=this[Lr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Lr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=at,o=Et,n=Lr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}var aa=class extends as(j){};function Ee(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Xe(t){return!!t&&!!t[Y]}function _e(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Qd}(t)||Array.isArray(t)||!!t[us]||!!(!((e=t.constructor)===null||e===void 0)&&e[us])||ha(t)||ya(t))}function Ct(t,e,o){o===void 0&&(o=!1),Ht(t)===0?(o?Object.keys:zt)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Ht(t){var e=t[Y];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ha(t)?2:ya(t)?3:0}function Wt(t,e){return Ht(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function jd(t,e){return Ht(t)===2?t.get(e):t[e]}function fs(t,e,o){var n=Ht(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function hs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ha(t){return Xd&&t instanceof Map}function ya(t){return Jd&&t instanceof Set}function it(t){return t.o||t.t}function ma(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=gs(t);delete e[Y];for(var o=zt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ga(t,e){return e===void 0&&(e=!1),ba(t)||Xe(t)||!_e(t)||(Ht(t)>1&&(t.set=t.add=t.clear=t.delete=Kd),Object.freeze(t),e&&Ct(t,function(o,n){return ga(n,!0)},!0)),t}function Kd(){Ee(2)}function ba(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Fe(t){var e=fa[t];return e||Ee(18,t),e}function Zd(t,e){fa[t]||(fa[t]=e)}function da(){return Ir}function ia(t,e){e&&(Fe("Patches"),t.u=[],t.s=[],t.v=e)}function no(t){pa(t),t.p.forEach(qd),t.p=null}function pa(t){t===Ir&&(Ir=t.l)}function is(t){return Ir={p:[],l:Ir,h:t,m:!0,_:0}}function qd(t){var e=t[Y];e.i===0||e.i===1?e.j():e.g=!0}function sa(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Fe("ES5").S(e,t,n),n?(o[Y].P&&(no(e),Ee(4)),_e(t)&&(t=ao(e,t),e.l||io(e,t)),e.u&&Fe("Patches").M(o[Y].t,t,e.u,e.s)):t=ao(e,o,[]),no(e),e.u&&e.v(e.u,e.s),t!==ms?t:void 0}function ao(t,e,o){if(ba(e))return e;var n=e[Y];if(!n)return Ct(e,function(l,d){return ss(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return io(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ma(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ct(i,function(l,d){return ss(t,n,a,l,d,o,s)}),io(t,a,!1),o&&t.u&&Fe("Patches").N(n,o,t.u,t.s)}return n.o}function ss(t,e,o,n,a,i,s){if(Xe(a)){var l=ao(t,a,i&&e&&e.i!==3&&!Wt(e.R,n)?i.concat(n):void 0);if(fs(o,n,l),!Xe(l))return;t.m=!1}else s&&o.add(a);if(_e(a)&&!ba(a)){if(!t.h.D&&t._<1)return;ao(t,a),e&&e.A.l||io(t,a)}}function io(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ga(e,o)}function ca(t,e){var o=t[Y];return(o?it(o):t)[e]}function cs(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function st(t){t.P||(t.P=!0,t.l&&st(t.l))}function la(t){t.o||(t.o=ma(t.t))}function ua(t,e,o){var n=ha(e)?Fe("MapSet").F(e,o):ya(e)?Fe("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:da(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=kr;s&&(d=[l],u=Pr);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):Fe("ES5").J(e,o);return(o?o.A:da()).p.push(n),n}function Yd(t){return Xe(t)||Ee(22,t),function e(o){if(!_e(o))return o;var n,a=o[Y],i=Ht(o);if(a){if(!a.P&&(a.i<4||!Fe("ES5").K(a)))return a.t;a.I=!0,n=ls(o,i),a.I=!1}else n=ls(o,i);return Ct(n,function(s,l){a&&jd(a.t,s)===l||fs(n,s,e(l))}),i===3?new Set(n):n}(t)}function ls(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ma(t)}function ys(){function t(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[Y];return kr.get(u,s)},set:function(u){var h=this[Y];kr.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Y];if(!d.P)switch(d.i){case 5:n(d)&&st(d);break;case 4:o(d)&&st(d)}}}function o(s){for(var l=s.t,d=s.k,u=zt(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==Y){var g=l[f];if(g===void 0&&!Wt(l,f))return!0;var x=d[f],b=x&&x[Y];if(b?b.t!==g:!hs(x,g))return!0}}var S=!!l[Y];return u.length!==zt(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Ee(3,JSON.stringify(it(s)))}var i={};Zd("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var x=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var S=gs(g);delete S[Y];for(var T=zt(S),N=0;N<T.length;N++){var L=T[N];S[L]=t(L,f||!!S[L].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:l?l.A:da(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Y,{value:h,writable:!0}),u},S:function(s,l,d){d?Xe(l)&&l[Y].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[Y];if(f){var g=f.t,x=f.k,b=f.R,S=f.i;if(S===4)Ct(x,function(w){w!==Y&&(g[w]!==void 0||Wt(g,w)?b[w]||u(x[w]):(b[w]=!0,st(f)))}),Ct(g,function(w){x[w]!==void 0||Wt(x,w)||(b[w]=!1,st(f))});else if(S===5){if(n(f)&&(st(f),b.length=!0),x.length<g.length)for(var T=x.length;T<g.length;T++)b[T]=!1;else for(var N=g.length;N<x.length;N++)b[N]=!0;for(var L=Math.min(x.length,g.length),C=0;C<L;C++)x.hasOwnProperty(C)||(b[C]=!0),b[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ds,Ir,xa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Xd=typeof Map<"u",Jd=typeof Set<"u",ps=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=xa?Symbol.for("immer-nothing"):((ds={})["immer-nothing"]=!0,ds),us=xa?Symbol.for("immer-draftable"):"__$immer_draftable",Y=xa?Symbol.for("immer-state"):"__$immer_state";var Qd=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,gs=Object.getOwnPropertyDescriptors||function(t){var e={};return zt(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},fa={},kr={get:function(t,e){if(e===Y)return t;var o=it(t);if(!Wt(o,e))return function(a,i,s){var l,d=cs(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!_e(n)?n:n===ca(t.t,e)?(la(t),t.o[e]=ua(t.A.h,n,t)):n},has:function(t,e){return e in it(t)},ownKeys:function(t){return Reflect.ownKeys(it(t))},set:function(t,e,o){var n=cs(it(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=ca(it(t),e),i=a?.[Y];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(hs(o,a)&&(o!==void 0||Wt(t.t,e)))return!0;la(t),st(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return ca(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,la(t),st(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=it(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ee(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ee(12)}},Pr={};Ct(kr,function(t,e){Pr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Pr.deleteProperty=function(t,e){return Pr.set.call(this,t,e,void 0)},Pr.set=function(t,e,o){return kr.set.call(this,t[0],e,o,t[0])};var ep=function(){function t(o){var n=this;this.O=ps,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var T=this;S===void 0&&(S=l);for(var N=arguments.length,L=Array(N>1?N-1:0),C=1;C<N;C++)L[C-1]=arguments[C];return d.produce(S,function(w){var E;return(E=i).call.apply(E,[T,w].concat(L))})}}var u;if(typeof i!="function"&&Ee(6),s!==void 0&&typeof s!="function"&&Ee(7),_e(a)){var h=is(n),f=ua(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?no(h):pa(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return ia(h,s),sa(S,h)},function(S){throw no(h),S}):(ia(h,s),sa(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ms&&(u=void 0),n.D&&ga(u,!0),s){var x=[],b=[];Fe("Patches").M(a,u,x,b),s(x,b)}return u}Ee(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return a.apply(void 0,[x].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){_e(o)||Ee(8),Xe(o)&&(o=Yd(o));var n=is(this),a=ua(this,o,void 0);return a[Y].C=!0,pa(n),a},e.finishDraft=function(o,n){var a=o&&o[Y],i=a.A;return ia(i,n),sa(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ps&&Ee(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Fe("Patches").$;return Xe(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Oe=new ep,tp=Oe.produce,hg=Oe.produceWithPatches.bind(Oe),yg=Oe.setAutoFreeze.bind(Oe),mg=Oe.setUseProxies.bind(Oe),gg=Oe.applyPatches.bind(Oe),bg=Oe.createDraft.bind(Oe),xg=Oe.finishDraft.bind(Oe),so=tp;function wt(t){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(t)}function bs(t,e){if(wt(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(wt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function xs(t){var e=bs(t,"string");return wt(e)=="symbol"?e:e+""}function vs(t,e,o){return(e=xs(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ss(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function va(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ss(Object(o),!0).forEach(function(n){vs(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ss(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function he(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. "}var Os=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Sa=function(){return Math.random().toString(36).substring(7).split("").join(".")},co={INIT:"@@redux/INIT"+Sa(),REPLACE:"@@redux/REPLACE"+Sa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Sa()}};function rp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Oa(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(he(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(he(1));return o(Oa)(t,e)}if(typeof t!="function")throw new Error(he(2));var a=t,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(he(3));return i}function f(S){if(typeof S!="function")throw new Error(he(4));if(d)throw new Error(he(5));var T=!0;return u(),l.push(S),function(){if(T){if(d)throw new Error(he(6));T=!1,u();var L=l.indexOf(S);l.splice(L,1),s=null}}}function g(S){if(!rp(S))throw new Error(he(7));if(typeof S.type>"u")throw new Error(he(8));if(d)throw new Error(he(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var T=s=l,N=0;N<T.length;N++){var L=T[N];L()}return S}function x(S){if(typeof S!="function")throw new Error(he(10));a=S,g({type:co.REPLACE})}function b(){var S,T=f;return S={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(he(11));function C(){L.next&&L.next(h())}C();var w=T(C);return{unsubscribe:w}}},S[Os]=function(){return this},S}return g({type:co.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:x},n[Os]=b,n}function op(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:co.INIT});if(typeof n>"u")throw new Error(he(12));if(typeof o(void 0,{type:co.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(he(13))})}function Es(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{op(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,x={},b=0;b<i.length;b++){var S=i[b],T=o[S],N=u[S],L=T(N,h);if(typeof L>"u"){var C=h&&h.type;throw new Error(he(14))}x[S]=L,g=g||L!==N}return g=g||i.length!==Object.keys(u).length,g?x:u}}function Gt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Cs(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(he(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=Gt.apply(void 0,l)(a.dispatch),va(va({},a),{},{dispatch:i})}}}function ws(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var As=ws();As.withExtraArgument=ws;var Ea=As;var Ls=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),np=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Vt=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},ap=Object.defineProperty,ip=Object.defineProperties,sp=Object.getOwnPropertyDescriptors,Rs=Object.getOwnPropertySymbols,cp=Object.prototype.hasOwnProperty,lp=Object.prototype.propertyIsEnumerable,Ns=function(t,e,o){return e in t?ap(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ct=function(t,e){for(var o in e||(e={}))cp.call(e,o)&&Ns(t,o,e[o]);if(Rs)for(var n=0,a=Rs(e);n<a.length;n++){var o=a[n];lp.call(e,o)&&Ns(t,o,e[o])}return t},Ca=function(t,e){return ip(t,sp(e))},dp=function(t,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(t,e)).next())})};var pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Gt:Gt.apply(null,arguments)},Bg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function up(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var fp=function(t){Ls(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Vt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Vt([void 0],o.concat(this))))},e}(Array),hp=function(t){Ls(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Vt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Vt([void 0],o.concat(this))))},e}(Array);function Ra(t){return _e(t)?so(t,function(){}):t}function yp(t){return typeof t=="boolean"}function mp(){return function(e){return gp(e)}}function gp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new fp;if(o&&(yp(o)?l.push(Ea):l.push(Ea.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var wa=!0;function Ps(t){var e=mp(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,x;if(typeof a=="function")x=a;else if(up(a))x=Es(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!wa&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!wa&&b.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Cs.apply(void 0,b),T=Gt;d&&(T=pp(ct({trace:!wa},typeof d=="object"&&d)));var N=new hp(S),L=N;Array.isArray(g)?L=Vt([S],g):typeof g=="function"&&(L=g(N));var C=T.apply(void 0,L);return Oa(x,h,C)}function lt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ct(ct({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Is(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function bp(t){return typeof t=="function"}function xp(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Is(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(bp(t))d=function(){return Ra(t())};else{var u=Ra(t);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var x=Vt([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[l]),x.reduce(function(b,S){if(S)if(Xe(b)){var T=b,N=S(T,g);return N===void 0?b:N}else{if(_e(b))return so(b,function(L){return S(L,g)});var N=S(b,g);if(N===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return b},f)}return h.getInitialState=d,h}function vp(t,e){return t+"/"+e}function ks(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Ra(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=vp(e,h),x,b;"reducer"in f?(x=f.reducer,b=f.prepare):x=f,i[h]=x,s[g]=x,l[h]=b?lt(g,b):lt(g)});function d(){var h=typeof t.extraReducers=="function"?Is(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,x=h[1],b=x===void 0?[]:x,S=h[2],T=S===void 0?void 0:S,N=ct(ct({},g),s);return xp(o,function(L){for(var C in N)L.addCase(C,N[C]);for(var w=0,E=b;w<E.length;w++){var k=E[w];L.addMatcher(k.matcher,k.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Op=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Sp[Math.random()*64|0];return e},Ep=["name","message","stack","code"],Aa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ts=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Cp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Ep;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Wg=function(){function t(e,o,n){var a=lt(e+"/fulfilled",function(h,f,g,x){return{payload:h,meta:Ca(ct({},x||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=lt(e+"/pending",function(h,f,g){return{payload:void 0,meta:Ca(ct({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=lt(e+"/rejected",function(h,f,g,x,b){return{payload:x,error:(n&&n.serializeError||Cp)(h||"Rejected"),meta:Ca(ct({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,g,x){var b=n?.idGenerator?n.idGenerator(h):Op(),S=new d,T,N=!1;function L(w){T=w,S.abort()}var C=function(){return dp(this,null,function(){var w,E,k,B,M,z,P;return np(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),B=(w=n?.condition)==null?void 0:w.call(n,h,{getState:g,extra:x}),Ap(B)?[4,B]:[3,2];case 1:B=y.sent(),y.label=2;case 2:if(B===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,M=new Promise(function(v,I){return S.signal.addEventListener("abort",function(){return I({name:"AbortError",message:T||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:x}))),[4,Promise.race([M,Promise.resolve(o(h,{dispatch:f,getState:g,extra:x,requestId:b,signal:S.signal,abort:L,rejectWithValue:function(v,I){return new Aa(v,I)},fulfillWithValue:function(v,I){return new Ts(v,I)}})).then(function(v){if(v instanceof Aa)throw v;return v instanceof Ts?a(v.payload,b,h,v.meta):a(v,b,h)})])];case 3:return k=y.sent(),[3,5];case 4:return z=y.sent(),k=z instanceof Aa?s(null,b,h,z.payload,z.meta):s(z,b,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,P||f(k),[2,k]}})})}();return Object.assign(C,{abort:L,requestId:b,arg:h,unwrap:function(){return C.then(wp)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function wp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ap(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ds="listener",$s="completed",Bs="cancelled",zg="task-"+Bs,Hg="task-"+$s,Gg=Ds+"-"+Bs,Vg=Ds+"-"+$s;var Na="listenerMiddleware";var jg=lt(Na+"/add"),Kg=lt(Na+"/removeAll"),Zg=lt(Na+"/remove");var _s,qg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(_s||(_s=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Rp=function(t){return function(e){setTimeout(e,t)}},Yg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rp(10);ys();window.ftReduxStores||(window.ftReduxStores={});var Ta=class t extends bt{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Ft(i))return i;if(a==null)return;let s=ks({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ps({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new _r;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,u=i[d];return u?(...h)=>{let f=u(...h.map(a));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Np(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ft(e)&&e.clear()}var lo=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);xt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Tp(t,e,o){return new lo(t,e,o).watch()}var Ia={};V(Ia,{scrollHelper:()=>_p});var La,po=new Map,Pa=class{lock(e,o){if(o){let n=po.get(o);if(n==null||n===e)return po.set(o,e),o}}release(e,o){o&&po.get(o)===e&&po.delete(o)}findFirstScrollableParent(e){var o;let n,a;for(let i of Qo(e)){let s=i,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&a==null&&(a=s)}return(o=n??a)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,a;let i=0;for(;o&&o.offsetParent!==e.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=xr(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(La=window.FluidTopicsScrollHelper)!==null&&La!==void 0?La:new Pa;var _p=window.FluidTopicsScrollHelper;var Da={};V(Da,{SearchPlaceConverter:()=>ho,SearchPlaceQueryParams:()=>Z,isSearchPlaceQueryParams:()=>hc,serializeRequest:()=>Ip});var Lp=ll(Ms(),1);var Fs;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Fs||(Fs={}));var Ws;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ws||(Ws={}));var zs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(zs||(zs={}));var Hs;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Hs||(Hs={}));var Gs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Gs||(Gs={}));var Vs;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Vs||(Vs={}));var js;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(js||(js={}));var Ks;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ks||(Ks={}));var Zs;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Zs||(Zs={}));var qs;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(qs||(qs={}));var Ys;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Ys||(Ys={}));var Xs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Xs||(Xs={}));var Js;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Js||(Js={}));var Qs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Qs||(Qs={}));var ec;(function(t){t.ASC="ASC",t.DESC="DESC"})(ec||(ec={}));var tc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(tc||(tc={}));var ka;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ka||(ka={}));var cc=t=>Object.keys(ka).includes(t);var rc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(rc||(rc={}));var oc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(oc||(oc={}));var nc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(nc||(nc={}));var Kt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Kt||(Kt={}));var lc=t=>Object.keys(Kt).includes(t);var ac;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(ac||(ac={}));var ic;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ic||(ic={}));var le;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(le||(le={}));var sc;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(sc||(sc={}));var dc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(dc||(dc={}));var pc;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(pc||(pc={}));var uc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(uc||(uc={}));var gb={[le.PERSONAL_BOOK_SHARE_USER]:[le.PERSONAL_BOOK_USER],[le.HTML_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.PDF_EXPORT_USER]:[le.PERSONAL_BOOK_USER],[le.KHUB_ADMIN]:[le.CONTENT_PUBLISHER],[le.ADMIN]:[le.KHUB_ADMIN,le.USERS_ADMIN,le.PORTAL_ADMIN],[le.GENERATIVE_AI_EXPORT_USER]:[le.GENERATIVE_AI_USER]};function Pp(t){return`"${t}"`}function fc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Ip(t,e){return new ho(t).serialize(e)}var Z;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(Z||(Z={}));var kp=new Set(Object.values(Z));function hc(t){return kp.has(t)}var ho=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,o=!1){var n,a,i,s,l,d,u,h,f,g,x,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(Z.LOCALE,e.contentLocale):S.append(Z.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(Z.QUERY,e.query);let T=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(E=>E.valueFilter&&!E.valueFilter.negative))!==null&&i!==void 0?i:[];if(T.length>0){let E=T.map(k=>{var B,M;let z=((M=(B=k.valueFilter)===null||B===void 0?void 0:B.values)!==null&&M!==void 0?M:[]).map(P=>this.escapeFilters(P)).map(P=>Pp(fc(P))).join("_");return`${k.key}~${z}`}).join("*");S.append(Z.VALUE_FILTERS,E)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(E=>E.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let E=N.map(k=>{var B;return`${k.key}~${(B=k.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");S.append(Z.DATE_FILTERS,E)}let L=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(E=>E.rangeFilter))!==null&&u!==void 0?u:[];if(L.length>0){let E=L.map(k=>{var B,M;return`${k.key}~${(B=k.rangeFilter)===null||B===void 0?void 0:B.from}_${(M=k.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");S.append(Z.RANGE_FILTERS,E)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(Z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&S.append(Z.SCOPE,e.scope.toLowerCase()),((h=e.sort)===null||h===void 0?void 0:h.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(Z.SORT,"last_update"),!((f=e.paging)===null||f===void 0)&&f.perPage&&((x=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&S.append(Z.PER_PAGE,String(e.paging.perPage));let C=(b=e.otherQueryParams)!==null&&b!==void 0?b:{};for(let E in C)S.append(E,C[E]);let w=new Array;return S.forEach((E,k)=>{w.push(this.encodeQueryString(k)+"="+this.encodeQueryString(E))}),encodeURI(w.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;try{e=decodeURI(e).replace(/%23/g,"#")}catch(N){console.warn("Could not decode search request query params, fallback on raw value",N)}let h=new URLSearchParams(e),f=h.get(Z.LOCALE)==="all"?void 0:h.get(Z.LOCALE),g=((o=h.get(Z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),x=((n=h.get(Z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(a=h.get(Z.SCOPE))!==null&&a!==void 0?a:"default",S=+((i=h.get(Z.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),T={};for(let N of h.keys())hc(N)||(T[N]=h.get(N));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=h.get(Z.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:cc(g)?g:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[x])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(h),facets:[],paging:{page:1,perPage:xr(1,isNaN(S)?this.defaultPerPage:S,1e3)},otherQueryParams:T}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(Z.FILTERS)&&(d=this.parseValueFilters((o=e.get(Z.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(Z.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(Z.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(Z.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(Z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(Z.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(fc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:Kt[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(lc(e))return[{key:"ft:lastEdition",dateFilter:{type:Kt[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var Ua={};V(Ua,{toFtFormComponent:()=>Ba});var $a=Symbol("elementInternals");function Ba(t){class e extends t{static get formAssociated(){return!0}get form(){return this[$a].form}constructor(...n){super(n),this[$a]=this.attachInternals()}setFormValue(n){this[$a].setFormValue(n)}}return e}var Fa={};V(Fa,{DateFormatter:()=>Ma});var Ma=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var za={};V(za,{ALL_KEYS_VALUE:()=>Wa,SameWindowStorageEvent:()=>Zt});var Wa="__all__",Zt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Wa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Zt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Zt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new Zt(Wa))}});var Ga={};V(Ga,{FocusMainContentEvent:()=>Ha});var Ha=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var yc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function Dp(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function $p(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Dp);document.addEventListener("click",$p);var mc=D`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -620,7 +620,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
620
620
  </div>
621
621
  </div>
622
622
  </div>
623
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=e,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kn(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};te.elementDefinitions={"ft-typography":ye};te.styles=Zc;be([A()],te.prototype,"text",void 0);be([A({type:Boolean})],te.prototype,"manual",void 0);be([A({type:Boolean})],te.prototype,"inline",void 0);be([A({type:Number})],te.prototype,"delay",void 0);be([A()],te.prototype,"position",void 0);be([ko()],te.prototype,"slotNodes",void 0);be([ne(".ft-tooltip--container")],te.prototype,"container",void 0);be([ne(".ft-tooltip")],te.prototype,"tooltip",void 0);be([ne(".ft-tooltip--content")],te.prototype,"tooltipContent",void 0);be([ce()],te.prototype,"visible",void 0);be([_t({passive:!0})],te.prototype,"onTouch",null);be([_t({passive:!0})],te.prototype,"onHover",null);be([_t({passive:!0})],te.prototype,"onOut",null);be([_t({passive:!0})],te.prototype,"onClick",null);ae("ft-tooltip")(te);var ar;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;"})(ar||(ar={}));var _;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(_||(_={}));var Ov=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]);var Ev={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var we;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(we||(we={}));var $r=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},de=class extends j{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=K}render(){let e=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,o=e!==we.material||!!this.value;return H`
623
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=e,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kn(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};te.elementDefinitions={"ft-typography":ye};te.styles=Zc;be([A()],te.prototype,"text",void 0);be([A({type:Boolean})],te.prototype,"manual",void 0);be([A({type:Boolean})],te.prototype,"inline",void 0);be([A({type:Number})],te.prototype,"delay",void 0);be([A()],te.prototype,"position",void 0);be([ko()],te.prototype,"slotNodes",void 0);be([ne(".ft-tooltip--container")],te.prototype,"container",void 0);be([ne(".ft-tooltip")],te.prototype,"tooltip",void 0);be([ne(".ft-tooltip--content")],te.prototype,"tooltipContent",void 0);be([ce()],te.prototype,"visible",void 0);be([_t({passive:!0})],te.prototype,"onTouch",null);be([_t({passive:!0})],te.prototype,"onHover",null);be([_t({passive:!0})],te.prototype,"onOut",null);be([_t({passive:!0})],te.prototype,"onClick",null);ae("ft-tooltip")(te);var ar;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;"})(ar||(ar={}));var _;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(_||(_={}));var Ov=new Map([...["abw"].map(t=>[t,_.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,_.AUDIO]),...["avi"].map(t=>[t,_.AVI]),...["chm","xhs"].map(t=>[t,_.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,_.CODE]),...["csv"].map(t=>[t,_.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,_.DITA]),...["epub"].map(t=>[t,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,_.EXCEL]),...["flac"].map(t=>[t,_.FLAC]),...["gif"].map(t=>[t,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,_.GZIP]),...["html","htm","xhtml"].map(t=>[t,_.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,_.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,_.JPEG]),...["json"].map(t=>[t,_.JSON]),...["m4a","m4p"].map(t=>[t,_.M4A]),...["mov","qt"].map(t=>[t,_.MOV]),...["mp3"].map(t=>[t,_.MP3]),...["mp4","m4v"].map(t=>[t,_.MP4]),...["ogg","oga"].map(t=>[t,_.OGG]),...["pdf","ps"].map(t=>[t,_.PDF]),...["png"].map(t=>[t,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,_.POWERPOINT]),...["rar"].map(t=>[t,_.RAR]),...["stp"].map(t=>[t,_.STP]),...["txt","rtf","md","mdown"].map(t=>[t,_.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,_.VIDEO]),...["wav"].map(t=>[t,_.WAV]),...["wma"].map(t=>[t,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,_.WORD]),...["xml","xsl","rdf"].map(t=>[t,_.XML]),...["yaml","yml","x-yaml"].map(t=>[t,_.YAML]),...["zip"].map(t=>[t,_.ZIP])]);var Ev={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var we;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(we||(we={}));var $r=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},de=class extends j{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=K}render(){let e=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,o=e!==we.material||!!this.value;return H`
624
624
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
625
625
  ${Mo(this.resolvedIcon)}
626
626
  <slot ?hidden=${o}></slot>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-chip-choice",
3
- "version": "1.3.9",
3
+ "version": "1.3.11",
4
4
  "description": "Chip-choice is a component used to make single-select or multi-select selections.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "1.3.9",
23
- "@fluid-topics/ft-wc-utils": "1.3.9",
22
+ "@fluid-topics/ft-chip": "1.3.11",
23
+ "@fluid-topics/ft-wc-utils": "1.3.11",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@fluid-topics/ft-wc-test-utils": "1.3.9"
27
+ "@fluid-topics/ft-wc-test-utils": "1.3.11"
28
28
  },
29
- "gitHead": "dc6e10bbbaa21aaa6bf6ba41693dccd334fa9854"
29
+ "gitHead": "d6d94dad1cc2ca781775cc04c47a5447f6effab5"
30
30
  }