@fluid-topics/ft-search-saved-searches 1.0.51 → 1.0.52

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.
@@ -105,13 +105,13 @@
105
105
  <div class="ft-ripple--background"></div>
106
106
  <div class="ft-ripple--effect"></div>
107
107
  </div>
108
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}b.elementDefinitions={},b.styles=v,y([o.property({type:Boolean})],b.prototype,"primary",void 0),y([o.property({type:Boolean})],b.prototype,"secondary",void 0),y([o.property({type:Boolean})],b.prototype,"unbounded",void 0),y([o.property({type:Boolean})],b.prototype,"activated",void 0),y([o.property({type:Boolean})],b.prototype,"selected",void 0),y([o.property({type:Boolean})],b.prototype,"disabled",void 0),y([o.state()],b.prototype,"hovered",void 0),y([o.state()],b.prototype,"focused",void 0),y([o.state()],b.prototype,"pressed",void 0),y([o.state()],b.prototype,"rippling",void 0),y([o.state()],b.prototype,"rippleSize",void 0),y([o.state()],b.prototype,"originX",void 0),y([o.state()],b.prototype,"originY",void 0),y([o.query(".ft-ripple")],b.prototype,"ripple",void 0),y([o.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(b);const x=window,m=x.trustedTypes,$=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,k="?"+S,E=`<${k}>`,O=document,C=()=>O.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,B="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,z=/>/g,U=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,j=/"/g,_=/^(?:script|style|textarea|title)$/i,L=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),D=Symbol.for("lit-noChange"),P=Symbol.for("lit-nothing"),M=new WeakMap,F=O.createTreeWalker(O,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=I;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===I?"!--"===l[1]?s=R:void 0!==l[1]?s=z:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=U):void 0!==l[3]&&(s=U):s===U?">"===l[0]?(s=null!=n?n:I,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?U:'"'===l[3]?j:N):s===j||s===N?s=U:s===R||s===z?s=I:(s=U,n=void 0);const p=s===U&&t[i+1].startsWith("/>")?" ":"";r+=s===I?e+E:h>=0?(o.push(a),e.slice(0,h)+w+e.slice(h)+S+p):e+S+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,i);if(this.el=Z.createElement(l,e),F.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=F.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(w)||i.startsWith(S)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+w).split(S),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?X:"@"===i[1]?J:q})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=m?m.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],C()),F.nextNode(),a.push({type:2,index:++n});o.append(t[i],C())}}}else if(8===o.nodeType)if(o.data===k)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,i){const e=O.createElement("template");return e.innerHTML=t,e}}function K(t,i,e=t,o){var n,r,s,a;if(i===D)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=K(t,l._$AS(t,i.values),l,o)),i}class W{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:O).importNode(e,!0);F.currentNode=n;let r=F.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new G(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new Q(r,this,t)),this._$AV.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=F.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var n;this.type=2,this._$AH=P,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=K(this,t,i),A(t)?t===P||null==t||""===t?(this._$AH!==P&&this._$AR(),this._$AH=P):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==P&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new W(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=M.get(t.strings);return void 0===i&&M.set(t.strings,i=new Z(t)),i}T(t){T(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new G(this.k(C()),this.k(C()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class q{constructor(t,i,e,o,n){this.type=1,this._$AH=P,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=P}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=K(this,t,i,0),r=!A(t)||t!==this._$AH&&t!==D,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=K(this,o[e+s],i,s),a===D&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===P?t=P:t!==P&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===P?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===P?void 0:t}}const V=m?m.emptyScript:"";class X extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==P?this.element.setAttribute(this.name,V):this.element.removeAttribute(this.name)}}class J extends q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=K(this,t,i,0))&&void 0!==e?e:P)===D)return;const o=this._$AH,n=t===P&&o!==P||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==P&&(o===P||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const tt=x.litHtmlPolyfillSupport;null==tt||tt(Z,G),(null!==(g=x.litHtmlVersions)&&void 0!==g?g:x.litHtmlVersions=[]).push("2.7.3");
108
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}b.elementDefinitions={},b.styles=v,y([o.property({type:Boolean})],b.prototype,"primary",void 0),y([o.property({type:Boolean})],b.prototype,"secondary",void 0),y([o.property({type:Boolean})],b.prototype,"unbounded",void 0),y([o.property({type:Boolean})],b.prototype,"activated",void 0),y([o.property({type:Boolean})],b.prototype,"selected",void 0),y([o.property({type:Boolean})],b.prototype,"disabled",void 0),y([o.state()],b.prototype,"hovered",void 0),y([o.state()],b.prototype,"focused",void 0),y([o.state()],b.prototype,"pressed",void 0),y([o.state()],b.prototype,"rippling",void 0),y([o.state()],b.prototype,"rippleSize",void 0),y([o.state()],b.prototype,"originX",void 0),y([o.state()],b.prototype,"originY",void 0),y([o.query(".ft-ripple")],b.prototype,"ripple",void 0),y([o.query(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(b);const x=window,m=x.trustedTypes,$=m?m.createPolicy("lit-html",{createHTML:t=>t}):void 0,w="$lit$",S=`lit$${(Math.random()+"").slice(9)}$`,k="?"+S,E=`<${k}>`,O=document,C=()=>O.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,B="[ \t\n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,z=/>/g,U=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),N=/'/g,j=/"/g,_=/^(?:script|style|textarea|title)$/i,L=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),D=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),P=new WeakMap,F=O.createTreeWalker(O,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=I;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(s.lastIndex=c,l=s.exec(e),null!==l);)c=s.lastIndex,s===I?"!--"===l[1]?s=R:void 0!==l[1]?s=z:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=U):void 0!==l[3]&&(s=U):s===U?">"===l[0]?(s=null!=n?n:I,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?U:'"'===l[3]?j:N):s===j||s===N?s=U:s===R||s===z?s=I:(s=U,n=void 0);const p=s===U&&t[i+1].startsWith("/>")?" ":"";r+=s===I?e+E:h>=0?(o.push(a),e.slice(0,h)+w+e.slice(h)+S+p):e+S+(-2===h?(o.push(void 0),i):p)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==$?$.createHTML(a):a,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,i);if(this.el=Z.createElement(l,e),F.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=F.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(w)||i.startsWith(S)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+w).split(S),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?V:"?"===i[1]?X:"@"===i[1]?J:q})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(S),i=t.length-1;if(i>0){o.textContent=m?m.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],C()),F.nextNode(),a.push({type:2,index:++n});o.append(t[i],C())}}}else if(8===o.nodeType)if(o.data===k)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(S,t+1));)a.push({type:7,index:n}),t+=S.length-1}n++}}static createElement(t,i){const e=O.createElement("template");return e.innerHTML=t,e}}function K(t,i,e=t,o){var n,r,s,a;if(i===D)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=A(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Co)&&void 0!==s?s:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=K(t,l._$AS(t,i.values),l,o)),i}class W{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:O).importNode(e,!0);F.currentNode=n;let r=F.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new G(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new Q(r,this,t)),this._$AV.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=F.nextNode(),s++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var n;this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=K(this,t,i),A(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==M&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new W(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=P.get(t.strings);return void 0===i&&P.set(t.strings,i=new Z(t)),i}T(t){T(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new G(this.k(C()),this.k(C()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class q{constructor(t,i,e,o,n){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=M}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=K(this,t,i,0),r=!A(t)||t!==this._$AH&&t!==D,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=K(this,o[e+s],i,s),a===D&&(a=this._$AH[s]),r||(r=!A(a)||a!==this._$AH[s]),a===M?t=M:t!==M&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class V extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}}const Y=m?m.emptyScript:"";class X extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==M?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class J extends q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=K(this,t,i,0))&&void 0!==e?e:M)===D)return;const o=this._$AH,n=t===M&&o!==M||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==M&&(o===M||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Q{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){K(this,t)}}const tt=x.litHtmlPolyfillSupport;null==tt||tt(Z,G),(null!==(g=x.litHtmlVersions)&&void 0!==g?g:x.litHtmlVersions=[]).push("2.7.3");
109
109
  /**
110
110
  * @license
111
111
  * Copyright 2020 Google LLC
112
112
  * SPDX-License-Identifier: BSD-3-Clause
113
113
  */
114
- const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void 0:t._$litStatic$},ot=t=>({_$litStatic$:t,r:it}),nt=new Map,rt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=et(r));)l+=n+i[++h],c=!0;h!==o&&a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=nt.get(t))&&(s.raw=s,nt.set(t,i=s)),e=a}return t(i,...e)})(L);var st;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(st||(st={}));const at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),lt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ht={fontFamily:lt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",at),pt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ht.fontSize,"20px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ht.fontWeight,"normal"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ht.letterSpacing,"0.15px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ht.lineHeight,"1.2"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ht.textTransform,"inherit"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",at),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ht.fontSize,"14px"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ht.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ht.letterSpacing,"0.105px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ht.lineHeight,"1.7"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ht.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",lt),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ht.fontSize,"16px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ht.fontWeight,"600"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ht.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ht.lineHeight,"1.5"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ht.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",lt),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ht.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ht.fontWeight,"normal"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ht.letterSpacing,"0.098px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ht.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ht.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",lt),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ht.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ht.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ht.letterSpacing,"0.496px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ht.lineHeight,"1.5"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ht.textTransform,"inherit"),Pt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",lt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ht.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ht.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ht.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ht.textTransform,"inherit")},Mt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",lt),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ht.fontSize,"12px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ht.fontWeight,"normal"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ht.letterSpacing,"0.396px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ht.lineHeight,"1.33"),Wt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ht.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",lt),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ht.fontSize,"10px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ht.fontWeight,"normal"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ht.letterSpacing,"0.33px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ht.lineHeight,"1.6"),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ht.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",lt),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ht.fontSize,"10px"),ii=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ht.fontWeight,"normal"),ei=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ht.letterSpacing,"1.5px"),oi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ht.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ht.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",lt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ht.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ht.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ht.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ht.textTransform,"uppercase")},si=e.css`
114
+ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void 0:t._$litStatic$},ot=t=>({_$litStatic$:t,r:it}),nt=new Map,rt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=et(r));)l+=n+i[++h],c=!0;h!==o&&a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),c){const t=s.join("$$lit$$");void 0===(i=nt.get(t))&&(s.raw=s,nt.set(t,i=s)),e=a}return t(i,...e)})(L);var st;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(st||(st={}));const at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),lt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ht={fontFamily:lt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",at),pt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ht.fontSize,"20px"),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ht.fontWeight,"normal"),ft=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ht.letterSpacing,"0.15px"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ht.lineHeight,"1.2"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ht.textTransform,"inherit"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",at),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ht.fontSize,"14px"),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ht.fontWeight,"normal"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ht.letterSpacing,"0.105px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ht.lineHeight,"1.7"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ht.textTransform,"inherit"),wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",lt),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ht.fontSize,"16px"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ht.fontWeight,"600"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ht.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ht.lineHeight,"1.5"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ht.textTransform,"inherit"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",lt),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ht.fontSize,"14px"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ht.fontWeight,"normal"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ht.letterSpacing,"0.098px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ht.lineHeight,"1.7"),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ht.textTransform,"inherit"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",lt),Nt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ht.fontSize,"16px"),jt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ht.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ht.letterSpacing,"0.496px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ht.lineHeight,"1.5"),Dt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ht.textTransform,"inherit"),Mt={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",lt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ht.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ht.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ht.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ht.textTransform,"inherit")},Pt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",lt),Ft=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ht.fontSize,"12px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ht.fontWeight,"normal"),Zt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ht.letterSpacing,"0.396px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ht.lineHeight,"1.33"),Wt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ht.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",lt),qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ht.fontSize,"10px"),Vt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ht.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ht.letterSpacing,"0.33px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ht.lineHeight,"1.6"),Jt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ht.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",lt),ti=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ht.fontSize,"10px"),ii=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ht.fontWeight,"normal"),ei=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ht.letterSpacing,"1.5px"),oi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ht.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ht.textTransform,"uppercase"),ri={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",lt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ht.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ht.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ht.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ht.textTransform,"uppercase")},si=e.css`
115
115
  .ft-typography--title {
116
116
  font-family: ${ct};
117
117
  font-size: ${pt};
@@ -159,16 +159,16 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
159
159
  }
160
160
  `,pi=e.css`
161
161
  .ft-typography--body2 {
162
- font-family: ${Pt.fontFamily};
163
- font-size: ${Pt.fontSize};
164
- font-weight: ${Pt.fontWeight};
165
- letter-spacing: ${Pt.letterSpacing};
166
- line-height: ${Pt.lineHeight};
167
- text-transform: ${Pt.textTransform};
162
+ font-family: ${Mt.fontFamily};
163
+ font-size: ${Mt.fontSize};
164
+ font-weight: ${Mt.fontWeight};
165
+ letter-spacing: ${Mt.letterSpacing};
166
+ line-height: ${Mt.lineHeight};
167
+ text-transform: ${Mt.textTransform};
168
168
  }
169
169
  `,di=e.css`
170
170
  .ft-typography--caption {
171
- font-family: ${Mt};
171
+ font-family: ${Pt};
172
172
  font-size: ${Ft};
173
173
  font-weight: ${Ht};
174
174
  letter-spacing: ${Zt};
@@ -179,8 +179,8 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
179
179
  .ft-typography--breadcrumb {
180
180
  font-family: ${Gt};
181
181
  font-size: ${qt};
182
- font-weight: ${Yt};
183
- letter-spacing: ${Vt};
182
+ font-weight: ${Vt};
183
+ letter-spacing: ${Yt};
184
184
  line-height: ${Xt};
185
185
  text-transform: ${Jt};
186
186
  }
@@ -318,7 +318,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
318
318
  `,Ti=e.css`
319
319
  `,Bi=i.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,i)=>{t.baseUrl=i.payload},setApiIntegrationIdentifier:(t,i)=>{t.apiIntegrationIdentifier=i.payload},setUiLocale:(t,i)=>{t.uiLocale=i.payload},setAvailableUiLocales:(t,i)=>{t.availableUiLocales=i.payload},setEditorMode:(t,i)=>{t.editorMode=i.payload},setNoCustom:(t,i)=>{t.noCustom=i.payload},setNoCustomComponent:(t,i)=>{t.noCustomComponent=i.payload},setSession:(t,i)=>{t.session=i.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ii{static build(t){const{baseUrl:i,apiIntegrationIdentifier:e}=Bi.getState(),o=null!=t?t:e;if(i&&o&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,o,!0)}static get(t){var i;return null!=t?Ii.build(t):null!==(i=Ii.API)&&void 0!==i?i:Ii.API=Ii.build()}static await(t){return new Promise((i=>{let e=Ii.get(t);if(e)i(e);else{const o=Bi.subscribe((()=>{e=Ii.get(t),e&&(o(),i(e))}))}}))}}var Ri;const zi=Symbol("clearAfterUnitTest");class Ui{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Ri]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=Bi.getState().uiLocale,Bi.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Bi.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};i.deepEqual(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var n,r,s;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new i.ParametrizedLabelResolver(null!==(s=this.defaultMessages[t])&&void 0!==s?s:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,i){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(i),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(i)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>i.delay(0).then((()=>t())).catch((()=>null)))))}}Ri=zi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ui((async(t,i)=>(await Ii.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ui((async(t,i)=>(await Ii.await()).getCustomMessageContext(t,i))));const Ni=window.FluidTopicsI18nService,ji=window.FluidTopicsCustomI18nService;var _i=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Li extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ii.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return e.html`
320
320
  <slot></slot>
321
- `}updated(t){super.updated(t),t.has("baseUrl")&&Bi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Bi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Bi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Bi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Bi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Bi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Bi.actions.setSession(this.session),t.has("availableUiLocales")&&Bi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ni.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Li.elementDefinitions={},Li.styles=Ti,_i([o.property()],Li.prototype,"baseUrl",void 0),_i([o.property()],Li.prototype,"apiIntegrationIdentifier",void 0),_i([o.property()],Li.prototype,"uiLocale",void 0),_i([i.jsonProperty([])],Li.prototype,"availableUiLocales",void 0),_i([o.property({type:Boolean})],Li.prototype,"editorMode",void 0),_i([o.property({type:Boolean})],Li.prototype,"noCustom",void 0),_i([o.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Li.prototype,"noCustomComponent",void 0),_i([o.property({type:Boolean})],Li.prototype,"withManualResources",void 0),_i([i.jsonProperty([])],Li.prototype,"messageContexts",void 0),_i([i.jsonProperty(void 0)],Li.prototype,"session",void 0),_i([o.property({type:Object})],Li.prototype,"apiProvider",void 0),i.customElement("ft-app-context")(Li);class Di extends Event{constructor(){super(Di.eventName)}}Di.eventName="search-context-clear-all-filters";var Pi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Mi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Fi=Symbol("registerInterval");class Hi extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Fi]):this.dispatchEvent(new Mi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=Fi,Pi([o.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}var Zi,Ki;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Zi||(Zi={})),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;"}(Ki||(Ki={})),new Map([...["abw"].map((t=>[t,Ki.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,Ki.AUDIO])),...["avi"].map((t=>[t,Ki.AVI])),...["chm","xhs"].map((t=>[t,Ki.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,Ki.CODE])),...["csv"].map((t=>[t,Ki.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ki.DITA])),...["epub"].map((t=>[t,Ki.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ki.EXCEL])),...["flac"].map((t=>[t,Ki.FLAC])),...["gif"].map((t=>[t,Ki.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ki.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ki.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ki.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ki.JPEG])),...["json"].map((t=>[t,Ki.JSON])),...["m4a","m4p"].map((t=>[t,Ki.M4A])),...["mov","qt"].map((t=>[t,Ki.MOV])),...["mp3"].map((t=>[t,Ki.MP3])),...["mp4","m4v"].map((t=>[t,Ki.MP4])),...["ogg","oga"].map((t=>[t,Ki.OGG])),...["pdf","ps"].map((t=>[t,Ki.PDF])),...["png"].map((t=>[t,Ki.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ki.POWERPOINT])),...["rar"].map((t=>[t,Ki.RAR])),...["stp"].map((t=>[t,Ki.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ki.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,Ki.VIDEO])),...["wav"].map((t=>[t,Ki.WAV])),...["wma"].map((t=>[t,Ki.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ki.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ki.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ki.YAML])),...["zip"].map((t=>[t,Ki.ZIP]))]);const Wi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Gi=e.css`
321
+ `}updated(t){super.updated(t),t.has("baseUrl")&&Bi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Bi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Bi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Bi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Bi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Bi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Bi.actions.setSession(this.session),t.has("availableUiLocales")&&Bi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ni.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Li.elementDefinitions={},Li.styles=Ti,_i([o.property()],Li.prototype,"baseUrl",void 0),_i([o.property()],Li.prototype,"apiIntegrationIdentifier",void 0),_i([o.property()],Li.prototype,"uiLocale",void 0),_i([i.jsonProperty([])],Li.prototype,"availableUiLocales",void 0),_i([o.property({type:Boolean})],Li.prototype,"editorMode",void 0),_i([o.property({type:Boolean})],Li.prototype,"noCustom",void 0),_i([o.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Li.prototype,"noCustomComponent",void 0),_i([o.property({type:Boolean})],Li.prototype,"withManualResources",void 0),_i([i.jsonProperty([])],Li.prototype,"messageContexts",void 0),_i([i.jsonProperty(void 0)],Li.prototype,"session",void 0),_i([o.property({type:Object})],Li.prototype,"apiProvider",void 0),i.customElement("ft-app-context")(Li);class Di extends Event{constructor(){super(Di.eventName)}}Di.eventName="search-context-clear-all-filters";var Mi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Pi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Fi=Symbol("registerInterval");class Hi extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Fi]):this.dispatchEvent(new Pi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=Fi,Mi([o.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}var Zi,Ki;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Zi||(Zi={})),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;"}(Ki||(Ki={})),new Map([...["abw"].map((t=>[t,Ki.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,Ki.AUDIO])),...["avi"].map((t=>[t,Ki.AVI])),...["chm","xhs"].map((t=>[t,Ki.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,Ki.CODE])),...["csv"].map((t=>[t,Ki.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ki.DITA])),...["epub"].map((t=>[t,Ki.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ki.EXCEL])),...["flac"].map((t=>[t,Ki.FLAC])),...["gif"].map((t=>[t,Ki.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ki.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ki.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ki.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ki.JPEG])),...["json"].map((t=>[t,Ki.JSON])),...["m4a","m4p"].map((t=>[t,Ki.M4A])),...["mov","qt"].map((t=>[t,Ki.MOV])),...["mp3"].map((t=>[t,Ki.MP3])),...["mp4","m4v"].map((t=>[t,Ki.MP4])),...["ogg","oga"].map((t=>[t,Ki.OGG])),...["pdf","ps"].map((t=>[t,Ki.PDF])),...["png"].map((t=>[t,Ki.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ki.POWERPOINT])),...["rar"].map((t=>[t,Ki.RAR])),...["stp"].map((t=>[t,Ki.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ki.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,Ki.VIDEO])),...["wav"].map((t=>[t,Ki.WAV])),...["wma"].map((t=>[t,Ki.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ki.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ki.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ki.YAML])),...["zip"].map((t=>[t,Ki.ZIP]))]);const Wi={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Gi=e.css`
322
322
  :host, i.ft-icon {
323
323
  display: inline-flex;
324
324
  align-items: center;
@@ -366,15 +366,14 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
366
366
  .ft-icon--material {
367
367
  font-family: ${Wi.materialFontFamily}, "Material Icons", sans-serif;
368
368
  }
369
- `;var qi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qi||(qi={}));var Yi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Vi extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(qi).includes(this.variant)?this.variant:qi.fluid_topics,i=t!==qi.material||!!this.value;return e.html`
369
+ `;var qi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qi||(qi={}));var Vi=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Yi extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(qi).includes(this.variant)?this.variant:qi.fluid_topics,i=t!==qi.material||!!this.value;return e.html`
370
370
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
371
371
  ${r.unsafeHTML(this.resolvedIcon)}
372
372
  <slot ?hidden=${i}></slot>
373
373
  </i>
374
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case qi.file_format:this.resolvedIcon=null!==(t=Ki[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case qi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Zi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Vi.elementDefinitions={},Vi.styles=Gi,Yi([o.property()],Vi.prototype,"variant",void 0),Yi([o.property()],Vi.prototype,"value",void 0),Yi([o.state()],Vi.prototype,"resolvedIcon",void 0),Yi([o.query("slot")],Vi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Vi);const Xi=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ji=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Qi=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),te=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),ie=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),ee=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),oe=e.css`
374
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case qi.file_format:this.resolvedIcon=null!==(t=Ki[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case qi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Zi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Yi.elementDefinitions={},Yi.styles=Gi,Vi([o.property()],Yi.prototype,"variant",void 0),Vi([o.property()],Yi.prototype,"value",void 0),Vi([o.state()],Yi.prototype,"resolvedIcon",void 0),Vi([o.query("slot")],Yi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Yi);const Xi=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Ji=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Qi=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),te=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","1"),ie=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),ee=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),oe=e.css`
375
375
  .ft-tooltip--container {
376
376
  display: block;
377
- position: relative;
378
377
  }
379
378
 
380
379
  .ft-tooltip--inline {
@@ -398,8 +397,6 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
398
397
  border-radius: ${ie};
399
398
  background-color: ${Qi};
400
399
  color: ${Ji};
401
- top: -500px;
402
- left: -500px;
403
400
  position: relative;
404
401
  word-break: break-word;
405
402
  }
@@ -421,7 +418,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
421
418
  </div>
422
419
  </div>
423
420
  </div>
424
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2;let n=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,n=o;break;case"bottom":r=i.height,n=o;break;case"left":r=e,n=-this.tooltip.clientWidth;break;case"right":r=e,n=i.width}i.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-i.left),i.left+n<0&&(n=4-i.left);const s=this.tooltip.style;s.left=n+"px",s.top=r+"px",s.maxWidth=`max(${i.width}px, ${ee})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}re.elementDefinitions={"ft-typography":bi},re.styles=oe,ne([o.property()],re.prototype,"text",void 0),ne([o.property({type:Boolean})],re.prototype,"manual",void 0),ne([o.property({type:Boolean})],re.prototype,"inline",void 0),ne([o.property({type:Number})],re.prototype,"delay",void 0),ne([o.property()],re.prototype,"position",void 0),ne([o.queryAssignedNodes("",!0)],re.prototype,"slotNodes",void 0),ne([o.query(".ft-tooltip--container")],re.prototype,"container",void 0),ne([o.query("slot")],re.prototype,"target",void 0),ne([o.query(".ft-tooltip")],re.prototype,"tooltip",void 0),ne([o.query(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),ne([o.state()],re.prototype,"visible",void 0),i.customElement("ft-tooltip")(re);const se={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},ae=e.css`
421
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let r=0,s=0;switch(this.validPosition){case"top":s=t.offsetTop-e,r=t.offsetLeft+n;break;case"bottom":s=t.offsetTop+t.offsetHeight,r=t.offsetLeft+n;break;case"left":s=t.offsetTop+o,r=t.offsetLeft-i;break;case"right":s=t.offsetTop+o,r=t.offsetLeft+t.offsetWidth}const a=this.tooltip.style;a.left=this.limitValueBetween(r,0,window.innerWidth-i)+"px",a.top=this.limitValueBetween(s,0,window.innerHeight-e)+"px",a.maxWidth=`max(${t.offsetWidth}px, ${ee})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}limitValueBetween(t,i,e){return Math.max(i,Math.min(t,e))}}re.elementDefinitions={"ft-typography":bi},re.styles=oe,ne([o.property()],re.prototype,"text",void 0),ne([o.property({type:Boolean})],re.prototype,"manual",void 0),ne([o.property({type:Boolean})],re.prototype,"inline",void 0),ne([o.property({type:Number})],re.prototype,"delay",void 0),ne([o.property()],re.prototype,"position",void 0),ne([o.queryAssignedNodes("",!0)],re.prototype,"slotNodes",void 0),ne([o.query(".ft-tooltip--container")],re.prototype,"container",void 0),ne([o.query(".ft-tooltip")],re.prototype,"tooltip",void 0),ne([o.query(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),ne([o.state()],re.prototype,"visible",void 0),i.customElement("ft-tooltip")(re);const se={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},ae=e.css`
425
422
  :host {
426
423
  line-height: 0;
427
424
  }
@@ -657,12 +654,12 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
657
654
  </ft-tooltip>
658
655
  `:t}resolveIcon(){return this.loading?e.html`
659
656
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
660
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xe.elementDefinitions={"ft-ripple":b,"ft-tooltip":re,"ft-typography":bi,"ft-icon":Vi,"ft-loader":le},xe.styles=[i.safariEllipsisFix,ye],be([o.property({type:String,reflect:!0})],xe.prototype,"role",void 0),be([o.property({type:Boolean})],xe.prototype,"primary",void 0),be([o.property({type:Boolean})],xe.prototype,"outlined",void 0),be([o.property({type:Boolean})],xe.prototype,"disabled",void 0),be([o.property({type:Boolean})],xe.prototype,"dense",void 0),be([o.property({type:Boolean})],xe.prototype,"round",void 0),be([o.property()],xe.prototype,"label",void 0),be([o.property()],xe.prototype,"icon",void 0),be([o.property()],xe.prototype,"iconVariant",void 0),be([o.property({type:Boolean})],xe.prototype,"trailingIcon",void 0),be([o.property({type:Boolean})],xe.prototype,"loading",void 0),be([o.property()],xe.prototype,"tooltipPosition",void 0),be([o.property({type:Boolean})],xe.prototype,"hideTooltip",void 0),be([o.property({type:Boolean})],xe.prototype,"forceTooltip",void 0),be([o.query(".ft-button")],xe.prototype,"button",void 0),be([o.query(".ft-button--label slot")],xe.prototype,"slottedContent",void 0),i.customElement("ft-button")(xe);const me=e.css`
657
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xe.elementDefinitions={"ft-ripple":b,"ft-tooltip":re,"ft-typography":bi,"ft-icon":Yi,"ft-loader":le},xe.styles=[i.safariEllipsisFix,ye],be([o.property({type:String,reflect:!0})],xe.prototype,"role",void 0),be([o.property({type:Boolean})],xe.prototype,"primary",void 0),be([o.property({type:Boolean})],xe.prototype,"outlined",void 0),be([o.property({type:Boolean})],xe.prototype,"disabled",void 0),be([o.property({type:Boolean})],xe.prototype,"dense",void 0),be([o.property({type:Boolean})],xe.prototype,"round",void 0),be([o.property()],xe.prototype,"label",void 0),be([o.property()],xe.prototype,"icon",void 0),be([o.property()],xe.prototype,"iconVariant",void 0),be([o.property({type:Boolean})],xe.prototype,"trailingIcon",void 0),be([o.property({type:Boolean})],xe.prototype,"loading",void 0),be([o.property()],xe.prototype,"tooltipPosition",void 0),be([o.property({type:Boolean})],xe.prototype,"hideTooltip",void 0),be([o.property({type:Boolean})],xe.prototype,"forceTooltip",void 0),be([o.query(".ft-button")],xe.prototype,"button",void 0),be([o.query(".ft-button--label slot")],xe.prototype,"slottedContent",void 0),i.customElement("ft-button")(xe);const me=e.css`
661
658
  `;var $e=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const we=Symbol("i18nProperties"),Se=Symbol("i18nUnsubs");function ke(t){var i;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[i]=new Map}get i18nService(){return this.useCustomMessageContexts?ji:Ni}i18n(t,i,...e){var o;if("string"==typeof t)return this.i18nService.resolveMessage(t,i,...e);const n=null!==(o=t.args)&&void 0!==o?o:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var i;null===(i=this[we])||void 0===i||i.forEach(((i,e)=>{i.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(i))})),setTimeout((()=>this.requestUpdate()),0)}updated(t){var i;super.updated(t),null===(i=this[we])||void 0===i||i.forEach(((t,i)=>{null!=t.argsProvider&&(this[i]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[we]&&new Set([...this[we].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,i){t=t.toLowerCase(),this[Se].has(t)||this[Se].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=i?i:{})}addI18nContext(t,i){this.addI18nMessages(t.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[Se].forEach((t=>t())),this[Se].clear()}}return i=Se,$e([o.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Ee extends(ke(i.FtLitElement)){}class Oe extends(ke(i.FtLitElementRedux)){}var Ce=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Ae extends Oe{constructor(){super(),this.editorMode=!1,this.addStore(Bi)}render(){return this.key&&this.context?e.html`
662
659
  <span class="ft-i18n">
663
660
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
664
661
  </span>
665
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ae.elementDefinitions={},Ae.styles=me,Ce([i.redux()],Ae.prototype,"editorMode",void 0),Ce([o.property()],Ae.prototype,"context",void 0),Ce([o.property()],Ae.prototype,"key",void 0),Ce([i.jsonProperty([])],Ae.prototype,"args",void 0),Ce([o.property()],Ae.prototype,"defaultMessage",void 0);class Te{static build(t){return new Te(t)}static fromGwt(t){return new Te(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const e=i;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,i)=>(...t)=>Ni.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(Ae);const Be=Te.build("savedSearchesComponent"),Ie={displaySavedSearchesHere:"Display saved searches here.",missingRole:"Saved search unavailable: missing role {0}.",keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search"},Re=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),ze={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:Re,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",Pt.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",Re),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Ue=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Ne={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Ue,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",Ue)},je=i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),_e=i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Le=[i.noTextSelect,e.css`
662
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ae.elementDefinitions={},Ae.styles=me,Ce([i.redux()],Ae.prototype,"editorMode",void 0),Ce([o.property()],Ae.prototype,"context",void 0),Ce([o.property()],Ae.prototype,"key",void 0),Ce([i.jsonProperty([])],Ae.prototype,"args",void 0),Ce([o.property()],Ae.prototype,"defaultMessage",void 0);class Te{static build(t){return new Te(t)}static fromGwt(t){return new Te(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const e=i;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,i)=>(...t)=>Ni.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(Ae);const Be=Te.build("savedSearchesComponent"),Ie={displaySavedSearchesHere:"Display saved searches here.",missingRole:"Saved search unavailable: missing role {0}.",keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search"},Re=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),ze={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:Re,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",Mt.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",Re),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Ue=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Ne={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Ue,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",Ue)},je=i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),_e=i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Le=[i.noTextSelect,e.css`
666
663
  :host {
667
664
  display: inline-block;
668
665
  max-width: 100%;
@@ -762,8 +759,8 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
762
759
  vertical-align: bottom;
763
760
  display: block;
764
761
  margin: 0 var(--ft-chip-internal-horizontal-padding);
765
- ${i.setVariable(Pt.fontSize,"var(--ft-chip-internal-font-size)")};
766
- ${i.setVariable(Pt.lineHeight,"var(--ft-chip-internal-content-height)")};
762
+ ${i.setVariable(Mt.fontSize,"var(--ft-chip-internal-font-size)")};
763
+ ${i.setVariable(Mt.lineHeight,"var(--ft-chip-internal-content-height)")};
767
764
  }
768
765
 
769
766
  .ft-chip--safari-fix .ft-chip--label {
@@ -799,7 +796,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
799
796
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
800
797
  order: -1;
801
798
  }
802
- `];var De=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Pe extends CustomEvent{constructor(){super("icon-click")}}class Me extends i.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":i.isSafari};return e.html`
799
+ `];var De=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Me extends CustomEvent{constructor(){super("icon-click")}}class Pe extends i.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":i.isSafari};return e.html`
803
800
  <div class="${n.classMap(t)}"
804
801
  aria-label="${this.getLabel()}"
805
802
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -822,7 +819,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
822
819
  <div class="ft-chip--icon-container ft-no-text-select">
823
820
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
824
821
  </div>
825
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Pe))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Pe))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Me.elementDefinitions={"ft-ripple":b,"ft-typography":bi,"ft-icon":Vi,"ft-button":xe},Me.styles=Le,De([o.property({type:Boolean})],Me.prototype,"highlighted",void 0),De([o.property({type:Boolean})],Me.prototype,"removable",void 0),De([o.property({type:Boolean})],Me.prototype,"disabled",void 0),De([o.property({type:Boolean})],Me.prototype,"clickable",void 0),De([o.property({type:Boolean})],Me.prototype,"iconClickable",void 0),De([o.property({type:Boolean})],Me.prototype,"dense",void 0),De([o.property({type:Boolean})],Me.prototype,"multiLine",void 0),De([o.property()],Me.prototype,"label",void 0),De([o.property()],Me.prototype,"iconLabel",void 0),De([o.property()],Me.prototype,"icon",void 0),De([o.property()],Me.prototype,"iconVariant",void 0),De([o.property({type:Boolean})],Me.prototype,"trailingIcon",void 0),De([o.query("ft-typography slot")],Me.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Me);var Fe,He,Ze,Ke,We,Ge,qe,Ye,Ve,Xe=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Je extends(ke(Hi)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.selected=!1,this.addI18nContext(Be,Ie)}render(){var t;return e.html`
822
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Me))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Me))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Pe.elementDefinitions={"ft-ripple":b,"ft-typography":bi,"ft-icon":Yi,"ft-button":xe},Pe.styles=Le,De([o.property({type:Boolean})],Pe.prototype,"highlighted",void 0),De([o.property({type:Boolean})],Pe.prototype,"removable",void 0),De([o.property({type:Boolean})],Pe.prototype,"disabled",void 0),De([o.property({type:Boolean})],Pe.prototype,"clickable",void 0),De([o.property({type:Boolean})],Pe.prototype,"iconClickable",void 0),De([o.property({type:Boolean})],Pe.prototype,"dense",void 0),De([o.property({type:Boolean})],Pe.prototype,"multiLine",void 0),De([o.property()],Pe.prototype,"label",void 0),De([o.property()],Pe.prototype,"iconLabel",void 0),De([o.property()],Pe.prototype,"icon",void 0),De([o.property()],Pe.prototype,"iconVariant",void 0),De([o.property({type:Boolean})],Pe.prototype,"trailingIcon",void 0),De([o.query("ft-typography slot")],Pe.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Pe);var Fe,He,Ze,Ke,We,Ge,qe,Ve,Ye,Xe=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class Je extends(ke(Hi)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.selected=!1,this.addI18nContext(Be,Ie)}render(){var t;return e.html`
826
823
  <ft-card title="${null===(t=this.search)||void 0===t?void 0:t.title}" clickable ?selected="${this.selected}">
827
824
  ${this.renderAlertStatus()}
828
825
  <div id="container">
@@ -837,7 +834,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
837
834
  ${null!==(a=null===(s=null===(r=this.search)||void 0===r?void 0:r.searchRequest.contentLocale)||void 0===s?void 0:s.length)&&void 0!==a&&a?this.renderMetadata(Be.messages.language(),null===(l=this.search)||void 0===l?void 0:l.searchRequest.contentLocale,!0):e.nothing}
838
835
  ${null!==(p=null===(c=null===(h=this.search)||void 0===h?void 0:h.searchRequest.sort[0])||void 0===c?void 0:c.key.length)&&void 0!==p&&p?this.renderMetadata(Be.messages.sort(),this.mapSortKey(null===(d=this.search)||void 0===d?void 0:d.searchRequest.sort[0].key),!0):e.nothing}
839
836
  ${(null===(f=this.search)||void 0===f?void 0:f.searchRequest.periodFilter)?this.renderMetadata(Be.messages.period(),this.mapPeriodFilter(null===(u=this.search)||void 0===u?void 0:u.searchRequest.periodFilter),!0):e.nothing}
840
- </div>`:e.nothing}renderMetadata(t,i,o=!1){return e.html`<ft-chip dense ?highlighted=${o}><span class="metadata-label">${t}</span><span class="metadata-values">${Array.isArray(i)?i.join(", "):i}</span></ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return Be.messages.relevance();case"ft:lastEdition":return Be.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return Be.messages.lastWeek();case"LAST_MONTH":return Be.messages.lastMonth();case"LAST_YEAR":return Be.messages.lastYear();case"CUSTOM":return Be.messages.customPeriod();default:return"--"}}}Je.elementDefinitions={"ft-icon":Vi,"ft-card":Oi,"ft-chip":Me,"ft-button":xe},Je.styles=e.css`
837
+ </div>`:e.nothing}renderMetadata(t,i,o=!1){return e.html`<ft-chip dense ?highlighted=${o}><span class="metadata-label">${t}</span><span class="metadata-values">${Array.isArray(i)?i.join(", "):i}</span></ft-chip>`}mapSortKey(t){switch(t){case"afs:relevance":return Be.messages.relevance();case"ft:lastEdition":return Be.messages.lastUpdate();default:return t}}mapPeriodFilter(t){switch(t.periodType){case"LAST_WEEK":return Be.messages.lastWeek();case"LAST_MONTH":return Be.messages.lastMonth();case"LAST_YEAR":return Be.messages.lastYear();case"CUSTOM":return Be.messages.customPeriod();default:return"--"}}}Je.elementDefinitions={"ft-icon":Yi,"ft-card":Oi,"ft-chip":Pe,"ft-button":xe},Je.styles=e.css`
841
838
  ft-card {
842
839
  ${i.setVariable(xi.outlineStyle,Ci.inactiveSearchBorderStyle)};
843
840
  ${i.setVariable(xi.outlineWidth,Ci.inactiveSearchBorderWidth)};
@@ -890,7 +887,7 @@ const it=Symbol.for(""),et=t=>{if((null==t?void 0:t.r)===it)return null==t?void
890
887
  #alertStatus {
891
888
  color: ${Ci.color};
892
889
  }
893
- `,Xe([o.property()],Je.prototype,"search",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showDescription",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showSearchFilters",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showSearchButton",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showAlertStatus",void 0),Xe([o.property({type:Boolean})],Je.prototype,"selected",void 0),function(t){!function(i){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var i={next:function(){var i=t.shift();return{done:void 0===i,value:i}}};return e.iterable&&(i[Symbol.iterator]=function(){return i}),i}function l(t){this.map={},t instanceof l?t.forEach((function(t,i){this.append(i,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(i){this.append(i,t[i])}),this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise((function(i,e){t.onload=function(){i(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var i=new FileReader,e=c(i);return i.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var i=new Uint8Array(t.byteLength);return i.set(new Uint8Array(t)),i.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(t){var i;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,i,e,o=h(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,i=new FileReader,e=c(i),i.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var i=new Uint8Array(t),e=new Array(i.length),o=0;o<i.length;o++)e[o]=String.fromCharCode(i[o]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,i){t=r(t),i=s(i);var e=this.map[t];this.map[t]=e?e+", "+i:i},l.prototype.delete=function(t){delete this.map[r(t)]},l.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},l.prototype.set=function(t,i){this.map[r(t)]=s(i)},l.prototype.forEach=function(t,i){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(i,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(i,e){t.push(e)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(i){t.push(i)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(i,e){t.push([e,i])})),a(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(t,i){var e,o,n=(i=i||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,i.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=i.credentials||this.credentials||"same-origin",!i.headers&&this.headers||(this.headers=new l(i.headers)),this.method=(e=i.method||this.method||"GET",o=e.toUpperCase(),u.indexOf(o)>-1?o:e),this.mode=i.mode||this.mode||null,this.signal=i.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),o=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(o),decodeURIComponent(n))}})),i}function y(t,i){i||(i={}),this.type="default",this.status=void 0===i.status?200:i.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in i?i.statusText:"OK",this.headers=new l(i.headers),this.url=i.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},f.call(v.prototype),f.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var b=[301,302,303,307,308];y.redirect=function(t,i){if(-1===b.indexOf(i))throw new RangeError("Invalid status code");return new y(null,{status:i,headers:{location:t}})},i.DOMException=t.DOMException;try{new i.DOMException}catch(t){i.DOMException=function(t,i){this.message=t,this.name=i;var e=Error(t);this.stack=e.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function x(t,o){return new Promise((function(n,r){var s=new v(t,o);if(s.signal&&s.signal.aborted)return r(new i.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function h(){a.abort()}a.onload=function(){var t,i,e={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",i=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),o=e.shift().trim();if(o){var n=e.join(":").trim();i.append(o,n)}})),i)};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new y(o,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new i.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),s.headers.forEach((function(t,i){a.setRequestHeader(i,t)})),s.signal&&(s.signal.addEventListener("abort",h),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",h)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=l,t.Request=v,t.Response=y),i.Headers=l,i.Request=v,i.Response=y,i.fetch=x,Object.defineProperty(i,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Fe||(Fe={})),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"}(He||(He={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Ze||(Ze={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ke||(Ke={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(We||(We={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ge||(Ge={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(qe||(qe={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ye||(Ye={})),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.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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ve||(Ve={})),Ve.PERSONAL_BOOK_SHARE_USER,Ve.PERSONAL_BOOK_USER,Ve.HTML_EXPORT_USER,Ve.PERSONAL_BOOK_USER,Ve.PDF_EXPORT_USER,Ve.PERSONAL_BOOK_USER,Ve.KHUB_ADMIN,Ve.CONTENT_PUBLISHER,Ve.ADMIN,Ve.KHUB_ADMIN,Ve.USERS_ADMIN,Ve.PORTAL_ADMIN,Ve.DEVELOPER,Ve.BETA_USER,Ve.DEBUG_USER;class Qe{async listMySearches(){var t;return(null===(t=Bi.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ii.await()).listMySearches(Bi.getState().session.profile.userId):[]}}const to=i.FtReduxStore.get({name:"ft-user-assets",reducers:{setSavedSearches:(t,i)=>{t.savedSearches=i.payload}},initialState:{savedSearches:void 0}});const io=new class{clear(){this.clearMySearches()}clearMySearches(){to.actions.setSavedSearches(void 0)}async reloadMySearches(){const t=new Qe,i=await t.listMySearches();to.actions.setSavedSearches(i)}};var eo=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class oo extends(ke(Hi)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.editorMode=!1,this.requiredRole=Ve.SAVED_SEARCH_USER,this.addStore(Bi),this.addStore(to),this.addI18nContext(Be,Ie)}render(){var t;return this.editorMode&&!this.userHasRights?e.html`
890
+ `,Xe([o.property()],Je.prototype,"search",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showDescription",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showSearchFilters",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showSearchButton",void 0),Xe([o.property({type:Boolean})],Je.prototype,"showAlertStatus",void 0),Xe([o.property({type:Boolean})],Je.prototype,"selected",void 0),function(t){!function(i){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var i={next:function(){var i=t.shift();return{done:void 0===i,value:i}}};return e.iterable&&(i[Symbol.iterator]=function(){return i}),i}function l(t){this.map={},t instanceof l?t.forEach((function(t,i){this.append(i,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(i){this.append(i,t[i])}),this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise((function(i,e){t.onload=function(){i(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var i=new FileReader,e=c(i);return i.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var i=new Uint8Array(t.byteLength);return i.set(new Uint8Array(t)),i.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(t){var i;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,i,e,o=h(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,i=new FileReader,e=c(i),i.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var i=new Uint8Array(t),e=new Array(i.length),o=0;o<i.length;o++)e[o]=String.fromCharCode(i[o]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,i){t=r(t),i=s(i);var e=this.map[t];this.map[t]=e?e+", "+i:i},l.prototype.delete=function(t){delete this.map[r(t)]},l.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},l.prototype.set=function(t,i){this.map[r(t)]=s(i)},l.prototype.forEach=function(t,i){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(i,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(i,e){t.push(e)})),a(t)},l.prototype.values=function(){var t=[];return this.forEach((function(i){t.push(i)})),a(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(i,e){t.push([e,i])})),a(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(t,i){var e,o,n=(i=i||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,i.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=i.credentials||this.credentials||"same-origin",!i.headers&&this.headers||(this.headers=new l(i.headers)),this.method=(e=i.method||this.method||"GET",o=e.toUpperCase(),u.indexOf(o)>-1?o:e),this.mode=i.mode||this.mode||null,this.signal=i.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),o=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(o),decodeURIComponent(n))}})),i}function y(t,i){i||(i={}),this.type="default",this.status=void 0===i.status?200:i.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in i?i.statusText:"OK",this.headers=new l(i.headers),this.url=i.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},f.call(v.prototype),f.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var b=[301,302,303,307,308];y.redirect=function(t,i){if(-1===b.indexOf(i))throw new RangeError("Invalid status code");return new y(null,{status:i,headers:{location:t}})},i.DOMException=t.DOMException;try{new i.DOMException}catch(t){i.DOMException=function(t,i){this.message=t,this.name=i;var e=Error(t);this.stack=e.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function x(t,o){return new Promise((function(n,r){var s=new v(t,o);if(s.signal&&s.signal.aborted)return r(new i.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function h(){a.abort()}a.onload=function(){var t,i,e={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",i=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),o=e.shift().trim();if(o){var n=e.join(":").trim();i.append(o,n)}})),i)};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new y(o,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new i.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),s.headers.forEach((function(t,i){a.setRequestHeader(i,t)})),s.signal&&(s.signal.addEventListener("abort",h),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",h)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=l,t.Request=v,t.Response=y),i.Headers=l,i.Request=v,i.Response=y,i.fetch=x,Object.defineProperty(i,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Fe||(Fe={})),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"}(He||(He={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Ze||(Ze={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ke||(Ke={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(We||(We={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ge||(Ge={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(qe||(qe={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ve||(Ve={})),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.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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ye||(Ye={})),Ye.PERSONAL_BOOK_SHARE_USER,Ye.PERSONAL_BOOK_USER,Ye.HTML_EXPORT_USER,Ye.PERSONAL_BOOK_USER,Ye.PDF_EXPORT_USER,Ye.PERSONAL_BOOK_USER,Ye.KHUB_ADMIN,Ye.CONTENT_PUBLISHER,Ye.ADMIN,Ye.KHUB_ADMIN,Ye.USERS_ADMIN,Ye.PORTAL_ADMIN,Ye.DEVELOPER,Ye.BETA_USER,Ye.DEBUG_USER;class Qe{async listMySearches(){var t;return(null===(t=Bi.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ii.await()).listMySearches(Bi.getState().session.profile.userId):[]}}const to=i.FtReduxStore.get({name:"ft-user-assets",reducers:{setSavedSearches:(t,i)=>{t.savedSearches=i.payload}},initialState:{savedSearches:void 0}});const io=new class{clear(){this.clearMySearches()}clearMySearches(){to.actions.setSavedSearches(void 0)}async reloadMySearches(){const t=new Qe,i=await t.listMySearches();to.actions.setSavedSearches(i)}};var eo=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};class oo extends(ke(Hi)){constructor(){super(),this.showDescription=!1,this.showSearchFilters=!1,this.showSearchButton=!1,this.showAlertStatus=!1,this.editorMode=!1,this.requiredRole=Ye.SAVED_SEARCH_USER,this.addStore(Bi),this.addStore(to),this.addI18nContext(Be,Ie)}render(){var t;return this.editorMode&&!this.userHasRights?e.html`
894
891
  <ft-typography>${Be.messages.missingRole(this.requiredRole)}</ft-typography>`:this.editorMode&&this.isEmpty?e.html`
895
892
  <ft-typography>${Be.messages.displaySavedSearchesHere()}</ft-typography>`:this.userHasRights&&!this.isEmpty?e.html`
896
893
  <div id="container">
@@ -55,7 +55,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var T;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==j||j({ReactiveElement:U}),(null!==(O=E.reactiveElementVersions)&&void 0!==O?O:E.reactiveElementVersions=[]).push("1.6.1");const M=window,P=M.trustedTypes,B=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,I="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,L="?"+F,_=`<${L}>`,D=document,z=()=>D.createComment(""),K=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,H=t=>W(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Z="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,G=/>/g,X=RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,Y=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),et=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),nt=new WeakMap,rt=D.createTreeWalker(D,129,null,!1),ot=(t,e)=>{const i=t.length-1,n=[];let r,o=2===e?"<svg>":"",s=q;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,u=0;for(;u<i.length&&(s.lastIndex=u,l=s.exec(i),null!==l);)u=s.lastIndex,s===q?"!--"===l[1]?s=V:void 0!==l[1]?s=G:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=X):void 0!==l[3]&&(s=X):s===X?">"===l[0]?(s=null!=r?r:q,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?X:'"'===l[3]?Y:J):s===Y||s===J?s=X:s===V||s===G?s=q:(s=X,r=void 0);const h=s===X&&t[e+1].startsWith("/>")?" ":"";o+=s===q?i+_:c>=0?(n.push(a),i.slice(0,c)+I+i.slice(c)+F+h):i+F+(-2===c?(n.push(void 0),e):h)}const a=o+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==B?B.createHTML(a):a,n]};class st{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,o=0;const s=t.length-1,a=this.parts,[l,c]=ot(t,e);if(this.el=st.createElement(l,i),rt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=rt.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith(I)||e.startsWith(F)){const i=c[o++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+I).split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?ht:"?"===e[1]?dt:"@"===e[1]?pt:ut})}else a.push({type:6,index:r})}for(const e of t)n.removeAttribute(e)}if(Q.test(n.tagName)){const t=n.textContent.split(F),e=t.length-1;if(e>0){n.textContent=P?P.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],z()),rt.nextNode(),a.push({type:2,index:++r});n.append(t[e],z())}}}else if(8===n.nodeType)if(n.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=n.data.indexOf(F,t+1));)a.push({type:7,index:r}),t+=F.length-1}r++}}static createElement(t,e){const i=D.createElement("template");return i.innerHTML=t,i}}function at(t,e,i=t,n){var r,o,s,a;if(e===et)return e;let l=void 0!==n?null===(r=i._$Co)||void 0===r?void 0:r[n]:i._$Cl;const c=K(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(o=null==l?void 0:l._$AO)||void 0===o||o.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,n)),void 0!==n?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[n]=l:i._$Cl=l),void 0!==l&&(e=at(t,l._$AS(t,e.values),l,n)),e}let lt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:D).importNode(i,!0);rt.currentNode=r;let o=rt.nextNode(),s=0,a=0,l=n[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new ct(o,o.nextSibling,this,t):1===l.type?e=new l.ctor(o,l.name,l.strings,this,t):6===l.type&&(e=new vt(o,this,t)),this._$AV.push(e),l=n[++a]}s!==(null==l?void 0:l.index)&&(o=rt.nextNode(),s++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ct=class t{constructor(t,e,i,n){var r;this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cp=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),K(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&K(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,r="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=st.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new lt(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new st(t)),e}T(e){W(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,r=0;for(const o of e)r===i.length?i.push(n=new t(this.k(z()),this.k(z()),this,this.options)):n=i[r],n._$AI(o),r++;r<i.length&&(this._$AR(n&&n._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,i,n,r){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=it}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const r=this.strings;let o=!1;if(void 0===r)t=at(this,t,e,0),o=!K(t)||t!==this._$AH&&t!==et,o&&(this._$AH=t);else{const n=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=at(this,n[i+s],e,s),a===et&&(a=this._$AH[s]),o||(o=!K(a)||a!==this._$AH[s]),a===it?t=it:t!==it&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!n&&this.j(t)}j(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ht=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===it?void 0:t}};const ft=P?P.emptyScript:"";let dt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==it?this.element.setAttribute(this.name,ft):this.element.removeAttribute(this.name)}},pt=class extends ut{constructor(t,e,i,n,r){super(t,e,i,n,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=at(this,t,e,0))&&void 0!==i?i:it)===et)return;const n=this._$AH,r=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==it&&(n===it||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},vt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const bt={O:I,P:F,A:L,C:1,M:ot,L:lt,D:H,R:at,I:ct,V:ut,H:dt,N:pt,U:ht,F:vt},yt=M.litHtmlPolyfillSupport;null==yt||yt(st,ct),(null!==(T=M.litHtmlVersions)&&void 0!==T?T:M.litHtmlVersions=[]).push("2.7.3");
58
+ var M;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==j||j({ReactiveElement:U}),(null!==(O=E.reactiveElementVersions)&&void 0!==O?O:E.reactiveElementVersions=[]).push("1.6.1");const T=window,P=T.trustedTypes,B=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,I="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,L="?"+F,_=`<${L}>`,D=document,z=()=>D.createComment(""),K=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,H=t=>W(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Z="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,G=/>/g,X=RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,Y=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),et=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),nt=new WeakMap,rt=D.createTreeWalker(D,129,null,!1),ot=(t,e)=>{const i=t.length-1,n=[];let r,o=2===e?"<svg>":"",s=q;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,u=0;for(;u<i.length&&(s.lastIndex=u,l=s.exec(i),null!==l);)u=s.lastIndex,s===q?"!--"===l[1]?s=V:void 0!==l[1]?s=G:void 0!==l[2]?(Q.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=X):void 0!==l[3]&&(s=X):s===X?">"===l[0]?(s=null!=r?r:q,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?X:'"'===l[3]?Y:J):s===Y||s===J?s=X:s===V||s===G?s=q:(s=X,r=void 0);const h=s===X&&t[e+1].startsWith("/>")?" ":"";o+=s===q?i+_:c>=0?(n.push(a),i.slice(0,c)+I+i.slice(c)+F+h):i+F+(-2===c?(n.push(void 0),e):h)}const a=o+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==B?B.createHTML(a):a,n]};class st{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,o=0;const s=t.length-1,a=this.parts,[l,c]=ot(t,e);if(this.el=st.createElement(l,i),rt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=rt.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith(I)||e.startsWith(F)){const i=c[o++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+I).split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?ht:"?"===e[1]?dt:"@"===e[1]?pt:ut})}else a.push({type:6,index:r})}for(const e of t)n.removeAttribute(e)}if(Q.test(n.tagName)){const t=n.textContent.split(F),e=t.length-1;if(e>0){n.textContent=P?P.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],z()),rt.nextNode(),a.push({type:2,index:++r});n.append(t[e],z())}}}else if(8===n.nodeType)if(n.data===L)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=n.data.indexOf(F,t+1));)a.push({type:7,index:r}),t+=F.length-1}r++}}static createElement(t,e){const i=D.createElement("template");return i.innerHTML=t,i}}function at(t,e,i=t,n){var r,o,s,a;if(e===et)return e;let l=void 0!==n?null===(r=i._$Co)||void 0===r?void 0:r[n]:i._$Cl;const c=K(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(o=null==l?void 0:l._$AO)||void 0===o||o.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,i,n)),void 0!==n?(null!==(s=(a=i)._$Co)&&void 0!==s?s:a._$Co=[])[n]=l:i._$Cl=l),void 0!==l&&(e=at(t,l._$AS(t,e.values),l,n)),e}let lt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:n}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:D).importNode(i,!0);rt.currentNode=r;let o=rt.nextNode(),s=0,a=0,l=n[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new ct(o,o.nextSibling,this,t):1===l.type?e=new l.ctor(o,l.name,l.strings,this,t):6===l.type&&(e=new vt(o,this,t)),this._$AV.push(e),l=n[++a]}s!==(null==l?void 0:l.index)&&(o=rt.nextNode(),s++)}return r}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},ct=class t{constructor(t,e,i,n){var r;this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cp=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),K(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&K(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:n}=t,r="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=st.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(i);else{const t=new lt(r,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new st(t)),e}T(e){W(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,r=0;for(const o of e)r===i.length?i.push(n=new t(this.k(z()),this.k(z()),this,this.options)):n=i[r],n._$AI(o),r++;r<i.length&&(this._$AR(n&&n._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,i,n,r){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=it}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const r=this.strings;let o=!1;if(void 0===r)t=at(this,t,e,0),o=!K(t)||t!==this._$AH&&t!==et,o&&(this._$AH=t);else{const n=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=at(this,n[i+s],e,s),a===et&&(a=this._$AH[s]),o||(o=!K(a)||a!==this._$AH[s]),a===it?t=it:t!==it&&(t+=(null!=a?a:"")+r[s+1]),this._$AH[s]=a}o&&!n&&this.j(t)}j(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ht=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===it?void 0:t}};const ft=P?P.emptyScript:"";let dt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==it?this.element.setAttribute(this.name,ft):this.element.removeAttribute(this.name)}},pt=class extends ut{constructor(t,e,i,n,r){super(t,e,i,n,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=at(this,t,e,0))&&void 0!==i?i:it)===et)return;const n=this._$AH,r=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,o=t!==it&&(n===it||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}},vt=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const bt={O:I,P:F,A:L,C:1,M:ot,L:lt,D:H,R:at,I:ct,V:ut,H:dt,N:pt,U:ht,F:vt},yt=T.litHtmlPolyfillSupport;null==yt||yt(st,ct),(null!==(M=T.litHtmlVersions)&&void 0!==M?M:T.litHtmlVersions=[]).push("2.7.3");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -82,7 +82,7 @@ var gt,mt;let xt=class extends U{constructor(){super(...arguments),this.renderOp
82
82
  -webkit-hyphens: auto;
83
83
  hyphens: auto
84
84
  }
85
- `;const Tt=w`
85
+ `;const Mt=w`
86
86
  .ft-safari-ellipsis-fix {
87
87
  margin-right: 0;
88
88
 
@@ -93,7 +93,7 @@ var gt,mt;let xt=class extends U{constructor(){super(...arguments),this.renderOp
93
93
  display: inline-block;
94
94
  width: 0;
95
95
  }
96
- `;class Mt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let r=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Pt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Bt,It,Ft;const Lt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores");class zt extends Nt{constructor(){super(...arguments),this[Bt]=new Map,this[It]=new Map,this[Ft]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Dt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Pt(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Dt].delete(e)}setupStore(t,e){this[Dt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[_t].set(t,e.subscribe((()=>this.updateFromStores()))),Pt(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[Lt].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Lt].forEach((t=>t())),this[Lt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Kt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Wt(t){return!!t&&!!t[Ae]}function Ht(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Ne}(t)||Array.isArray(t)||!!t[Re]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Re])||Jt(t)||Yt(t))}function Zt(t,e,i){void 0===i&&(i=!1),0===qt(t)?(i?Object.keys:Ue)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function qt(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Jt(t)?2:Yt(t)?3:0}function Vt(t,e){return 2===qt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gt(t,e,i){var n=qt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Xt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Jt(t){return Ee&&t instanceof Map}function Yt(t){return ke&&t instanceof Set}function Qt(t){return t.o||t.t}function te(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Te(t);delete e[Ae];for(var i=Ue(e),n=0;n<i.length;n++){var r=i[n],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function ee(t,e){return void 0===e&&(e=!1),ne(t)||Wt(t)||!Ht(t)||(qt(t)>1&&(t.set=t.add=t.clear=t.delete=ie),Object.freeze(t),e&&Zt(t,(function(t,e){return ee(e,!0)}),!0)),t}function ie(){Kt(2)}function ne(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var e=Me[t];return e||Kt(18,t),e}function oe(){return $e}function se(t,e){e&&(re("Patches"),t.u=[],t.s=[],t.v=e)}function ae(t){le(t),t.p.forEach(ue),t.p=null}function le(t){t===$e&&($e=t.l)}function ce(t){return $e={p:[],l:$e,h:t,m:!0,_:0}}function ue(t){var e=t[Ae];0===e.i||1===e.i?e.j():e.g=!0}function he(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||re("ES5").S(e,t,n),n?(i[Ae].P&&(ae(e),Kt(4)),Ht(t)&&(t=fe(e,t),e.l||pe(e,t)),e.u&&re("Patches").M(i[Ae].t,t,e.u,e.s)):t=fe(e,i,[]),ae(e),e.u&&e.v(e.u,e.s),t!==je?t:void 0}function fe(t,e,i){if(ne(e))return e;var n=e[Ae];if(!n)return Zt(e,(function(r,o){return de(t,n,e,r,o,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return pe(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=te(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),Zt(o,(function(e,o){return de(t,n,r,e,o,i,s)})),pe(t,r,!1),i&&t.u&&re("Patches").N(n,i,t.u,t.s)}return n.o}function de(t,e,i,n,r,o,s){if(Wt(r)){var a=fe(t,r,o&&e&&3!==e.i&&!Vt(e.R,n)?o.concat(n):void 0);if(Gt(i,n,a),!Wt(a))return;t.m=!1}else s&&i.add(r);if(Ht(r)&&!ne(r)){if(!t.h.D&&t._<1)return;fe(t,r),e&&e.A.l||pe(t,r)}}function pe(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&ee(e,i)}function ve(t,e){var i=t[Ae];return(i?Qt(i):t)[e]}function be(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ye(t){t.P||(t.P=!0,t.l&&ye(t.l))}function ge(t){t.o||(t.o=te(t.t))}function me(t,e,i){var n=Jt(e)?re("MapSet").F(e,i):Yt(e)?re("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:oe(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=n,o=Pe;i&&(r=[n],o=Be);var s=Proxy.revocable(r,o),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):re("ES5").J(e,i);return(i?i.A:oe()).p.push(n),n}function xe(t){return Wt(t)||Kt(22,t),function t(e){if(!Ht(e))return e;var i,n=e[Ae],r=qt(e);if(n){if(!n.P&&(n.i<4||!re("ES5").K(n)))return n.t;n.I=!0,i=we(e,r),n.I=!1}else i=we(e,r);return Zt(i,(function(e,r){n&&function(t,e){return 2===qt(t)?t.get(e):t[e]}(n.t,e)===r||Gt(i,e,t(r))})),3===r?new Set(i):i}(t)}function we(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return te(t)}Bt=_t,It=Dt,Ft=Lt;var Se,$e,Oe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ee="undefined"!=typeof Map,ke="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,je=Oe?Symbol.for("immer-nothing"):((Se={})["immer-nothing"]=!0,Se),Re=Oe?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=Oe?Symbol.for("immer-state"):"__$immer_state",Ne=""+Object.prototype.constructor,Ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Te=Object.getOwnPropertyDescriptors||function(t){var e={};return Ue(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Me={},Pe={get:function(t,e){if(e===Ae)return t;var i=Qt(t);if(!Vt(i,e))return function(t,e,i){var n,r=be(e,i);return r?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Ht(n)?n:n===ve(t.t,e)?(ge(t),t.o[e]=me(t.A.h,n,t)):n},has:function(t,e){return e in Qt(t)},ownKeys:function(t){return Reflect.ownKeys(Qt(t))},set:function(t,e,i){var n=be(Qt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var r=ve(Qt(t),e),o=null==r?void 0:r[Ae];if(o&&o.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Xt(i,r)&&(void 0!==i||Vt(t.t,e)))return!0;ge(t),ye(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ve(t.t,e)||e in t.t?(t.R[e]=!1,ge(t),ye(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Qt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Kt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Kt(12)}},Be={};Zt(Pe,(function(t,e){Be[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Be.deleteProperty=function(t,e){return Be.set.call(this,t,e,void 0)},Be.set=function(t,e,i){return Pe.set.call(this,t[0],e,i,t[0])};var Ie=function(){function t(t){var e=this;this.O=Ce,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Kt(6),void 0!==n&&"function"!=typeof n&&Kt(7),Ht(t)){var a=ce(e),l=me(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ae(a):le(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return se(a,n),he(t,a)}),(function(t){throw ae(a),t})):(se(a,n),he(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===je&&(s=void 0),e.D&&ee(s,!0),n){var u=[],h=[];re("Patches").M(t,s,u,h),n(u,h)}return s}Kt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var n,r,o=e.produce(t,i,(function(t,e){n=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,n,r]})):[o,n,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ht(t)||Kt(8),Wt(t)&&(t=xe(t));var e=ce(this),i=me(this,t,void 0);return i[Ae].C=!0,le(e),i},e.finishDraft=function(t,e){var i=(t&&t[Ae]).A;return se(i,e),he(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ce&&Kt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var r=re("Patches").$;return Wt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Fe=new Ie,Le=Fe.produce;function _e(t){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(t)}function De(t){var e=function(t,e){if("object"!==_e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==_e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===_e(e)?e:String(e)}function ze(t,e,i){return(e=De(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ke(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function We(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(i),!0).forEach((function(e){ze(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ke(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}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. "}Fe.produceWithPatches.bind(Fe),Fe.setAutoFreeze.bind(Fe),Fe.setUseProxies.bind(Fe),Fe.applyPatches.bind(Fe),Fe.createDraft.bind(Fe),Fe.finishDraft.bind(Fe);var Ze="function"==typeof Symbol&&Symbol.observable||"@@observable",qe=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ve={INIT:"@@redux/INIT"+qe(),REPLACE:"@@redux/REPLACE"+qe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qe()}};function Ge(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(He(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(He(1));return i(Ge)(t,e)}if("function"!=typeof t)throw new Error(He(2));var r=t,o=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(He(3));return o}function h(t){if("function"!=typeof t)throw new Error(He(4));if(l)throw new Error(He(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(He(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(He(7));if(void 0===t.type)throw new Error(He(8));if(l)throw new Error(He(9));try{l=!0,o=r(o,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:Ve.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(He(10));r=t,f({type:Ve.REPLACE})}})[Ze]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(He(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Ze]=function(){return this},t},n}function Xe(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(i[r]=t[r])}var o,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Ve.INIT}))throw new Error(He(12));if(void 0===i(void 0,{type:Ve.PROBE_UNKNOWN_ACTION()}))throw new Error(He(13))}))}(i)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(He(14));r[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?r:t}}function Je(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ye(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(He(15))},r={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return n=Je.apply(void 0,o)(i.dispatch),We(We({},i),{},{dispatch:n})}}}function Qe(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,n,t):e(r)}}}}var ti=Qe();ti.withExtraArgument=Qe;var ei,ii=ti,ni=(ei=function(t,e){return ei=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},ei(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}ei(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ri=function(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},oi=function(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t},si=Object.defineProperty,ai=Object.defineProperties,li=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,fi=function(t,e,i){return e in t?si(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},di=function(t,e){for(var i in e||(e={}))ui.call(e,i)&&fi(t,i,e[i]);if(ci)for(var n=0,r=ci(e);n<r.length;n++){i=r[n];hi.call(e,i)&&fi(t,i,e[i])}return t},pi=function(t,e){return ai(t,li(e))},vi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Je:Je.apply(null,arguments)};var bi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,oi([void 0],t[0].concat(this)))):new(e.bind.apply(e,oi([void 0],t.concat(this))))},e}(Array),yi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,oi([void 0],t[0].concat(this)))):new(e.bind.apply(e,oi([void 0],t.concat(this))))},e}(Array);function gi(t){return Ht(t)?Le(t,(function(){})):t}function mi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new bi;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(ii.withExtraArgument(i.extraArgument)):n.push(ii));return n}(t)}}function xi(t){var e,i=mi(),n=t||{},r=n.reducer,o=void 0===r?void 0:r,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Xe(o)}var p=a;"function"==typeof p&&(p=p(i));var v=Ye.apply(void 0,p),b=Je;c&&(b=vi(di({trace:!1},"object"==typeof c&&c)));var y=new yi(v),g=y;return Array.isArray(d)?g=oi([v],d):"function"==typeof d&&(g=d(y)),Ge(e,h,b.apply(void 0,g))}function wi(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return di(di({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function Si(t){var e,i={},n=[],r={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,r},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,n,e]}function $i(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:gi(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Si(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,o=e[1],s=void 0===o?[]:o,l=e[2],c=void 0===l?void 0:l,u=di(di({},r),a);return function(t,e,i,n){void 0===i&&(i=[]);var r,o="function"==typeof e?Si(e):[e,i,n],s=o[0],a=o[1],l=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return gi(t())};else{var c=gi(t);r=function(){return c}}function u(t,e){void 0===t&&(t=r());var i=oi([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(Wt(t))return void 0===(n=i(t,e))?t:n;if(Ht(t))return Le(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=r,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var r=n[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return o.forEach((function(t){var i,n,o=r[t],c=e+"/"+t;"reducer"in o?(i=o.reducer,n=o.prepare):i=o,s[t]=i,a[c]=i,l[t]=n?wi(c,n):wi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var Oi=["name","message","stack","code"],Ei=function(t,e){this.payload=t,this.meta=e},ki=function(t,e){this.payload=t,this.meta=e},Ci=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=Oi;i<n.length;i++){var r=n[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function ji(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=wi(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:pi(di({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=wi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:pi(di({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=wi(t+"/rejected",(function(t,e,n,r,o){return{payload:r,error:(i&&i.serializeError||Ci)(t||"Rejected"),meta:pi(di({},o||{}),{arg:n,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function d(t){u=t,f.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return ri(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(r(h,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:d,rejectWithValue:function(t,e){return new Ei(t,e)},fulfillWithValue:function(t,e){return new ki(t,e)}})).then((function(e){if(e instanceof Ei)throw e;return e instanceof ki?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof Ei?o(null,h,t,g.payload,g.meta):o(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&o.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},n=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(ji)}})}}),{pending:r,rejected:o,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var Ri="listenerMiddleware";wi(Ri+"/add"),wi(Ri+"/removeAll"),wi(Ri+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Ae];return Pe.get(e,t)},set:function(e){var i=this[Ae];Pe.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Ae];if(!r.P)switch(r.i){case 5:n(r)&&ye(r);break;case 4:i(r)&&ye(r)}}}function i(t){for(var e=t.t,i=t.k,n=Ue(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==Ae){var s=e[o];if(void 0===s&&!Vt(e,o))return!0;var a=i[o],l=a&&a[Ae];if(l?l.t!==s:!Xt(a,s))return!0}}var c=!!e[Ae];return n.length!==Ue(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var r={};!function(t,e){Me[t]||(Me[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),r=function(e,i){if(e){for(var n=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(n,""+r,t(r,!0));return n}var o=Te(i);delete o[Ae];for(var s=Ue(o),a=0;a<s.length;a++){var l=s[a];o[l]=t(l,e||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(i),o)}(n,e),o={i:n?5:4,A:i?i.A:oe(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Ae,{value:o,writable:!0}),r},S:function(t,i,r){r?Wt(i)&&i[Ae].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Ae];if(i){var r=i.t,o=i.k,s=i.R,a=i.i;if(4===a)Zt(o,(function(e){e!==Ae&&(void 0!==r[e]||Vt(r,e)?s[e]||t(o[e]):(s[e]=!0,ye(i)))})),Zt(r,(function(t){void 0!==o[t]||Vt(o,t)||(s[t]=!1,ye(i))}));else if(5===a){if(n(i)&&(ye(i),s.length=!0),o.length<r.length)for(var l=o.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<o.length;c++)s[c]=!0;for(var u=Math.min(o.length,r.length),h=0;h<u;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(o[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ai{static get(t){var e;const i="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(Pt(r))return r;if(null==n)return;const o=$i({...n,reducers:null!==(e=n.reducers)&&void 0!==e?e:{}}),s=xi({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return o.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return o.reducer(t,e)}}});return window.ftReduxStores[n.name]=new Ai(o,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=e,r=t[n];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:{[n]:t}})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Ni=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const r={hasChanged:(t,e)=>!f(t,e),attribute:!1,...e};s(r)(t,i);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}};var Ui,Ti,Mi;const Pi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Mi=null===(Ti=null===(Ui=window.safari)||void 0===Ui?void 0:Ui.pushNotification)||void 0===Ti?void 0:Ti.toString())&&void 0!==Mi?Mi:""),Bi=1,Ii=2,Fi=t=>(...e)=>({_$litDirective$:t,values:e});
96
+ `;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let r=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Pt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Bt,It,Ft;const Lt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores");class zt extends Nt{constructor(){super(...arguments),this[Bt]=new Map,this[It]=new Map,this[Ft]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Dt].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Pt(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Dt].delete(e)}setupStore(t,e){this[Dt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[_t].set(t,e.subscribe((()=>this.updateFromStores()))),Pt(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[Lt].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Lt].forEach((t=>t())),this[Lt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Kt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Wt(t){return!!t&&!!t[Ae]}function Ht(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Ne}(t)||Array.isArray(t)||!!t[Re]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Re])||Jt(t)||Yt(t))}function Zt(t,e,i){void 0===i&&(i=!1),0===qt(t)?(i?Object.keys:Ue)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function qt(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Jt(t)?2:Yt(t)?3:0}function Vt(t,e){return 2===qt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gt(t,e,i){var n=qt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Xt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Jt(t){return Ee&&t instanceof Map}function Yt(t){return ke&&t instanceof Set}function Qt(t){return t.o||t.t}function te(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Me(t);delete e[Ae];for(var i=Ue(e),n=0;n<i.length;n++){var r=i[n],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function ee(t,e){return void 0===e&&(e=!1),ne(t)||Wt(t)||!Ht(t)||(qt(t)>1&&(t.set=t.add=t.clear=t.delete=ie),Object.freeze(t),e&&Zt(t,(function(t,e){return ee(e,!0)}),!0)),t}function ie(){Kt(2)}function ne(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var e=Te[t];return e||Kt(18,t),e}function oe(){return $e}function se(t,e){e&&(re("Patches"),t.u=[],t.s=[],t.v=e)}function ae(t){le(t),t.p.forEach(ue),t.p=null}function le(t){t===$e&&($e=t.l)}function ce(t){return $e={p:[],l:$e,h:t,m:!0,_:0}}function ue(t){var e=t[Ae];0===e.i||1===e.i?e.j():e.g=!0}function he(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||re("ES5").S(e,t,n),n?(i[Ae].P&&(ae(e),Kt(4)),Ht(t)&&(t=fe(e,t),e.l||pe(e,t)),e.u&&re("Patches").M(i[Ae].t,t,e.u,e.s)):t=fe(e,i,[]),ae(e),e.u&&e.v(e.u,e.s),t!==je?t:void 0}function fe(t,e,i){if(ne(e))return e;var n=e[Ae];if(!n)return Zt(e,(function(r,o){return de(t,n,e,r,o,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return pe(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=te(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),Zt(o,(function(e,o){return de(t,n,r,e,o,i,s)})),pe(t,r,!1),i&&t.u&&re("Patches").N(n,i,t.u,t.s)}return n.o}function de(t,e,i,n,r,o,s){if(Wt(r)){var a=fe(t,r,o&&e&&3!==e.i&&!Vt(e.R,n)?o.concat(n):void 0);if(Gt(i,n,a),!Wt(a))return;t.m=!1}else s&&i.add(r);if(Ht(r)&&!ne(r)){if(!t.h.D&&t._<1)return;fe(t,r),e&&e.A.l||pe(t,r)}}function pe(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&ee(e,i)}function ve(t,e){var i=t[Ae];return(i?Qt(i):t)[e]}function be(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ye(t){t.P||(t.P=!0,t.l&&ye(t.l))}function ge(t){t.o||(t.o=te(t.t))}function me(t,e,i){var n=Jt(e)?re("MapSet").F(e,i):Yt(e)?re("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:oe(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=n,o=Pe;i&&(r=[n],o=Be);var s=Proxy.revocable(r,o),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):re("ES5").J(e,i);return(i?i.A:oe()).p.push(n),n}function xe(t){return Wt(t)||Kt(22,t),function t(e){if(!Ht(e))return e;var i,n=e[Ae],r=qt(e);if(n){if(!n.P&&(n.i<4||!re("ES5").K(n)))return n.t;n.I=!0,i=we(e,r),n.I=!1}else i=we(e,r);return Zt(i,(function(e,r){n&&function(t,e){return 2===qt(t)?t.get(e):t[e]}(n.t,e)===r||Gt(i,e,t(r))})),3===r?new Set(i):i}(t)}function we(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return te(t)}Bt=_t,It=Dt,Ft=Lt;var Se,$e,Oe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ee="undefined"!=typeof Map,ke="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,je=Oe?Symbol.for("immer-nothing"):((Se={})["immer-nothing"]=!0,Se),Re=Oe?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=Oe?Symbol.for("immer-state"):"__$immer_state",Ne=""+Object.prototype.constructor,Ue="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Me=Object.getOwnPropertyDescriptors||function(t){var e={};return Ue(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Te={},Pe={get:function(t,e){if(e===Ae)return t;var i=Qt(t);if(!Vt(i,e))return function(t,e,i){var n,r=be(e,i);return r?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Ht(n)?n:n===ve(t.t,e)?(ge(t),t.o[e]=me(t.A.h,n,t)):n},has:function(t,e){return e in Qt(t)},ownKeys:function(t){return Reflect.ownKeys(Qt(t))},set:function(t,e,i){var n=be(Qt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var r=ve(Qt(t),e),o=null==r?void 0:r[Ae];if(o&&o.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Xt(i,r)&&(void 0!==i||Vt(t.t,e)))return!0;ge(t),ye(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ve(t.t,e)||e in t.t?(t.R[e]=!1,ge(t),ye(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Qt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Kt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Kt(12)}},Be={};Zt(Pe,(function(t,e){Be[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Be.deleteProperty=function(t,e){return Be.set.call(this,t,e,void 0)},Be.set=function(t,e,i){return Pe.set.call(this,t[0],e,i,t[0])};var Ie=function(){function t(t){var e=this;this.O=Ce,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Kt(6),void 0!==n&&"function"!=typeof n&&Kt(7),Ht(t)){var a=ce(e),l=me(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?ae(a):le(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return se(a,n),he(t,a)}),(function(t){throw ae(a),t})):(se(a,n),he(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===je&&(s=void 0),e.D&&ee(s,!0),n){var u=[],h=[];re("Patches").M(t,s,u,h),n(u,h)}return s}Kt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var n,r,o=e.produce(t,i,(function(t,e){n=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,n,r]})):[o,n,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ht(t)||Kt(8),Wt(t)&&(t=xe(t));var e=ce(this),i=me(this,t,void 0);return i[Ae].C=!0,le(e),i},e.finishDraft=function(t,e){var i=(t&&t[Ae]).A;return se(i,e),he(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ce&&Kt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var r=re("Patches").$;return Wt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Fe=new Ie,Le=Fe.produce;function _e(t){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(t)}function De(t){var e=function(t,e){if("object"!==_e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==_e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===_e(e)?e:String(e)}function ze(t,e,i){return(e=De(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ke(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function We(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Ke(Object(i),!0).forEach((function(e){ze(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Ke(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}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. "}Fe.produceWithPatches.bind(Fe),Fe.setAutoFreeze.bind(Fe),Fe.setUseProxies.bind(Fe),Fe.applyPatches.bind(Fe),Fe.createDraft.bind(Fe),Fe.finishDraft.bind(Fe);var Ze="function"==typeof Symbol&&Symbol.observable||"@@observable",qe=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ve={INIT:"@@redux/INIT"+qe(),REPLACE:"@@redux/REPLACE"+qe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qe()}};function Ge(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(He(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(He(1));return i(Ge)(t,e)}if("function"!=typeof t)throw new Error(He(2));var r=t,o=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(He(3));return o}function h(t){if("function"!=typeof t)throw new Error(He(4));if(l)throw new Error(He(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(He(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(He(7));if(void 0===t.type)throw new Error(He(8));if(l)throw new Error(He(9));try{l=!0,o=r(o,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:Ve.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(He(10));r=t,f({type:Ve.REPLACE})}})[Ze]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(He(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Ze]=function(){return this},t},n}function Xe(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(i[r]=t[r])}var o,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Ve.INIT}))throw new Error(He(12));if(void 0===i(void 0,{type:Ve.PROBE_UNKNOWN_ACTION()}))throw new Error(He(13))}))}(i)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,r={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(He(14));r[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?r:t}}function Je(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ye(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(He(15))},r={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return n=Je.apply(void 0,o)(i.dispatch),We(We({},i),{},{dispatch:n})}}}function Qe(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,n,t):e(r)}}}}var ti=Qe();ti.withExtraArgument=Qe;var ei,ii=ti,ni=(ei=function(t,e){return ei=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},ei(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}ei(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),ri=function(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},oi=function(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t},si=Object.defineProperty,ai=Object.defineProperties,li=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,fi=function(t,e,i){return e in t?si(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},di=function(t,e){for(var i in e||(e={}))ui.call(e,i)&&fi(t,i,e[i]);if(ci)for(var n=0,r=ci(e);n<r.length;n++){i=r[n];hi.call(e,i)&&fi(t,i,e[i])}return t},pi=function(t,e){return ai(t,li(e))},vi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Je:Je.apply(null,arguments)};var bi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,oi([void 0],t[0].concat(this)))):new(e.bind.apply(e,oi([void 0],t.concat(this))))},e}(Array),yi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return ni(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,oi([void 0],t[0].concat(this)))):new(e.bind.apply(e,oi([void 0],t.concat(this))))},e}(Array);function gi(t){return Ht(t)?Le(t,(function(){})):t}function mi(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new bi;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(ii.withExtraArgument(i.extraArgument)):n.push(ii));return n}(t)}}function xi(t){var e,i=mi(),n=t||{},r=n.reducer,o=void 0===r?void 0:r,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,d=void 0===f?void 0:f;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Xe(o)}var p=a;"function"==typeof p&&(p=p(i));var v=Ye.apply(void 0,p),b=Je;c&&(b=vi(di({trace:!1},"object"==typeof c&&c)));var y=new yi(v),g=y;return Array.isArray(d)?g=oi([v],d):"function"==typeof d&&(g=d(y)),Ge(e,h,b.apply(void 0,g))}function wi(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return di(di({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function Si(t){var e,i={},n=[],r={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,r},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,n,e]}function $i(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:gi(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?Si(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,o=e[1],s=void 0===o?[]:o,l=e[2],c=void 0===l?void 0:l,u=di(di({},r),a);return function(t,e,i,n){void 0===i&&(i=[]);var r,o="function"==typeof e?Si(e):[e,i,n],s=o[0],a=o[1],l=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return gi(t())};else{var c=gi(t);r=function(){return c}}function u(t,e){void 0===t&&(t=r());var i=oi([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(Wt(t))return void 0===(n=i(t,e))?t:n;if(Ht(t))return Le(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=r,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var r=n[i];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return o.forEach((function(t){var i,n,o=r[t],c=e+"/"+t;"reducer"in o?(i=o.reducer,n=o.prepare):i=o,s[t]=i,a[c]=i,l[t]=n?wi(c,n):wi(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var Oi=["name","message","stack","code"],Ei=function(t,e){this.payload=t,this.meta=e},ki=function(t,e){this.payload=t,this.meta=e},Ci=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=Oi;i<n.length;i++){var r=n[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function ji(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=wi(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:pi(di({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=wi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:pi(di({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=wi(t+"/rejected",(function(t,e,n,r,o){return{payload:r,error:(i&&i.serializeError||Ci)(t||"Rejected"),meta:pi(di({},o||{}),{arg:n,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function d(t){u=t,f.abort()}var p=function(){return s=this,p=null,v=function(){var s,p,v,b,y,g;return ri(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(r(h,t,null==(p=null==i?void 0:i.getPendingMeta)?void 0:p.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:d,rejectWithValue:function(t,e){return new Ei(t,e)},fulfillWithValue:function(t,e){return new ki(t,e)}})).then((function(e){if(e instanceof Ei)throw e;return e instanceof ki?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof Ei?o(null,h,t,g.payload,g.meta):o(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&o.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{r(v.next(t))}catch(t){e(t)}},n=function(t){try{r(v.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};r((v=v.apply(s,p)).next())}));var s,p,v}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(ji)}})}}),{pending:r,rejected:o,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var Ri="listenerMiddleware";wi(Ri+"/add"),wi(Ri+"/removeAll"),wi(Ri+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[Ae];return Pe.get(e,t)},set:function(e){var i=this[Ae];Pe.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Ae];if(!r.P)switch(r.i){case 5:n(r)&&ye(r);break;case 4:i(r)&&ye(r)}}}function i(t){for(var e=t.t,i=t.k,n=Ue(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==Ae){var s=e[o];if(void 0===s&&!Vt(e,o))return!0;var a=i[o],l=a&&a[Ae];if(l?l.t!==s:!Xt(a,s))return!0}}var c=!!e[Ae];return n.length!==Ue(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),r=function(e,i){if(e){for(var n=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(n,""+r,t(r,!0));return n}var o=Me(i);delete o[Ae];for(var s=Ue(o),a=0;a<s.length;a++){var l=s[a];o[l]=t(l,e||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(i),o)}(n,e),o={i:n?5:4,A:i?i.A:oe(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Ae,{value:o,writable:!0}),r},S:function(t,i,r){r?Wt(i)&&i[Ae].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[Ae];if(i){var r=i.t,o=i.k,s=i.R,a=i.i;if(4===a)Zt(o,(function(e){e!==Ae&&(void 0!==r[e]||Vt(r,e)?s[e]||t(o[e]):(s[e]=!0,ye(i)))})),Zt(r,(function(t){void 0!==o[t]||Vt(o,t)||(s[t]=!1,ye(i))}));else if(5===a){if(n(i)&&(ye(i),s.length=!0),o.length<r.length)for(var l=o.length;l<r.length;l++)s[l]=!1;else for(var c=r.length;c<o.length;c++)s[c]=!0;for(var u=Math.min(o.length,r.length),h=0;h<u;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(o[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ai{static get(t){var e;const i="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(Pt(r))return r;if(null==n)return;const o=$i({...n,reducers:null!==(e=n.reducers)&&void 0!==e?e:{}}),s=xi({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return o.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return o.reducer(t,e)}}});return window.ftReduxStores[n.name]=new Ai(o,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=e,r=t[n];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[n]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Ni=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const r={hasChanged:(t,e)=>!f(t,e),attribute:!1,...e};s(r)(t,i);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}};var Ui,Mi,Ti;const Pi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ti=null===(Mi=null===(Ui=window.safari)||void 0===Ui?void 0:Ui.pushNotification)||void 0===Mi?void 0:Mi.toString())&&void 0!==Ti?Ti:""),Bi=1,Ii=2,Fi=t=>(...e)=>({_$litDirective$:t,values:e});
97
97
  /**
98
98
  * @license
99
99
  * Copyright 2017 Google LLC
@@ -216,7 +216,7 @@ var gt,mt;let xt=class extends U{constructor(){super(...arguments),this.renderOp
216
216
  * Copyright 2020 Google LLC
217
217
  * SPDX-License-Identifier: BSD-3-Clause
218
218
  */
219
- const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void 0:t._$litStatic$},tn=t=>({_$litStatic$:t,r:Yi}),en=new Map,nn=(t=>(e,...i)=>{const n=i.length;let r,o;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=e[c];c<n&&void 0!==(o=i[c],r=Qi(o));)l+=r+e[++c],u=!0;c!==n&&a.push(o),s.push(l),c++}if(c===n&&s.push(e[n]),u){const t=s.join("$$lit$$");void 0===(e=en.get(t))&&(s.raw=s,en.set(t,e=s)),i=a}return t(e,...i)})(tt);var rn;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(rn||(rn={}));const on=St.extend("--ft-typography-font-family",Ot.titleFont),sn=St.extend("--ft-typography-font-family",Ot.contentFont),an={fontFamily:sn,fontSize:St.create("--ft-typography-font-size","SIZE","16px"),fontWeight:St.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:St.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:St.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:St.create("--ft-typography-text-transform","UNKNOWN","inherit")},ln=St.extend("--ft-typography-title-font-family",on),cn=St.extend("--ft-typography-title-font-size",an.fontSize,"20px"),un=St.extend("--ft-typography-title-font-weight",an.fontWeight,"normal"),hn=St.extend("--ft-typography-title-letter-spacing",an.letterSpacing,"0.15px"),fn=St.extend("--ft-typography-title-line-height",an.lineHeight,"1.2"),dn=St.extend("--ft-typography-title-text-transform",an.textTransform,"inherit"),pn=St.extend("--ft-typography-title-dense-font-family",on),vn=St.extend("--ft-typography-title-dense-font-size",an.fontSize,"14px"),bn=St.extend("--ft-typography-title-dense-font-weight",an.fontWeight,"normal"),yn=St.extend("--ft-typography-title-dense-letter-spacing",an.letterSpacing,"0.105px"),gn=St.extend("--ft-typography-title-dense-line-height",an.lineHeight,"1.7"),mn=St.extend("--ft-typography-title-dense-text-transform",an.textTransform,"inherit"),xn=St.extend("--ft-typography-subtitle1-font-family",sn),wn=St.extend("--ft-typography-subtitle1-font-size",an.fontSize,"16px"),Sn=St.extend("--ft-typography-subtitle1-font-weight",an.fontWeight,"600"),$n=St.extend("--ft-typography-subtitle1-letter-spacing",an.letterSpacing,"0.144px"),On=St.extend("--ft-typography-subtitle1-line-height",an.lineHeight,"1.5"),En=St.extend("--ft-typography-subtitle1-text-transform",an.textTransform,"inherit"),kn=St.extend("--ft-typography-subtitle2-font-family",sn),Cn=St.extend("--ft-typography-subtitle2-font-size",an.fontSize,"14px"),jn=St.extend("--ft-typography-subtitle2-font-weight",an.fontWeight,"normal"),Rn=St.extend("--ft-typography-subtitle2-letter-spacing",an.letterSpacing,"0.098px"),An=St.extend("--ft-typography-subtitle2-line-height",an.lineHeight,"1.7"),Nn=St.extend("--ft-typography-subtitle2-text-transform",an.textTransform,"inherit"),Un=St.extend("--ft-typography-body1-font-family",sn),Tn=St.extend("--ft-typography-body1-font-size",an.fontSize,"16px"),Mn=St.extend("--ft-typography-body1-font-weight",an.fontWeight,"normal"),Pn=St.extend("--ft-typography-body1-letter-spacing",an.letterSpacing,"0.496px"),Bn=St.extend("--ft-typography-body1-line-height",an.lineHeight,"1.5"),In=St.extend("--ft-typography-body1-text-transform",an.textTransform,"inherit"),Fn={fontFamily:St.extend("--ft-typography-body2-font-family",sn),fontSize:St.extend("--ft-typography-body2-font-size",an.fontSize,"14px"),fontWeight:St.extend("--ft-typography-body2-font-weight",an.fontWeight,"normal"),letterSpacing:St.extend("--ft-typography-body2-letter-spacing",an.letterSpacing,"0.252px"),lineHeight:St.extend("--ft-typography-body2-line-height",an.lineHeight,"1.4"),textTransform:St.extend("--ft-typography-body2-text-transform",an.textTransform,"inherit")},Ln=St.extend("--ft-typography-caption-font-family",sn),_n=St.extend("--ft-typography-caption-font-size",an.fontSize,"12px"),Dn=St.extend("--ft-typography-caption-font-weight",an.fontWeight,"normal"),zn=St.extend("--ft-typography-caption-letter-spacing",an.letterSpacing,"0.396px"),Kn=St.extend("--ft-typography-caption-line-height",an.lineHeight,"1.33"),Wn=St.extend("--ft-typography-caption-text-transform",an.textTransform,"inherit"),Hn=St.extend("--ft-typography-breadcrumb-font-family",sn),Zn=St.extend("--ft-typography-breadcrumb-font-size",an.fontSize,"10px"),qn=St.extend("--ft-typography-breadcrumb-font-weight",an.fontWeight,"normal"),Vn=St.extend("--ft-typography-breadcrumb-letter-spacing",an.letterSpacing,"0.33px"),Gn=St.extend("--ft-typography-breadcrumb-line-height",an.lineHeight,"1.6"),Xn=St.extend("--ft-typography-breadcrumb-text-transform",an.textTransform,"inherit"),Jn=St.extend("--ft-typography-overline-font-family",sn),Yn=St.extend("--ft-typography-overline-font-size",an.fontSize,"10px"),Qn=St.extend("--ft-typography-overline-font-weight",an.fontWeight,"normal"),tr=St.extend("--ft-typography-overline-letter-spacing",an.letterSpacing,"1.5px"),er=St.extend("--ft-typography-overline-line-height",an.lineHeight,"1.6"),ir=St.extend("--ft-typography-overline-text-transform",an.textTransform,"uppercase"),nr={fontFamily:St.extend("--ft-typography-button-font-family",sn),fontSize:St.extend("--ft-typography-button-font-size",an.fontSize,"14px"),fontWeight:St.extend("--ft-typography-button-font-weight",an.fontWeight,"600"),letterSpacing:St.extend("--ft-typography-button-letter-spacing",an.letterSpacing,"1.246px"),lineHeight:St.extend("--ft-typography-button-line-height",an.lineHeight,"1.15"),textTransform:St.extend("--ft-typography-button-text-transform",an.textTransform,"uppercase")},rr=w`
219
+ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void 0:t._$litStatic$},tn=t=>({_$litStatic$:t,r:Yi}),en=new Map,nn=(t=>(e,...i)=>{const n=i.length;let r,o;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=e[c];c<n&&void 0!==(o=i[c],r=Qi(o));)l+=r+e[++c],u=!0;c!==n&&a.push(o),s.push(l),c++}if(c===n&&s.push(e[n]),u){const t=s.join("$$lit$$");void 0===(e=en.get(t))&&(s.raw=s,en.set(t,e=s)),i=a}return t(e,...i)})(tt);var rn;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(rn||(rn={}));const on=St.extend("--ft-typography-font-family",Ot.titleFont),sn=St.extend("--ft-typography-font-family",Ot.contentFont),an={fontFamily:sn,fontSize:St.create("--ft-typography-font-size","SIZE","16px"),fontWeight:St.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:St.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:St.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:St.create("--ft-typography-text-transform","UNKNOWN","inherit")},ln=St.extend("--ft-typography-title-font-family",on),cn=St.extend("--ft-typography-title-font-size",an.fontSize,"20px"),un=St.extend("--ft-typography-title-font-weight",an.fontWeight,"normal"),hn=St.extend("--ft-typography-title-letter-spacing",an.letterSpacing,"0.15px"),fn=St.extend("--ft-typography-title-line-height",an.lineHeight,"1.2"),dn=St.extend("--ft-typography-title-text-transform",an.textTransform,"inherit"),pn=St.extend("--ft-typography-title-dense-font-family",on),vn=St.extend("--ft-typography-title-dense-font-size",an.fontSize,"14px"),bn=St.extend("--ft-typography-title-dense-font-weight",an.fontWeight,"normal"),yn=St.extend("--ft-typography-title-dense-letter-spacing",an.letterSpacing,"0.105px"),gn=St.extend("--ft-typography-title-dense-line-height",an.lineHeight,"1.7"),mn=St.extend("--ft-typography-title-dense-text-transform",an.textTransform,"inherit"),xn=St.extend("--ft-typography-subtitle1-font-family",sn),wn=St.extend("--ft-typography-subtitle1-font-size",an.fontSize,"16px"),Sn=St.extend("--ft-typography-subtitle1-font-weight",an.fontWeight,"600"),$n=St.extend("--ft-typography-subtitle1-letter-spacing",an.letterSpacing,"0.144px"),On=St.extend("--ft-typography-subtitle1-line-height",an.lineHeight,"1.5"),En=St.extend("--ft-typography-subtitle1-text-transform",an.textTransform,"inherit"),kn=St.extend("--ft-typography-subtitle2-font-family",sn),Cn=St.extend("--ft-typography-subtitle2-font-size",an.fontSize,"14px"),jn=St.extend("--ft-typography-subtitle2-font-weight",an.fontWeight,"normal"),Rn=St.extend("--ft-typography-subtitle2-letter-spacing",an.letterSpacing,"0.098px"),An=St.extend("--ft-typography-subtitle2-line-height",an.lineHeight,"1.7"),Nn=St.extend("--ft-typography-subtitle2-text-transform",an.textTransform,"inherit"),Un=St.extend("--ft-typography-body1-font-family",sn),Mn=St.extend("--ft-typography-body1-font-size",an.fontSize,"16px"),Tn=St.extend("--ft-typography-body1-font-weight",an.fontWeight,"normal"),Pn=St.extend("--ft-typography-body1-letter-spacing",an.letterSpacing,"0.496px"),Bn=St.extend("--ft-typography-body1-line-height",an.lineHeight,"1.5"),In=St.extend("--ft-typography-body1-text-transform",an.textTransform,"inherit"),Fn={fontFamily:St.extend("--ft-typography-body2-font-family",sn),fontSize:St.extend("--ft-typography-body2-font-size",an.fontSize,"14px"),fontWeight:St.extend("--ft-typography-body2-font-weight",an.fontWeight,"normal"),letterSpacing:St.extend("--ft-typography-body2-letter-spacing",an.letterSpacing,"0.252px"),lineHeight:St.extend("--ft-typography-body2-line-height",an.lineHeight,"1.4"),textTransform:St.extend("--ft-typography-body2-text-transform",an.textTransform,"inherit")},Ln=St.extend("--ft-typography-caption-font-family",sn),_n=St.extend("--ft-typography-caption-font-size",an.fontSize,"12px"),Dn=St.extend("--ft-typography-caption-font-weight",an.fontWeight,"normal"),zn=St.extend("--ft-typography-caption-letter-spacing",an.letterSpacing,"0.396px"),Kn=St.extend("--ft-typography-caption-line-height",an.lineHeight,"1.33"),Wn=St.extend("--ft-typography-caption-text-transform",an.textTransform,"inherit"),Hn=St.extend("--ft-typography-breadcrumb-font-family",sn),Zn=St.extend("--ft-typography-breadcrumb-font-size",an.fontSize,"10px"),qn=St.extend("--ft-typography-breadcrumb-font-weight",an.fontWeight,"normal"),Vn=St.extend("--ft-typography-breadcrumb-letter-spacing",an.letterSpacing,"0.33px"),Gn=St.extend("--ft-typography-breadcrumb-line-height",an.lineHeight,"1.6"),Xn=St.extend("--ft-typography-breadcrumb-text-transform",an.textTransform,"inherit"),Jn=St.extend("--ft-typography-overline-font-family",sn),Yn=St.extend("--ft-typography-overline-font-size",an.fontSize,"10px"),Qn=St.extend("--ft-typography-overline-font-weight",an.fontWeight,"normal"),tr=St.extend("--ft-typography-overline-letter-spacing",an.letterSpacing,"1.5px"),er=St.extend("--ft-typography-overline-line-height",an.lineHeight,"1.6"),ir=St.extend("--ft-typography-overline-text-transform",an.textTransform,"uppercase"),nr={fontFamily:St.extend("--ft-typography-button-font-family",sn),fontSize:St.extend("--ft-typography-button-font-size",an.fontSize,"14px"),fontWeight:St.extend("--ft-typography-button-font-weight",an.fontWeight,"600"),letterSpacing:St.extend("--ft-typography-button-letter-spacing",an.letterSpacing,"1.246px"),lineHeight:St.extend("--ft-typography-button-line-height",an.lineHeight,"1.15"),textTransform:St.extend("--ft-typography-button-text-transform",an.textTransform,"uppercase")},rr=w`
220
220
  .ft-typography--title {
221
221
  font-family: ${ln};
222
222
  font-size: ${cn};
@@ -256,8 +256,8 @@ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void
256
256
  `,lr=w`
257
257
  .ft-typography--body1 {
258
258
  font-family: ${Un};
259
- font-size: ${Tn};
260
- font-weight: ${Mn};
259
+ font-size: ${Mn};
260
+ font-weight: ${Tn};
261
261
  letter-spacing: ${Pn};
262
262
  line-height: ${Bn};
263
263
  text-transform: ${In};
@@ -421,9 +421,9 @@ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void
421
421
  ${$t(yr.colorOnSurfaceMedium,Er.color)};
422
422
  }
423
423
  `,Cr=w`
424
- `,jr=Ai.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=jr.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let i=Rr.get(t);if(i)e(i);else{const n=jr.subscribe((()=>{i=Rr.get(t),i&&(n(),e(i))}))}}))}}var Ar;const Nr=Symbol("clearAfterUnitTest");class Ur{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Ar]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=jr.getState().uiLocale,jr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=jr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};f(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,r,o;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new Mt(null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},s).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Ar=Nr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ur((async(t,e)=>(await Rr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ur((async(t,e)=>(await Rr.await()).getCustomMessageContext(t,e))));const Tr=window.FluidTopicsI18nService,Mr=window.FluidTopicsCustomI18nService;var Pr=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Br extends Nt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Rr.get(),this.cache=new n,this.cleanSessionDebouncer=new r}render(){return tt`
424
+ `,jr=Ai.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=jr.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let i=Rr.get(t);if(i)e(i);else{const n=jr.subscribe((()=>{i=Rr.get(t),i&&(n(),e(i))}))}}))}}var Ar;const Nr=Symbol("clearAfterUnitTest");class Ur{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Ar]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=jr.getState().uiLocale,jr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=jr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};f(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,r,o;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new Tt(null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},s).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Ar=Nr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ur((async(t,e)=>(await Rr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ur((async(t,e)=>(await Rr.await()).getCustomMessageContext(t,e))));const Mr=window.FluidTopicsI18nService,Tr=window.FluidTopicsCustomI18nService;var Pr=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Br extends Nt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Rr.get(),this.cache=new n,this.cleanSessionDebouncer=new r}render(){return tt`
425
425
  <slot></slot>
426
- `}updated(t){super.updated(t),t.has("baseUrl")&&jr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&jr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&jr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&jr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&jr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&jr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&jr.actions.setSession(this.session),t.has("availableUiLocales")&&jr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Tr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Br.elementDefinitions={},Br.styles=Cr,Pr([s()],Br.prototype,"baseUrl",void 0),Pr([s()],Br.prototype,"apiIntegrationIdentifier",void 0),Pr([s()],Br.prototype,"uiLocale",void 0),Pr([p([])],Br.prototype,"availableUiLocales",void 0),Pr([s({type:Boolean})],Br.prototype,"editorMode",void 0),Pr([s({type:Boolean})],Br.prototype,"noCustom",void 0),Pr([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),Pr([s({type:Boolean})],Br.prototype,"withManualResources",void 0),Pr([p([])],Br.prototype,"messageContexts",void 0),Pr([p(void 0)],Br.prototype,"session",void 0),Pr([s({type:Object})],Br.prototype,"apiProvider",void 0),d("ft-app-context")(Br);class Ir extends Event{constructor(){super(Ir.eventName)}}Ir.eventName="search-context-clear-all-filters";var Fr=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Lr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _r=Symbol("registerInterval");class Dr extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_r]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_r]):this.dispatchEvent(new Lr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_r,Fr([a()],i.prototype,"stateManager",void 0),i}(zt)){}
426
+ `}updated(t){super.updated(t),t.has("baseUrl")&&jr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&jr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&jr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&jr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&jr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&jr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&jr.actions.setSession(this.session),t.has("availableUiLocales")&&jr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Mr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Br.elementDefinitions={},Br.styles=Cr,Pr([s()],Br.prototype,"baseUrl",void 0),Pr([s()],Br.prototype,"apiIntegrationIdentifier",void 0),Pr([s()],Br.prototype,"uiLocale",void 0),Pr([p([])],Br.prototype,"availableUiLocales",void 0),Pr([s({type:Boolean})],Br.prototype,"editorMode",void 0),Pr([s({type:Boolean})],Br.prototype,"noCustom",void 0),Pr([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Br.prototype,"noCustomComponent",void 0),Pr([s({type:Boolean})],Br.prototype,"withManualResources",void 0),Pr([p([])],Br.prototype,"messageContexts",void 0),Pr([p(void 0)],Br.prototype,"session",void 0),Pr([s({type:Object})],Br.prototype,"apiProvider",void 0),d("ft-app-context")(Br);class Ir extends Event{constructor(){super(Ir.eventName)}}Ir.eventName="search-context-clear-all-filters";var Fr=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Lr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _r=Symbol("registerInterval");class Dr extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_r]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_r]):this.dispatchEvent(new Lr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_r,Fr([a()],i.prototype,"stateManager",void 0),i}(zt)){}
427
427
  /**
428
428
  * @license
429
429
  * Copyright 2017 Google LLC
@@ -484,7 +484,6 @@ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void
484
484
  `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Vr.file_format:this.resolvedIcon=null!==(t=Hr[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Vr.material:this.resolvedIcon=this.value||it;break;default:this.resolvedIcon=null!==(e=Wr[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Xr.elementDefinitions={},Xr.styles=qr,Gr([s()],Xr.prototype,"variant",void 0),Gr([s()],Xr.prototype,"value",void 0),Gr([a()],Xr.prototype,"resolvedIcon",void 0),Gr([c("slot")],Xr.prototype,"slottedContent",void 0),d("ft-icon")(Xr);const Jr=St.create("--ft-tooltip-distance","SIZE","4px"),Yr=St.create("--ft-tooltip-color","COLOR","#FFFFFF"),Qr=St.create("--ft-tooltip-background-color","COLOR","#666666"),to=St.create("--ft-tooltip-z-index","NUMBER","1"),eo=St.external(Ot.borderRadiusS,"Design system"),io=St.create("--ft-tooltip-max-width","SIZE","150px"),no=w`
485
485
  .ft-tooltip--container {
486
486
  display: block;
487
- position: relative;
488
487
  }
489
488
 
490
489
  .ft-tooltip--inline {
@@ -508,8 +507,6 @@ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void
508
507
  border-radius: ${eo};
509
508
  background-color: ${Qr};
510
509
  color: ${Yr};
511
- top: -500px;
512
- left: -500px;
513
510
  position: relative;
514
511
  word-break: break-word;
515
512
  }
@@ -531,13 +528,13 @@ const Yi=Symbol.for(""),Qi=t=>{if((null==t?void 0:t.r)===Yi)return null==t?void
531
528
  </div>
532
529
  </div>
533
530
  </div>
534
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,n=(e.width-this.tooltip.clientWidth)/2;let r=0,o=0;switch(this.validPosition){case"top":o=-this.tooltip.clientHeight,r=n;break;case"bottom":o=e.height,r=n;break;case"left":o=i,r=-this.tooltip.clientWidth;break;case"right":o=i,r=e.width}e.left+r+this.tooltip.clientWidth>window.innerWidth&&(r=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+r<0&&(r=4-e.left);const s=this.tooltip.style;s.left=r+"px",s.top=o+"px",s.maxWidth=`max(${e.width}px, ${io})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}oo.elementDefinitions={"ft-typography":br},oo.styles=no,ro([s()],oo.prototype,"text",void 0),ro([s({type:Boolean})],oo.prototype,"manual",void 0),ro([s({type:Boolean})],oo.prototype,"inline",void 0),ro([s({type:Number})],oo.prototype,"delay",void 0),ro([s()],oo.prototype,"position",void 0),ro([
531
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,n=(t.offsetHeight-i)/2,r=(t.offsetWidth-e)/2;let o=0,s=0;switch(this.validPosition){case"top":s=t.offsetTop-i,o=t.offsetLeft+r;break;case"bottom":s=t.offsetTop+t.offsetHeight,o=t.offsetLeft+r;break;case"left":s=t.offsetTop+n,o=t.offsetLeft-e;break;case"right":s=t.offsetTop+n,o=t.offsetLeft+t.offsetWidth}const a=this.tooltip.style;a.left=this.limitValueBetween(o,0,window.innerWidth-e)+"px",a.top=this.limitValueBetween(s,0,window.innerHeight-i)+"px",a.maxWidth=`max(${t.offsetWidth}px, ${io})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}limitValueBetween(t,e,i){return Math.max(e,Math.min(t,i))}}oo.elementDefinitions={"ft-typography":br},oo.styles=no,ro([s()],oo.prototype,"text",void 0),ro([s({type:Boolean})],oo.prototype,"manual",void 0),ro([s({type:Boolean})],oo.prototype,"inline",void 0),ro([s({type:Number})],oo.prototype,"delay",void 0),ro([s()],oo.prototype,"position",void 0),ro([
535
532
  /**
536
533
  * @license
537
534
  * Copyright 2017 Google LLC
538
535
  * SPDX-License-Identifier: BSD-3-Clause
539
536
  */
540
- function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return l({descriptor:n=>({get(){var n;const r="slot"+(e?`[name=${e}]`:":not([name])"),o=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(r),s=null!=o?h(o,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:r,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(r?`[name=${r}]`:":not([name])"),o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==o?void 0:o.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],oo.prototype,"slotNodes",void 0),ro([c(".ft-tooltip--container")],oo.prototype,"container",void 0),ro([c("slot")],oo.prototype,"target",void 0),ro([c(".ft-tooltip")],oo.prototype,"tooltip",void 0),ro([c(".ft-tooltip--content")],oo.prototype,"tooltipContent",void 0),ro([a()],oo.prototype,"visible",void 0),d("ft-tooltip")(oo);const so={color:St.extend("--ft-loader-color",Ot.colorPrimary),size:St.create("--ft-loader-size","SIZE","80px")},ao=w`
537
+ function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return l({descriptor:n=>({get(){var n;const r="slot"+(e?`[name=${e}]`:":not([name])"),o=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(r),s=null!=o?h(o,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:r,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(r?`[name=${r}]`:":not([name])"),o=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==o?void 0:o.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],oo.prototype,"slotNodes",void 0),ro([c(".ft-tooltip--container")],oo.prototype,"container",void 0),ro([c(".ft-tooltip")],oo.prototype,"tooltip",void 0),ro([c(".ft-tooltip--content")],oo.prototype,"tooltipContent",void 0),ro([a()],oo.prototype,"visible",void 0),d("ft-tooltip")(oo);const so={color:St.extend("--ft-loader-color",Ot.colorPrimary),size:St.create("--ft-loader-size","SIZE","80px")},ao=w`
541
538
  :host {
542
539
  line-height: 0;
543
540
  }
@@ -773,12 +770,12 @@ function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},
773
770
  </ft-tooltip>
774
771
  `:t}resolveIcon(){return this.loading?tt`
775
772
  <ft-loader part="loader icon"></ft-loader> `:this.icon?tt`
776
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:it}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xo.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":oo,"ft-typography":br,"ft-icon":Xr,"ft-loader":lo},xo.styles=[Tt,go],mo([s({type:String,reflect:!0})],xo.prototype,"role",void 0),mo([s({type:Boolean})],xo.prototype,"primary",void 0),mo([s({type:Boolean})],xo.prototype,"outlined",void 0),mo([s({type:Boolean})],xo.prototype,"disabled",void 0),mo([s({type:Boolean})],xo.prototype,"dense",void 0),mo([s({type:Boolean})],xo.prototype,"round",void 0),mo([s()],xo.prototype,"label",void 0),mo([s()],xo.prototype,"icon",void 0),mo([s()],xo.prototype,"iconVariant",void 0),mo([s({type:Boolean})],xo.prototype,"trailingIcon",void 0),mo([s({type:Boolean})],xo.prototype,"loading",void 0),mo([s()],xo.prototype,"tooltipPosition",void 0),mo([s({type:Boolean})],xo.prototype,"hideTooltip",void 0),mo([s({type:Boolean})],xo.prototype,"forceTooltip",void 0),mo([c(".ft-button")],xo.prototype,"button",void 0),mo([c(".ft-button--label slot")],xo.prototype,"slottedContent",void 0),d("ft-button")(xo);const wo=w`
777
- `;var So=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const $o=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function Eo(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Mr:Tr}i18n(t,e,...i){var n;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const r=null!==(n=t.args)&&void 0!==n?n:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[$o])||void 0===e||e.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updated(t){var e;super.updated(t),null===(e=this[$o])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[$o]&&new Set([...this[$o].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Oo].has(t)||this[Oo].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach((t=>t())),this[Oo].clear()}}return e=Oo,So([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class ko extends(Eo(Nt)){}class Co extends(Eo(zt)){}var jo=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Ro extends Co{constructor(){super(),this.editorMode=!1,this.addStore(jr)}render(){return this.key&&this.context?tt`
773
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:it}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xo.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":oo,"ft-typography":br,"ft-icon":Xr,"ft-loader":lo},xo.styles=[Mt,go],mo([s({type:String,reflect:!0})],xo.prototype,"role",void 0),mo([s({type:Boolean})],xo.prototype,"primary",void 0),mo([s({type:Boolean})],xo.prototype,"outlined",void 0),mo([s({type:Boolean})],xo.prototype,"disabled",void 0),mo([s({type:Boolean})],xo.prototype,"dense",void 0),mo([s({type:Boolean})],xo.prototype,"round",void 0),mo([s()],xo.prototype,"label",void 0),mo([s()],xo.prototype,"icon",void 0),mo([s()],xo.prototype,"iconVariant",void 0),mo([s({type:Boolean})],xo.prototype,"trailingIcon",void 0),mo([s({type:Boolean})],xo.prototype,"loading",void 0),mo([s()],xo.prototype,"tooltipPosition",void 0),mo([s({type:Boolean})],xo.prototype,"hideTooltip",void 0),mo([s({type:Boolean})],xo.prototype,"forceTooltip",void 0),mo([c(".ft-button")],xo.prototype,"button",void 0),mo([c(".ft-button--label slot")],xo.prototype,"slottedContent",void 0),d("ft-button")(xo);const wo=w`
774
+ `;var So=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const $o=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function Eo(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Tr:Mr}i18n(t,e,...i){var n;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const r=null!==(n=t.args)&&void 0!==n?n:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[$o])||void 0===e||e.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updated(t){var e;super.updated(t),null===(e=this[$o])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[$o]&&new Set([...this[$o].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Oo].has(t)||this[Oo].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach((t=>t())),this[Oo].clear()}}return e=Oo,So([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class ko extends(Eo(Nt)){}class Co extends(Eo(zt)){}var jo=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};class Ro extends Co{constructor(){super(),this.editorMode=!1,this.addStore(jr)}render(){return this.key&&this.context?tt`
778
775
  <span class="ft-i18n">
779
776
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
780
777
  </span>
781
- `:this.editorMode?"Select a context and a label key.":it}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ro.elementDefinitions={},Ro.styles=wo,jo([Ni()],Ro.prototype,"editorMode",void 0),jo([s()],Ro.prototype,"context",void 0),jo([s()],Ro.prototype,"key",void 0),jo([p([])],Ro.prototype,"args",void 0),jo([s()],Ro.prototype,"defaultMessage",void 0);class Ao{static build(t){return new Ao(t)}static fromGwt(t){return new Ao(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Tr.resolveMessage(this.name,e,...t)})}}d("ft-i18n")(Ro);const No=Ao.build("savedSearchesComponent"),Uo={displaySavedSearchesHere:"Display saved searches here.",missingRole:"Saved search unavailable: missing role {0}.",keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search"},To=St.extend("--ft-chip-color",Ot.colorOnSurface),Mo={backgroundColor:St.extend("--ft-chip-background-color",Ot.colorSurface),color:To,fontSize:St.extend("--ft-chip-font-size",Fn.fontSize),iconSize:St.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:St.extend("--ft-chip-ripple-color",To),horizontalPadding:St.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:St.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:St.external(Ot.colorOutline,"Design system"),opacityDisabled:St.external(Ot.colorOpacityDisabled,"Design system")},Po=St.extend("--ft-chip-highlighted-color",St.extend("--ft-chip-color",Ot.colorOnPrimary)),Bo={backgroundColor:St.extend("--ft-chip-highlighted-background-color",St.extend("--ft-chip-background-color",Ot.colorPrimary)),color:Po,rippleColor:St.extend("--ft-chip-highlighted-ripple-color",Po)},Io=St.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Fo=St.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Lo=[Ut,w`
778
+ `:this.editorMode?"Select a context and a label key.":it}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ro.elementDefinitions={},Ro.styles=wo,jo([Ni()],Ro.prototype,"editorMode",void 0),jo([s()],Ro.prototype,"context",void 0),jo([s()],Ro.prototype,"key",void 0),jo([p([])],Ro.prototype,"args",void 0),jo([s()],Ro.prototype,"defaultMessage",void 0);class Ao{static build(t){return new Ao(t)}static fromGwt(t){return new Ao(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Mr.resolveMessage(this.name,e,...t)})}}d("ft-i18n")(Ro);const No=Ao.build("savedSearchesComponent"),Uo={displaySavedSearchesHere:"Display saved searches here.",missingRole:"Saved search unavailable: missing role {0}.",keywords:"Keywords",language:"Language",sort:"Sort",period:"Period",relevance:"Relevance",lastUpdate:"Last update",lastWeek:"Less than one week",lastMonth:"Less than one month",lastYear:"Less than one year",customPeriod:"Custom period",search:"Search"},Mo=St.extend("--ft-chip-color",Ot.colorOnSurface),To={backgroundColor:St.extend("--ft-chip-background-color",Ot.colorSurface),color:Mo,fontSize:St.extend("--ft-chip-font-size",Fn.fontSize),iconSize:St.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:St.extend("--ft-chip-ripple-color",Mo),horizontalPadding:St.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:St.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:St.external(Ot.colorOutline,"Design system"),opacityDisabled:St.external(Ot.colorOpacityDisabled,"Design system")},Po=St.extend("--ft-chip-highlighted-color",St.extend("--ft-chip-color",Ot.colorOnPrimary)),Bo={backgroundColor:St.extend("--ft-chip-highlighted-background-color",St.extend("--ft-chip-background-color",Ot.colorPrimary)),color:Po,rippleColor:St.extend("--ft-chip-highlighted-ripple-color",Po)},Io=St.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Fo=St.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Lo=[Ut,w`
782
779
  :host {
783
780
  display: inline-block;
784
781
  max-width: 100%;
@@ -794,20 +791,20 @@ function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},
794
791
  box-sizing: border-box;
795
792
  pointer-events: auto;
796
793
 
797
- --ft-chip-internal-font-size: ${Mo.fontSize};
794
+ --ft-chip-internal-font-size: ${To.fontSize};
798
795
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
799
- ${$t(Zr.size,Mo.iconSize)};
800
- --ft-chip-internal-vertical-padding: ${Mo.verticalPadding};
801
- --ft-chip-internal-horizontal-padding: ${Mo.horizontalPadding};
796
+ ${$t(Zr.size,To.iconSize)};
797
+ --ft-chip-internal-vertical-padding: ${To.verticalPadding};
798
+ --ft-chip-internal-horizontal-padding: ${To.horizontalPadding};
802
799
  --ft-chip-internal-icon-padding: 3px;
803
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Mo.iconSize});
800
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${To.iconSize});
804
801
 
805
- border: 1px solid ${Mo.colorOutline};
806
- color: ${Mo.color};
807
- ${$t(zi.color,Mo.rippleColor)};
802
+ border: 1px solid ${To.colorOutline};
803
+ color: ${To.color};
804
+ ${$t(zi.color,To.rippleColor)};
808
805
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
809
806
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
810
- background-color: ${Mo.backgroundColor};
807
+ background-color: ${To.backgroundColor};
811
808
  line-height: var(--ft-chip-internal-content-height);
812
809
  }
813
810
 
@@ -830,7 +827,7 @@ function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},
830
827
  cursor: default;
831
828
  pointer-events: none;
832
829
  filter: grayscale(1);
833
- opacity: ${Mo.opacityDisabled};
830
+ opacity: ${To.opacityDisabled};
834
831
  }
835
832
 
836
833
  .ft-chip--highlighted {
@@ -868,7 +865,7 @@ function(t,e,i){let n,r=t;return"object"==typeof t?(r=t.slot,n=t):n={flatten:e},
868
865
  }
869
866
 
870
867
  .ft-chip--icon-button {
871
- ${$t(uo.iconSize,Mo.iconSize)};
868
+ ${$t(uo.iconSize,To.iconSize)};
872
869
  ${$t(uo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
873
870
  ${$t(uo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
874
871
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-saved-searches",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "Displays the saved searches",
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-search-context": "1.0.51",
23
- "@fluid-topics/ft-wc-utils": "1.0.51",
22
+ "@fluid-topics/ft-search-context": "1.0.52",
23
+ "@fluid-topics/ft-wc-utils": "1.0.52",
24
24
  "lit": "2.7.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.40"
28
28
  },
29
- "gitHead": "ea2d0683e542dd824889f183d48d0ed68fca794a"
29
+ "gitHead": "e5ca580eaeb1a17693fa8f2cf59fbdca412bf7d0"
30
30
  }