@fluid-topics/ft-search-results 2.0.38 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-results.light.js +104 -123
- package/build/ft-search-results.min.js +89 -107
- package/package.json +5 -5
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var ja=Object.create;var wn=Object.defineProperty;var $a=Object.getOwnPropertyDescriptor;var Ha=Object.getOwnPropertyNames;var Ba=Object.getPrototypeOf,qa=Object.prototype.hasOwnProperty;var nt=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(r){throw e=0,r}};var Va=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ha(e))!qa.call(t,s)&&s!==r&&wn(t,s,{get:()=>e[s],enumerable:!(n=$a(e,s))||n.enumerable});return t};var y=(t,e,r)=>(r=t!=null?ja(Ba(t)):{},Va(e||!t||!t.__esModule?wn(r,"default",{value:t,enumerable:!0}):r,t));var E=nt((nu,On)=>{On.exports=ftGlobals.wcUtils});var L=nt((su,Rn)=>{Rn.exports=ftGlobals.lit});var In=nt((iu,_n)=>{_n.exports=ftGlobals.litRepeat});var P=nt((au,kn)=>{kn.exports=ftGlobals.litDecorators});var Sn=nt((Ah,da)=>{da.exports=ftGlobals.litUnsafeHTML});var Ua=y(E());var pr=y(L()),Da=y(In()),hr=y(P()),W=y(E());var Ln=y(L());var Mn=Ln.css`
|
|
2
2
|
[part="no-results-message"] {
|
|
3
3
|
text-align: center;
|
|
4
4
|
padding: 12px;
|
|
5
5
|
}
|
|
6
|
-
`;var We=x(E()),po=x(D());var ft;(function(r){r.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(ft||(ft={}));var Oe=x(E());var Ss=x(E());var $o;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})($o||($o={}));var jo;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(jo||(jo={}));var Vo;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(Vo||(Vo={}));var Ko;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(Ko||(Ko={}));var qo;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(qo||(qo={}));var Zo;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Zo||(Zo={}));var Yo;(function(r){r.OFFICIAL="OFFICIAL",r.AI="AI"})(Yo||(Yo={}));var Qo;(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.CHATBOT__RATE="CHATBOT__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Qo||(Qo={}));var Xo;(function(r){r.STANDARD="STANDARD",r.STRUCTURAL="STRUCTURAL"})(Xo||(Xo={}));var Jo;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Jo||(Jo={}));var en;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",r.LINK_PREVIEW="LINK_PREVIEW",r.UD_VIEWER="UD_VIEWER",r.ASSET_VIEWER="ASSET_VIEWER"})(en||(en={}));var tn;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(tn||(tn={}));var rn;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(rn||(rn={}));var on;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(on||(on={}));var nn;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(nn||(nn={}));var an;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(an||(an={}));var Er;(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(Er||(Er={}));var sn;(function(r){r.ASC="ASC",r.DESC="DESC"})(sn||(sn={}));var cn;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(cn||(cn={}));var Ar;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Ar||(Ar={}));var ln;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(ln||(ln={}));var Lt;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Lt||(Lt={}));var dn;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(dn||(dn={}));var un;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(un||(un={}));var pn;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(pn||(pn={}));var wr;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(wr||(wr={}));var fn;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(fn||(fn={}));var L;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(L||(L={}));var z;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(z||(z={}));var hn;(function(r){r.UNAUTHENTICATED="UNAUTHENTICATED",r.USER_INCOMPLETE="USER_INCOMPLETE",r.MFA_REQUIRED="MFA_REQUIRED",r.AUTHENTICATED="AUTHENTICATED"})(hn||(hn={}));var yn;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(yn||(yn={}));var gn;(function(r){r.INACCURATE="INACCURATE",r.INCOMPLETE="INCOMPLETE",r.OFF_TOPIC="OFF_TOPIC",r.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",r.SUMMARY="SUMMARY",r.SEMANTIC_SEARCH="SEMANTIC_SEARCH",r.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",r.OTHER="OTHER"})(gn||(gn={}));var mn;(function(r){r.INACCURATE="INACCURATE",r.INCOMPLETE="INCOMPLETE",r.OFF_TOPIC="OFF_TOPIC",r.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",r.SLOW="SLOW",r.OTHER="OTHER"})(mn||(mn={}));var bn;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(bn||(bn={}));var xn;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(xn||(xn={}));var vn;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(vn||(vn={}));var Sn;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Sn||(Sn={}));var Cn;(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(Cn||(Cn={}));var On;(function(r){r.MAP="MAP",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(On||(On={}));var Cs={[L.PERSONAL_BOOK_SHARE_USER]:[L.PERSONAL_BOOK_USER],[L.HTML_EXPORT_USER]:[L.PERSONAL_BOOK_USER],[L.PDF_EXPORT_USER]:[L.PERSONAL_BOOK_USER],[L.KHUB_ADMIN]:[L.CONTENT_PUBLISHER],[L.ADMIN]:[L.KHUB_ADMIN,L.USERS_ADMIN,L.PORTAL_ADMIN,L.BEHAVIOR_DATA_USER],[L.GENERATIVE_AI_EXPORT_USER]:[L.GENERATIVE_AI_USER]};function En(r,t){return r===t||(Cs[r]??[]).some(o=>En(o,t))}function An(r,t){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(n=>En(n,t))}var Xr=x(D());var wn=x(D(),1);var Rr=r=>t=>{window.customElements.get(r)||window.customElements.define(r,t)};function Rn(r,t){return(0,wn.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return ht(r);try{return JSON.parse(o)}catch{return ht(r)}},toAttribute:o=>JSON.stringify(o)},hasChanged:yt,...t??{}})}function Os(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Nt(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!Nt(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();let i=c=>Object.keys(c).filter(d=>c[d]!=null),s=i(r);if(o=s.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=o;n--!==0;){let c=s[n];if(!Nt(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function Nt(r,t){try{return Os(r,t)}catch{return!1}}function yt(r,t){return!Nt(r,t)}function ht(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Pt(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var In=x(D(),1);var Ir=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:yt,attribute:!1,...t};(0,In.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(d=>d[n]),store:t.store})}};var _t=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var he=x(D(),1);var Ft=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Tn=x(P(),1);var Dt=globalThis,Es=Dt.ShadowRoot&&(Dt.ShadyCSS===void 0||Dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var kn=(r,t)=>{if(Es)r.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(let o of t){let n=document.createElement("style"),i=Dt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var Mt=class extends Tn.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return kn(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){Rr(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function Ln(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var Ne=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Fn,Nn=Symbol("constructorPrototype"),Pn=Symbol("constructorName"),Dn=Symbol("exportpartsDebouncer"),_n=Symbol("dynamicDependenciesLoaded"),Le=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};Le.eventName="exportparts-updated";var Q=class extends Mt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Fn]=new Ft(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Dn].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Pn]=this.constructor.name,this[Nn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pn]&&Object.setPrototypeOf(this,this[Nn])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[_n]||(o[_n]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Le.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Le.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Le)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Ln(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(s=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],g=(d=(c=y.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&d!==void 0?d:[],v=[...b,...g].filter(u).map(O=>O.trim());for(let O of v)f.add(O)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};Fn=Dn;Ne([(0,he.property)()],Q.prototype,"exportpartsPrefix",void 0);Ne([Rn([])],Q.prototype,"exportpartsPrefixes",void 0);Ne([(0,he.property)({reflect:!0})],Q.prototype,"exportparts",void 0);Ne([(0,he.property)()],Q.prototype,"customStylesheet",void 0);Ne([(0,he.property)()],Q.prototype,"elementToFocus",void 0);Ne([(0,he.state)()],Q.prototype,"useAdoptedStyleSheets",void 0);function Ut(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var gt=Symbol("internalReduxEventsUnsubscribers"),ie=Symbol("internalStoresUnsubscribers"),ye=Symbol("internalStores"),As=Pt(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ye].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[ye].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[ye].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[ye].delete(d)}setupStores(){this.unsubscribeFromStores(),this[ye].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[ie].has(c.store):this[ie].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[ie].set(c,d.subscribe(()=>this.updateFromStores())),this[gt].set(c,[]),Ut(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,f)=>{if(typeof this[f]=="function"&&(!p.store||d.name===p.store)){let h=y=>this[f](y);d.addEventListener(p.eventName,h),this[gt].get(c).push(()=>d.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[ie].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[ie].has(c)&&this[ie].get(c)(),this[ie].delete(c),(d=this[gt].get(c))===null||d===void 0||d.forEach(u=>u()),this[gt].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ie,o=ye,n=gt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Mn=class extends As(Q){};function G(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function te(r){return!!r&&!!r[I]}function K(r){var t;return!!r&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ps})(r)||Array.isArray(r)||!!r[$n]||!!(!((t=r.constructor)===null||t===void 0)&&t[$n])||Mr(r)||Ur(r))}function ge(r,t,o){o===void 0&&(o=!1),Fe(r)===0?(o?Object.keys:_e)(r).forEach((function(n){o&&typeof n=="symbol"||t(n,r[n],r)})):r.forEach((function(n,i){return t(i,n,r)}))}function Fe(r){var t=r[I];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Mr(r)?2:Ur(r)?3:0}function Pe(r,t){return Fe(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function ws(r,t){return Fe(r)===2?r.get(t):r[t]}function jn(r,t,o){var n=Fe(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function Vn(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Mr(r){return Ls&&r instanceof Map}function Ur(r){return Ns&&r instanceof Set}function se(r){return r.o||r.t}function Br(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=Zn(r);delete t[I];for(var o=_e(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function Hr(r,t){return t===void 0&&(t=!1),zr(r)||te(r)||!K(r)||(Fe(r)>1&&(r.set=r.add=r.clear=r.delete=Rs),Object.freeze(r),t&&ge(r,(function(o,n){return Hr(n,!0)}),!0)),r}function Rs(){G(2)}function zr(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function X(r){var t=Dr[r];return t||G(18,r),t}function Is(r,t){Dr[r]||(Dr[r]=t)}function Pr(){return bt}function kr(r,t){t&&(X("Patches"),r.u=[],r.s=[],r.v=t)}function Bt(r){_r(r),r.p.forEach(ks),r.p=null}function _r(r){r===bt&&(bt=r.l)}function Un(r){return bt={p:[],l:bt,h:r,m:!0,_:0}}function ks(r){var t=r[I];t.i===0||t.i===1?t.j():t.g=!0}function Tr(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||X("ES5").S(t,r,n),n?(o[I].P&&(Bt(t),G(4)),K(r)&&(r=Ht(t,r),t.l||zt(t,r)),t.u&&X("Patches").M(o[I].t,r,t.u,t.s)):r=Ht(t,o,[]),Bt(t),t.u&&t.v(t.u,t.s),r!==qn?r:void 0}function Ht(r,t,o){if(zr(t))return t;var n=t[I];if(!n)return ge(t,(function(d,u){return Bn(r,n,t,d,u,o)}),!0),t;if(n.A!==r)return t;if(!n.P)return zt(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Br(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),ge(s,(function(d,u){return Bn(r,n,i,d,u,o,c)})),zt(r,i,!1),o&&r.u&&X("Patches").N(n,o,r.u,r.s)}return n.o}function Bn(r,t,o,n,i,s,c){if(te(i)){var d=Ht(r,i,s&&t&&t.i!==3&&!Pe(t.R,n)?s.concat(n):void 0);if(jn(o,n,d),!te(d))return;r.m=!1}else c&&o.add(i);if(K(i)&&!zr(i)){if(!r.h.D&&r._<1)return;Ht(r,i),t&&t.A.l||zt(r,i)}}function zt(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Hr(t,o)}function Lr(r,t){var o=r[I];return(o?se(o):r)[t]}function Hn(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function ce(r){r.P||(r.P=!0,r.l&&ce(r.l))}function Nr(r){r.o||(r.o=Br(r.t))}function Fr(r,t,o){var n=Mr(t)?X("MapSet").F(t,o):Ur(t)?X("MapSet").T(t,o):r.O?(function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:Pr(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,p=xt;c&&(u=[d],p=mt);var f=Proxy.revocable(u,p),h=f.revoke,y=f.proxy;return d.k=y,d.j=h,y})(t,o):X("ES5").J(t,o);return(o?o.A:Pr()).p.push(n),n}function Ts(r){return te(r)||G(22,r),(function t(o){if(!K(o))return o;var n,i=o[I],s=Fe(o);if(i){if(!i.P&&(i.i<4||!X("ES5").K(i)))return i.t;i.I=!0,n=zn(o,s),i.I=!1}else n=zn(o,s);return ge(n,(function(c,d){i&&ws(i.t,c)===d||jn(n,c,t(d))})),s===3?new Set(n):n})(r)}function zn(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Br(r)}function Kn(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[I];return xt.get(p,c)},set:function(p){var f=this[I];xt.set(f,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][I];if(!u.P)switch(u.i){case 5:n(u)&&ce(u);break;case 4:o(u)&&ce(u)}}}function o(c){for(var d=c.t,u=c.k,p=_e(u),f=p.length-1;f>=0;f--){var h=p[f];if(h!==I){var y=d[h];if(y===void 0&&!Pe(d,h))return!0;var b=u[h],g=b&&b[I];if(g?g.t!==y:!Vn(b,y))return!0}}var v=!!d[I];return p.length!==_e(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function i(c){c.g&&G(3,JSON.stringify(se(c)))}var s={};Is("ES5",{J:function(c,d){var u=Array.isArray(c),p=(function(h,y){if(h){for(var b=Array(y.length),g=0;g<y.length;g++)Object.defineProperty(b,""+g,r(g,!0));return b}var v=Zn(y);delete v[I];for(var O=_e(v),A=0;A<O.length;A++){var w=O[A];v[w]=r(w,h||!!v[w].enumerable)}return Object.create(Object.getPrototypeOf(y),v)})(u,c),f={i:u?5:4,A:d?d.A:Pr(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,I,{value:f,writable:!0}),p},S:function(c,d,u){u?te(d)&&d[I].A===c&&t(c.p):(c.u&&(function p(f){if(f&&typeof f=="object"){var h=f[I];if(h){var y=h.t,b=h.k,g=h.R,v=h.i;if(v===4)ge(b,(function(R){R!==I&&(y[R]!==void 0||Pe(y,R)?g[R]||p(b[R]):(g[R]=!0,ce(h)))})),ge(y,(function(R){b[R]!==void 0||Pe(b,R)||(g[R]=!1,ce(h))}));else if(v===5){if(n(h)&&(ce(h),g.length=!0),b.length<y.length)for(var O=b.length;O<y.length;O++)g[O]=!1;else for(var A=y.length;A<b.length;A++)g[A]=!0;for(var w=Math.min(b.length,y.length),k=0;k<w;k++)b.hasOwnProperty(k)||(g[k]=!0),g[k]===void 0&&p(b[k])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Gn,bt,Gr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ls=typeof Map<"u",Ns=typeof Set<"u",Wn=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",qn=Gr?Symbol.for("immer-nothing"):((Gn={})["immer-nothing"]=!0,Gn),$n=Gr?Symbol.for("immer-draftable"):"__$immer_draftable",I=Gr?Symbol.for("immer-state"):"__$immer_state";var Ps=""+Object.prototype.constructor,_e=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Zn=Object.getOwnPropertyDescriptors||function(r){var t={};return _e(r).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)})),t},Dr={},xt={get:function(r,t){if(t===I)return r;var o=se(r);if(!Pe(o,t))return(function(i,s,c){var d,u=Hn(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0})(r,o,t);var n=o[t];return r.I||!K(n)?n:n===Lr(r.t,t)?(Nr(r),r.o[t]=Fr(r.A.h,n,r)):n},has:function(r,t){return t in se(r)},ownKeys:function(r){return Reflect.ownKeys(se(r))},set:function(r,t,o){var n=Hn(se(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Lr(se(r),t),s=i?.[I];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(Vn(o,i)&&(o!==void 0||Pe(r.t,t)))return!0;Nr(r),ce(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return Lr(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,Nr(r),ce(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=se(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){G(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){G(12)}},mt={};ge(xt,(function(r,t){mt[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),mt.deleteProperty=function(r,t){return mt.set.call(this,r,t,void 0)},mt.set=function(r,t,o){return xt.set.call(this,r[0],t,o,r[0])};var _s=(function(){function r(o){var n=this;this.O=Wn,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(v){var O=this;v===void 0&&(v=d);for(var A=arguments.length,w=Array(A>1?A-1:0),k=1;k<A;k++)w[k-1]=arguments[k];return u.produce(v,(function(R){var ae;return(ae=s).call.apply(ae,[O,R].concat(w))}))}}var p;if(typeof s!="function"&&G(6),c!==void 0&&typeof c!="function"&&G(7),K(i)){var f=Un(n),h=Fr(n,i,void 0),y=!0;try{p=s(h),y=!1}finally{y?Bt(f):_r(f)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(v){return kr(f,c),Tr(v,f)}),(function(v){throw Bt(f),v})):(kr(f,c),Tr(p,f))}if(!i||typeof i!="object"){if((p=s(i))===void 0&&(p=i),p===qn&&(p=void 0),n.D&&Hr(p,!0),c){var b=[],g=[];X("Patches").M(i,p,b,g),c(b,g)}return p}G(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return n.produceWithPatches(p,(function(b){return i.apply(void 0,[b].concat(h))}))};var c,d,u=n.produce(i,s,(function(p,f){c=p,d=f}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){K(o)||G(8),te(o)&&(o=Ts(o));var n=Un(this),i=Fr(this,o,void 0);return i[I].C=!0,_r(n),i},t.finishDraft=function(o,n){var i=o&&o[I],s=i.A;return kr(s,n),Tr(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Wn&&G(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=X("Patches").$;return te(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},r})(),B=new _s,Fs=B.produce,Rl=B.produceWithPatches.bind(B),Il=B.setAutoFreeze.bind(B),kl=B.setUseProxies.bind(B),Tl=B.applyPatches.bind(B),Ll=B.createDraft.bind(B),Nl=B.finishDraft.bind(B),Gt=Fs;function me(r){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(r)}function Yn(r,t){if(me(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(me(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function Qn(r){var t=Yn(r,"string");return me(t)=="symbol"?t:t+""}function Xn(r,t,o){return(t=Qn(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function Jn(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function Wr(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Jn(Object(o),!0).forEach(function(n){Xn(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Jn(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function _(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ea=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),$r=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wt={INIT:"@@redux/INIT"+$r(),REPLACE:"@@redux/REPLACE"+$r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$r()}};function Ds(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function jr(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(_(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(_(1));return o(jr)(r,t)}if(typeof r!="function")throw new Error(_(2));var i=r,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function f(){if(u)throw new Error(_(3));return s}function h(v){if(typeof v!="function")throw new Error(_(4));if(u)throw new Error(_(5));var O=!0;return p(),d.push(v),function(){if(O){if(u)throw new Error(_(6));O=!1,p();var w=d.indexOf(v);d.splice(w,1),c=null}}}function y(v){if(!Ds(v))throw new Error(_(7));if(typeof v.type>"u")throw new Error(_(8));if(u)throw new Error(_(9));try{u=!0,s=i(s,v)}finally{u=!1}for(var O=c=d,A=0;A<O.length;A++){var w=O[A];w()}return v}function b(v){if(typeof v!="function")throw new Error(_(10));i=v,y({type:Wt.REPLACE})}function g(){var v,O=h;return v={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(_(11));function k(){w.next&&w.next(f())}k();var R=O(k);return{unsubscribe:R}}},v[ea]=function(){return this},v}return y({type:Wt.INIT}),n={dispatch:y,subscribe:h,getState:f,replaceReducer:b},n[ea]=g,n}function Ms(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:Wt.INIT});if(typeof n>"u")throw new Error(_(12));if(typeof o(void 0,{type:Wt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(_(13))})}function ta(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{Ms(o)}catch(u){d=u}return function(p,f){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var y=!1,b={},g=0;g<s.length;g++){var v=s[g],O=o[v],A=p[v],w=O(A,f);if(typeof w>"u"){var k=f&&f.type;throw new Error(_(14))}b[v]=w,y=y||w!==A}return y=y||s.length!==Object.keys(p).length,y?b:p}}function De(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ra(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(_(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=De.apply(void 0,d)(i.dispatch),Wr(Wr({},i),{},{dispatch:s})}}}function oa(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var na=oa();na.withExtraArgument=oa;var Vr=na;var la=(function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),Us=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=p[0]&2?i.return:p[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,p[1])).done)return s;switch(i=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(r,o)}catch(f){p=[6,f],i=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Me=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Bs=Object.defineProperty,Hs=Object.defineProperties,zs=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,Gs=Object.prototype.hasOwnProperty,Ws=Object.prototype.propertyIsEnumerable,ia=function(r,t,o){return t in r?Bs(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},le=function(r,t){for(var o in t||(t={}))Gs.call(t,o)&&ia(r,o,t[o]);if(aa)for(var n=0,i=aa(t);n<i.length;n++){var o=i[n];Ws.call(t,o)&&ia(r,o,t[o])}return r},Kr=function(r,t){return Hs(r,zs(t))},$s=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(p){i(p)}},c=function(u){try{d(o.throw(u))}catch(p){i(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var js=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?De:De.apply(null,arguments)},Yl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Vs(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function de(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return le(le({type:r,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}var Ks=(function(r){la(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t})(Array),qs=(function(r){la(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t})(Array);function Yr(r){return K(r)?Gt(r,function(){}):r}function Zs(r){return typeof r=="boolean"}function Ys(){return function(t){return Qs(t)}}function Qs(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=r.actionCreatorCheck,u=d===void 0?!0:d,p=new Ks;if(o&&(Zs(o)?p.push(Vr):p.push(Vr.withExtraArgument(o.extraArgument))),0){if(i)var f;if(c)var h;if(u)var y}return p}var qr=!0;function da(r){var t=Ys(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,y=h===void 0?void 0:h,b;if(typeof i=="function")b=i;else if(Vs(i))b=ta(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=c;if(typeof g=="function"&&(g=g(t),!qr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qr&&g.some(function(R){return typeof R!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ra.apply(void 0,g),O=De;u&&(O=js(le({trace:!qr},typeof u=="object"&&u)));var A=new qs(v),w=A;Array.isArray(y)?w=Me([v],y):typeof y=="function"&&(w=y(A));var k=O.apply(void 0,w);return jr(b,f,k)}function ua(r){var t={},o=[],n,i={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function Xs(r){return typeof r=="function"}function Js(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?ua(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(Xs(r))u=function(){return Yr(r())};else{var p=Yr(r);u=function(){return p}}function f(h,y){h===void 0&&(h=u());var b=Me([s[y.type]],c.filter(function(g){var v=g.matcher;return v(y)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,v){if(v)if(te(g)){var O=g,A=v(O,y);return A===void 0?g:A}else{if(K(g))return Gt(g,function(w){return v(w,y)});var A=v(g,y);if(A===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return g},h)}return f.getInitialState=u,f}function ec(r,t){return r+"/"+t}function pa(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:Yr(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(f){var h=n[f],y=ec(t,f),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,s[f]=b,c[y]=b,d[f]=g?de(y,g):de(y)});function u(){var f=typeof r.extraReducers=="function"?ua(r.extraReducers):[r.extraReducers],h=f[0],y=h===void 0?{}:h,b=f[1],g=b===void 0?[]:b,v=f[2],O=v===void 0?void 0:v,A=le(le({},y),c);return Js(o,function(w){for(var k in A)w.addCase(k,A[k]);for(var R=0,ae=g;R<ae.length;R++){var ee=ae[R];w.addMatcher(ee.matcher,ee.reducer)}O&&w.addDefaultCase(O)})}var p;return{name:t,reducer:function(f,h){return p||(p=u()),p(f,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var tc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",rc=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=tc[Math.random()*64|0];return t},oc=["name","message","stack","code"],Zr=(function(){function r(t,o){this.payload=t,this.meta=o}return r})(),sa=(function(){function r(t,o){this.payload=t,this.meta=o}return r})(),nc=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=oc;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},ed=(function(){function r(t,o,n){var i=de(t+"/fulfilled",function(f,h,y,b){return{payload:f,meta:Kr(le({},b||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),s=de(t+"/pending",function(f,h,y){return{payload:void 0,meta:Kr(le({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),c=de(t+"/rejected",function(f,h,y,b,g){return{payload:b,error:(n&&n.serializeError||nc)(f||"Rejected"),meta:Kr(le({},g||{}),{arg:y,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function p(f){return function(h,y,b){var g=n?.idGenerator?n.idGenerator(f):rc(),v=new u,O,A=!1;function w(R){O=R,v.abort()}var k=(function(){return $s(this,null,function(){var R,ae,ee,lt,_o,dt,Fo;return Us(this,function(Te){switch(Te.label){case 0:return Te.trys.push([0,4,,5]),lt=(R=n?.condition)==null?void 0:R.call(n,f,{getState:y,extra:b}),ic(lt)?[4,lt]:[3,2];case 1:lt=Te.sent(),Te.label=2;case 2:if(lt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,_o=new Promise(function(V,ut){return v.signal.addEventListener("abort",function(){return ut({name:"AbortError",message:O||"Aborted"})})}),h(s(g,f,(ae=n?.getPendingMeta)==null?void 0:ae.call(n,{requestId:g,arg:f},{getState:y,extra:b}))),[4,Promise.race([_o,Promise.resolve(o(f,{dispatch:h,getState:y,extra:b,requestId:g,signal:v.signal,abort:w,rejectWithValue:function(V,ut){return new Zr(V,ut)},fulfillWithValue:function(V,ut){return new sa(V,ut)}})).then(function(V){if(V instanceof Zr)throw V;return V instanceof sa?i(V.payload,g,f,V.meta):i(V,g,f)})])];case 3:return ee=Te.sent(),[3,5];case 4:return dt=Te.sent(),ee=dt instanceof Zr?c(null,g,f,dt.payload,dt.meta):c(dt,g,f),[3,5];case 5:return Fo=n&&!n.dispatchConditionRejection&&c.match(ee)&&ee.meta.condition,Fo||h(ee),[2,ee]}})})})();return Object.assign(k,{abort:w,requestId:g,arg:f,unwrap:function(){return k.then(ac)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r})();function ac(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function ic(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var fa="listener",ha="completed",ya="cancelled",td="task-"+ya,rd="task-"+ha,od=fa+"-"+ya,nd=fa+"-"+ha;var Qr="listenerMiddleware";var ad=de(Qr+"/add"),id=de(Qr+"/removeAll"),sd=de(Qr+"/remove");var ca,cd=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ca||(ca=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},sc=function(r){return function(t){setTimeout(t,r)}},ld=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:sc(10);Kn();var cc=Pt(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),$t=class extends cc(Object){};window.ftReduxStores||(window.ftReduxStores={});var ga=class r extends $t{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Ut(s))return s;if(i==null)return;let c=pa({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=da({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=ht(c.getInitialState());for(let h of p.keeping)f[h]=(u??f)[h];return f}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return c.reducer(u,p)}});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new _t;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...f)=>{let h=p(...f.map(i));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[u]:i(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var jt=class{static format(t,o,n,i,s){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(t,o,n,i,!!s)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,s){let c=typeof t=="string"?new Date(t):t,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(c),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(c);return s?u:i?`${d} ${u}`:d}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var Vt=x(E()),lc="ft-app-info",Ue=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};Ue.eventName="authentication-change";var vt=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};vt.eventName="ui-locale-changed";var dc={session:(r,t)=>{(0,Vt.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>C.dispatchEvent(new Ue(t.payload)),0))}},C=Vt.FtReduxStore.get({name:lc,reducers:dc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var ma=x(E()),Kt=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Md=(0,ma.applyMixinOnce)(Symbol("withDateFormat"),function(r){class t extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(C)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>jt.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Kt([(0,Xr.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Kt([(0,Xr.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Kt([Ir({store:C.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Kt([Ir({store:C.name})],t.prototype,"uiLocale",void 0),t});var Xt=x(E());var Jr=x(E());var be=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=C.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=C.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var Be=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:be.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):be.await()}};var U=class extends Be{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Jr.CacheRegistry,this.cache=t?i.commonCache:new Jr.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var qt=class extends U{async listMySearches(){let{session:t}=C.getState();return An(t,L.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var Zt=class extends U{async listMyBookmarks(){let t=C.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Yt=class extends U{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=C.getState().session;return!!t?.sessionAuthenticated}};var Qt=class extends U{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=C.getState().session;return!!t?.sessionAuthenticated}};var uc="ft-user-assets",pc={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(z).forEach(t=>{r.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(r,t)=>{let o=t.payload.mapId;r.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,t)=>{let{assetType:o,mapId:n,asset:i}=t.payload;to(r,o,[...eo(r,o),i]),ba(r,o,1,n),xa(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;to(r,o,eo(r,o).map(i=>i.id===n.id?n:i)),xa(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;to(r,o,eo(r,o).filter(s=>s.id!==i)),ba(r,o,-1,n)}},va={[z.SEARCHES]:"savedSearches",[z.BOOKMARKS]:"bookmarks",[z.BOOKS]:void 0,[z.COLLECTIONS]:void 0},eo=(r,t)=>{var o;let n=va[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},to=(r,t,o)=>{let n=va[t];n&&(r[n]=o)},ba=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===z.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},xa=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},M=Xt.FtReduxStore.get({name:uc,reducers:pc,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(z).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ro=class{constructor(t=new Yt,o=new Qt){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Zt,this.savedSearchesService=new qt,C.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=C.getState();(0,Xt.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),M.actions.clearAssetCount(),M.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),M.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),M.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();M.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();M.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&M.getState().assetCounts.allAsset[t]!==o.count&&M.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&M.getState().assetCounts.bookmarkByMap[t]!==o.count&&M.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(M.getState().assetCounts.bookmarkByMap).length!==0;t===z.BOOKMARKS&&o&&M.actions.clearBookmarkCountByMap(),M.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;M.actions.bookmarks(o)}}},fc=new ro;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=fc);var oo=class{addCommand(t,o=!1){C.commands.add(t,o)}consumeCommand(t){return C.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new oo;var W=x(E());var Sa,He=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},hc=Symbol("clearAfterUnitTest"),Jt=class extends(0,W.withEventBus)(U){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sa]=()=>{this.defaultMessages={},this.cache=new W.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=C.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,W.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let s=t.toLowerCase(),c=this.resolveContext(s);return new W.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof W.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new He({loadedContexts:t})),this.dispatchEvent(new He({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new He({loadedContexts:[t]})),this.dispatchEvent(new He({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,W.delay)(0).then(()=>n()).catch(()=>null)))}};Sa=hc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Jt{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Jt{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var ze=window.FluidTopicsI18nService,er=window.FluidTopicsCustomI18nService;var Ca=x(E()),no=class{highlightHtml(t,o,n){(0,Ca.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new no;var Oa=x(E());var ao=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=C.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s,c;if(t==null)return"";try{return Oa.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:C.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(c=o?.onlyTime)!==null&&c!==void 0?c:!1)}catch(d){throw console.error(`Date ${JSON.stringify(t)} is not valid`,d),d}}};window.FluidTopicsDateService=new ao;var Ea=x(E());var St=class{static get(t,o){var n,i;let s=C.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Ea.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var io=class{urlToSearchRequest(t){return St.get().parse(t)}searchRequestToUrl(t){return St.get().serialize(t)}};window.FluidTopicsUrlService=new io;var re=x(E());var xe=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};xe.eventName="change";var so=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Aa=new so;var tr=class r extends re.WithEventBus{static build(){return new r(window.history,Aa,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,re.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new xe(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(xe.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(xe.eventName,t)}currentItem(){return(0,re.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,re.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,re.deepCopy)(o.find(n=>t(n)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,re.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=tr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:r=>window.FluidTopicsInternalHistoryService.backwardItemMatching(r),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)});var wa=x(P());var Ra=wa.css`
|
|
7
|
-
`;var
|
|
6
|
+
`;var Fe=y(E()),tn=y(P());var st;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(st||(st={}));var ve=y(E());var Ka=y(E());var Pn;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Pn||(Pn={}));var Nn;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Nn||(Nn={}));var Dn;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Dn||(Dn={}));var Fn;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Fn||(Fn={}));var Un;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Un||(Un={}));var jn;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(jn||(jn={}));var $n;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})($n||($n={}));var Hn;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Hn||(Hn={}));var Bn;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Bn||(Bn={}));var qn;(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"})(qn||(qn={}));var Vn;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(Vn||(Vn={}));var Kn;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Kn||(Kn={}));var zn;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zn||(zn={}));var Wn;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Wn||(Wn={}));var Gn;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Gn||(Gn={}));var Yn;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Yn||(Yn={}));var fr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(fr||(fr={}));var Qn;(function(t){t.ASC="ASC",t.DESC="DESC"})(Qn||(Qn={}));var Xn;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Xn||(Xn={}));var mr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(mr||(mr={}));var Jn;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Jn||(Jn={}));var xt;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(xt||(xt={}));var Zn;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Zn||(Zn={}));var es;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(es||(es={}));var ts;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(ts||(ts={}));var yr;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(yr||(yr={}));var rs;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(rs||(rs={}));var R;(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.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(R||(R={}));var U;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(U||(U={}));var ns;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(ns||(ns={}));var ss;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(ss||(ss={}));var is;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(is||(is={}));var as;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(as||(as={}));var os;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(os||(os={}));var us;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(us||(us={}));var cs;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(cs||(cs={}));var ls;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ls||(ls={}));var ds;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(ds||(ds={}));var ps;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ps||(ps={}));var hs;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(hs||(hs={}));var fs;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(fs||(fs={}));var za={[R.PERSONAL_BOOK_SHARE_USER]:[R.PERSONAL_BOOK_USER],[R.HTML_EXPORT_USER]:[R.PERSONAL_BOOK_USER],[R.PDF_EXPORT_USER]:[R.PERSONAL_BOOK_USER],[R.KHUB_ADMIN]:[R.CONTENT_PUBLISHER],[R.ADMIN]:[R.KHUB_ADMIN,R.USERS_ADMIN,R.PORTAL_ADMIN,R.BEHAVIOR_DATA_USER],[R.GENERATIVE_AI_EXPORT_USER]:[R.GENERATIVE_AI_USER]};function ms(t,e){return t===e||(za[t]??[]).some(r=>ms(r,e))}function ys(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>ms(n,e))}var Br=y(P());var gs=y(P(),1);var gr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function vs(t,e){return(0,gs.property)({type:Object,converter:{fromAttribute:r=>{if(r==null)return it(t);try{return JSON.parse(r)}catch{return it(t)}},toAttribute:r=>JSON.stringify(r)},hasChanged:at,...e??{}})}function Wa(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Et(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Et(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let s=a=>Object.keys(a).filter(o=>a[o]!=null),i=s(t);if(r=i.length,r!==s(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let a=i[n];if(!Et(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Et(t,e){try{return Wa(t,e)}catch{return!1}}function at(t,e){return!Et(t,e)}function it(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ct(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let s=e(n);return s[t]=!0,s}}var bs=y(P(),1);var vr=t=>{let e=t??{};return(r,n)=>{var s;let i={hasChanged:at,attribute:!1,...e};(0,bs.property)(i)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(s=e.selector)!==null&&s!==void 0?s:(o=>o[n]),store:e.store})}};var Tt=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};var ce=y(P(),1);var wt=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let s=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),i=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(o){s(o);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var As=y(L(),1);var Ot=globalThis,Ga=Ot.ShadowRoot&&(Ot.ShadyCSS===void 0||Ot.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Ss=(t,e)=>{if(Ga)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of e){let n=document.createElement("style"),s=Ot.litNonce;s!==void 0&&n.setAttribute("nonce",s),n.textContent=r.cssText,t.appendChild(n)}};var Rt=class extends As.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ss(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){gr(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};function xs(t,e,...r){var n;let s=t.querySelector(e);for(let i of r)s=(n=s?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return s}var we=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},ws,Es=Symbol("constructorPrototype"),Cs=Symbol("constructorName"),Os=Symbol("exportpartsDebouncer"),Ts=Symbol("dynamicDependenciesLoaded"),Te=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Te.eventName="exportparts-updated";var G=class extends Rt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ws]=new wt(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Os].run(()=>{var s,i;!((s=this.exportpartsPrefix)===null||s===void 0)&&s.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Cs]=this.constructor.name,this[Es]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Cs]&&Object.setPrototypeOf(this,this[Es])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Ts]||(r[Ts]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Te.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Te.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Te)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:s}=this.elementToFocus;if(n!=null){let i=[...s??[],n];r=xs(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,s;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((s=this.customStylesheet)!==null&&s!==void 0?s:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(e){var r,n,s,i,a,o;let u=p=>p!=null&&p.trim().length>0,c=e.filter(u).map(p=>p.trim());if(c.length===0){this.exportparts=void 0;return}let l=new Set;for(let p of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let m=(i=(s=p.getAttribute("part"))===null||s===void 0?void 0:s.split(" "))!==null&&i!==void 0?i:[],h=(o=(a=p.getAttribute("exportparts"))===null||a===void 0?void 0:a.split(",").map(S=>S.split(":")[1]))!==null&&o!==void 0?o:[],g=[...m,...h].filter(u).map(S=>S.trim());for(let S of g)l.add(S)}if(l.size===0){this.exportparts=void 0;return}let d=[...l.values()].flatMap(p=>c.map(m=>`${p}:${m}--${p}`));this.exportparts=[...this.part,...d].join(", ")}};ws=Os;we([(0,ce.property)()],G.prototype,"exportpartsPrefix",void 0);we([vs([])],G.prototype,"exportpartsPrefixes",void 0);we([(0,ce.property)({reflect:!0})],G.prototype,"exportparts",void 0);we([(0,ce.property)()],G.prototype,"customStylesheet",void 0);we([(0,ce.property)()],G.prototype,"elementToFocus",void 0);we([(0,ce.state)()],G.prototype,"useAdoptedStyleSheets",void 0);function _t(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ot=Symbol("internalReduxEventsUnsubscribers"),re=Symbol("internalStoresUnsubscribers"),le=Symbol("internalStores"),Ya=Ct(Symbol("withRedux"),function(t){var e,r,n;class s extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(o=>a.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[le].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[le].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[le].get(a)}addStore(a,o){var u;o=(u=o??a.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(o),this[le].set(o,a),this.subscribeToStore(o,a),this.updateFromStores()}removeStore(a){let o=typeof a=="string"?a:a.name;this.unsubscribeFromStore(o),this[le].delete(o)}setupStores(){this.unsubscribeFromStores(),this[le].forEach((a,o)=>this.subscribeToStore(o,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,o)=>{let u=this.constructor.getPropertyOptions(o);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:o)){let c=this.getStore(a.store);c&&(a.store?this[re].has(a.store):this[re].size>0)&&(this[o]=a.selector(c.getState(),this))}})}subscribeToStore(a,o){var u;this[re].set(a,o.subscribe(()=>this.updateFromStores())),this[ot].set(a,[]),_t(o)&&o.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((c,l)=>{if(typeof this[l]=="function"&&(!c.store||o.name===c.store)){let d=p=>this[l](p);o.addEventListener(c.eventName,d),this[ot].get(a).push(()=>o.removeEventListener(c.eventName,d))}})),this.onStoreAvailable(a)}unsubscribeFromStores(){this[re].forEach((a,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(a){var o;this[re].has(a)&&this[re].get(a)(),this[re].delete(a),(o=this[ot].get(a))===null||o===void 0||o.forEach(u=>u()),this[ot].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=re,r=le,n=ot,s.reduxProperties=new Map,s.reduxReactiveProperties=new Set,s.reduxEventListeners=new Map,s}),Rs=class extends Ya(G){};function j(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var s,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(a){return"'"+a+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function J(t){return!!t&&!!t[T]}function V(t){var e;return!!t&&((function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var s=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return s===Object||typeof s=="function"&&Function.toString.call(s)===no})(t)||Array.isArray(t)||!!t[Ns]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ns])||Or(t)||Rr(t))}function de(t,e,r){r===void 0&&(r=!1),_e(t)===0?(r?Object.keys:Re)(t).forEach((function(n){r&&typeof n=="symbol"||e(n,t[n],t)})):t.forEach((function(n,s){return e(s,n,t)}))}function _e(t){var e=t[T];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Or(t)?2:Rr(t)?3:0}function Oe(t,e){return _e(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qa(t,e){return _e(t)===2?t.get(e):t[e]}function Ds(t,e,r){var n=_e(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Fs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Or(t){return to&&t instanceof Map}function Rr(t){return ro&&t instanceof Set}function ne(t){return t.o||t.t}function _r(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=$s(t);delete e[T];for(var r=Re(e),n=0;n<r.length;n++){var s=r[n],i=e[s];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[s]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[s]})}return Object.create(Object.getPrototypeOf(t),e)}function Ir(t,e){return e===void 0&&(e=!1),kr(t)||J(t)||!V(t)||(_e(t)>1&&(t.set=t.add=t.clear=t.delete=Xa),Object.freeze(t),e&&de(t,(function(r,n){return Ir(n,!0)}),!0)),t}function Xa(){j(2)}function kr(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Y(t){var e=wr[t];return e||j(18,t),e}function Ja(t,e){wr[t]||(wr[t]=e)}function Er(){return ct}function br(t,e){e&&(Y("Patches"),t.u=[],t.s=[],t.v=e)}function It(t){Cr(t),t.p.forEach(Za),t.p=null}function Cr(t){t===ct&&(ct=t.l)}function _s(t){return ct={p:[],l:ct,h:t,m:!0,_:0}}function Za(t){var e=t[T];e.i===0||e.i===1?e.j():e.g=!0}function Sr(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Y("ES5").S(e,t,n),n?(r[T].P&&(It(e),j(4)),V(t)&&(t=kt(e,t),e.l||Lt(e,t)),e.u&&Y("Patches").M(r[T].t,t,e.u,e.s)):t=kt(e,r,[]),It(e),e.u&&e.v(e.u,e.s),t!==js?t:void 0}function kt(t,e,r){if(kr(e))return e;var n=e[T];if(!n)return de(e,(function(o,u){return Is(t,n,e,o,u,r)}),!0),e;if(n.A!==t)return e;if(!n.P)return Lt(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var s=n.i===4||n.i===5?n.o=_r(n.k):n.o,i=s,a=!1;n.i===3&&(i=new Set(s),s.clear(),a=!0),de(i,(function(o,u){return Is(t,n,s,o,u,r,a)})),Lt(t,s,!1),r&&t.u&&Y("Patches").N(n,r,t.u,t.s)}return n.o}function Is(t,e,r,n,s,i,a){if(J(s)){var o=kt(t,s,i&&e&&e.i!==3&&!Oe(e.R,n)?i.concat(n):void 0);if(Ds(r,n,o),!J(o))return;t.m=!1}else a&&r.add(s);if(V(s)&&!kr(s)){if(!t.h.D&&t._<1)return;kt(t,s),e&&e.A.l||Lt(t,s)}}function Lt(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ir(e,r)}function Ar(t,e){var r=t[T];return(r?ne(r):t)[e]}function ks(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function se(t){t.P||(t.P=!0,t.l&&se(t.l))}function xr(t){t.o||(t.o=_r(t.t))}function Tr(t,e,r){var n=Or(e)?Y("MapSet").F(e,r):Rr(e)?Y("MapSet").T(e,r):t.O?(function(s,i){var a=Array.isArray(s),o={i:a?1:0,A:i?i.A:Er(),P:!1,I:!1,R:{},l:i,t:s,k:null,o:null,j:null,C:!1},u=o,c=lt;a&&(u=[o],c=ut);var l=Proxy.revocable(u,c),d=l.revoke,p=l.proxy;return o.k=p,o.j=d,p})(e,r):Y("ES5").J(e,r);return(r?r.A:Er()).p.push(n),n}function eo(t){return J(t)||j(22,t),(function e(r){if(!V(r))return r;var n,s=r[T],i=_e(r);if(s){if(!s.P&&(s.i<4||!Y("ES5").K(s)))return s.t;s.I=!0,n=Ls(r,i),s.I=!1}else n=Ls(r,i);return de(n,(function(a,o){s&&Qa(s.t,a)===o||Ds(n,a,e(o))})),i===3?new Set(n):n})(t)}function Ls(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return _r(t)}function Us(){function t(a,o){var u=i[a];return u?u.enumerable=o:i[a]=u={configurable:!0,enumerable:o,get:function(){var c=this[T];return lt.get(c,a)},set:function(c){var l=this[T];lt.set(l,a,c)}},u}function e(a){for(var o=a.length-1;o>=0;o--){var u=a[o][T];if(!u.P)switch(u.i){case 5:n(u)&&se(u);break;case 4:r(u)&&se(u)}}}function r(a){for(var o=a.t,u=a.k,c=Re(u),l=c.length-1;l>=0;l--){var d=c[l];if(d!==T){var p=o[d];if(p===void 0&&!Oe(o,d))return!0;var m=u[d],h=m&&m[T];if(h?h.t!==p:!Fs(m,p))return!0}}var g=!!o[T];return c.length!==Re(o).length+(g?0:1)}function n(a){var o=a.k;if(o.length!==a.t.length)return!0;var u=Object.getOwnPropertyDescriptor(o,o.length-1);if(u&&!u.get)return!0;for(var c=0;c<o.length;c++)if(!o.hasOwnProperty(c))return!0;return!1}function s(a){a.g&&j(3,JSON.stringify(ne(a)))}var i={};Ja("ES5",{J:function(a,o){var u=Array.isArray(a),c=(function(d,p){if(d){for(var m=Array(p.length),h=0;h<p.length;h++)Object.defineProperty(m,""+h,t(h,!0));return m}var g=$s(p);delete g[T];for(var S=Re(g),A=0;A<S.length;A++){var x=S[A];g[x]=t(x,d||!!g[x].enumerable)}return Object.create(Object.getPrototypeOf(p),g)})(u,a),l={i:u?5:4,A:o?o.A:Er(),P:!1,I:!1,R:{},l:o,t:a,k:c,o:null,g:!1,C:!1};return Object.defineProperty(c,T,{value:l,writable:!0}),c},S:function(a,o,u){u?J(o)&&o[T].A===a&&e(a.p):(a.u&&(function c(l){if(l&&typeof l=="object"){var d=l[T];if(d){var p=d.t,m=d.k,h=d.R,g=d.i;if(g===4)de(m,(function(C){C!==T&&(p[C]!==void 0||Oe(p,C)?h[C]||c(m[C]):(h[C]=!0,se(d)))})),de(p,(function(C){m[C]!==void 0||Oe(m,C)||(h[C]=!1,se(d))}));else if(g===5){if(n(d)&&(se(d),h.length=!0),m.length<p.length)for(var S=m.length;S<p.length;S++)h[S]=!1;else for(var A=p.length;A<m.length;A++)h[A]=!0;for(var x=Math.min(m.length,p.length),w=0;w<x;w++)m.hasOwnProperty(w)||(h[w]=!0),h[w]===void 0&&c(m[w])}}}})(a.p[0]),e(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var Ms,ct,Lr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",to=typeof Map<"u",ro=typeof Set<"u",Ps=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",js=Lr?Symbol.for("immer-nothing"):((Ms={})["immer-nothing"]=!0,Ms),Ns=Lr?Symbol.for("immer-draftable"):"__$immer_draftable",T=Lr?Symbol.for("immer-state"):"__$immer_state";var no=""+Object.prototype.constructor,Re=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,$s=Object.getOwnPropertyDescriptors||function(t){var e={};return Re(t).forEach((function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)})),e},wr={},lt={get:function(t,e){if(e===T)return t;var r=ne(t);if(!Oe(r,e))return(function(s,i,a){var o,u=ks(i,a);return u?"value"in u?u.value:(o=u.get)===null||o===void 0?void 0:o.call(s.k):void 0})(t,r,e);var n=r[e];return t.I||!V(n)?n:n===Ar(t.t,e)?(xr(t),t.o[e]=Tr(t.A.h,n,t)):n},has:function(t,e){return e in ne(t)},ownKeys:function(t){return Reflect.ownKeys(ne(t))},set:function(t,e,r){var n=ks(ne(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var s=Ar(ne(t),e),i=s?.[T];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Fs(r,s)&&(r!==void 0||Oe(t.t,e)))return!0;xr(t),se(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ar(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,xr(t),se(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ne(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){j(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){j(12)}},ut={};de(lt,(function(t,e){ut[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ut.deleteProperty=function(t,e){return ut.set.call(this,t,e,void 0)},ut.set=function(t,e,r){return lt.set.call(this,t[0],e,r,t[0])};var so=(function(){function t(r){var n=this;this.O=Ps,this.D=!0,this.produce=function(s,i,a){if(typeof s=="function"&&typeof i!="function"){var o=i;i=s;var u=n;return function(g){var S=this;g===void 0&&(g=o);for(var A=arguments.length,x=Array(A>1?A-1:0),w=1;w<A;w++)x[w-1]=arguments[w];return u.produce(g,(function(C){var te;return(te=i).call.apply(te,[S,C].concat(x))}))}}var c;if(typeof i!="function"&&j(6),a!==void 0&&typeof a!="function"&&j(7),V(s)){var l=_s(n),d=Tr(n,s,void 0),p=!0;try{c=i(d),p=!1}finally{p?It(l):Cr(l)}return typeof Promise<"u"&&c instanceof Promise?c.then((function(g){return br(l,a),Sr(g,l)}),(function(g){throw It(l),g})):(br(l,a),Sr(c,l))}if(!s||typeof s!="object"){if((c=i(s))===void 0&&(c=s),c===js&&(c=void 0),n.D&&Ir(c,!0),a){var m=[],h=[];Y("Patches").M(s,c,m,h),a(m,h)}return c}j(21,s)},this.produceWithPatches=function(s,i){if(typeof s=="function")return function(c){for(var l=arguments.length,d=Array(l>1?l-1:0),p=1;p<l;p++)d[p-1]=arguments[p];return n.produceWithPatches(c,(function(m){return s.apply(void 0,[m].concat(d))}))};var a,o,u=n.produce(s,i,(function(c,l){a=c,o=l}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(c){return[c,a,o]})):[u,a,o]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){V(r)||j(8),J(r)&&(r=eo(r));var n=_s(this),s=Tr(this,r,void 0);return s[T].C=!0,Cr(n),s},e.finishDraft=function(r,n){var s=r&&r[T],i=s.A;return br(i,n),Sr(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ps&&j(20),this.O=r},e.applyPatches=function(r,n){var s;for(s=n.length-1;s>=0;s--){var i=n[s];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}s>-1&&(n=n.slice(s+1));var a=Y("Patches").$;return J(r)?a(r,n):this.produce(r,(function(o){return a(o,n)}))},t})(),D=new so,io=D.produce,Qu=D.produceWithPatches.bind(D),Xu=D.setAutoFreeze.bind(D),Ju=D.setUseProxies.bind(D),Zu=D.applyPatches.bind(D),ec=D.createDraft.bind(D),tc=D.finishDraft.bind(D),Mt=io;function pe(t){"@babel/helpers - typeof";return pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pe(t)}function Hs(t,e){if(pe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(pe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Bs(t){var e=Hs(t,"string");return pe(e)=="symbol"?e:e+""}function qs(t,e,r){return(e=Bs(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function Mr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Vs(Object(r),!0).forEach(function(n){qs(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function I(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ks=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Pr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Pt={INIT:"@@redux/INIT"+Pr(),REPLACE:"@@redux/REPLACE"+Pr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Pr()}};function ao(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Nr(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(I(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(I(1));return r(Nr)(t,e)}if(typeof t!="function")throw new Error(I(2));var s=t,i=e,a=[],o=a,u=!1;function c(){o===a&&(o=a.slice())}function l(){if(u)throw new Error(I(3));return i}function d(g){if(typeof g!="function")throw new Error(I(4));if(u)throw new Error(I(5));var S=!0;return c(),o.push(g),function(){if(S){if(u)throw new Error(I(6));S=!1,c();var x=o.indexOf(g);o.splice(x,1),a=null}}}function p(g){if(!ao(g))throw new Error(I(7));if(typeof g.type>"u")throw new Error(I(8));if(u)throw new Error(I(9));try{u=!0,i=s(i,g)}finally{u=!1}for(var S=a=o,A=0;A<S.length;A++){var x=S[A];x()}return g}function m(g){if(typeof g!="function")throw new Error(I(10));s=g,p({type:Pt.REPLACE})}function h(){var g,S=d;return g={subscribe:function(x){if(typeof x!="object"||x===null)throw new Error(I(11));function w(){x.next&&x.next(l())}w();var C=S(w);return{unsubscribe:C}}},g[Ks]=function(){return this},g}return p({type:Pt.INIT}),n={dispatch:p,subscribe:d,getState:l,replaceReducer:m},n[Ks]=h,n}function oo(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Pt.INIT});if(typeof n>"u")throw new Error(I(12));if(typeof r(void 0,{type:Pt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(I(13))})}function zs(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var s=e[n];typeof t[s]=="function"&&(r[s]=t[s])}var i=Object.keys(r),a,o;try{oo(r)}catch(u){o=u}return function(c,l){if(c===void 0&&(c={}),o)throw o;if(0)var d;for(var p=!1,m={},h=0;h<i.length;h++){var g=i[h],S=r[g],A=c[g],x=S(A,l);if(typeof x>"u"){var w=l&&l.type;throw new Error(I(14))}m[g]=x,p=p||x!==A}return p=p||i.length!==Object.keys(c).length,p?m:c}}function Ie(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,s){return function(){return n(s.apply(void 0,arguments))}})}function Ws(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var s=n.apply(void 0,arguments),i=function(){throw new Error(I(15))},a={getState:s.getState,dispatch:function(){return i.apply(void 0,arguments)}},o=e.map(function(u){return u(a)});return i=Ie.apply(void 0,o)(s.dispatch),Mr(Mr({},s),{},{dispatch:i})}}}function Gs(t){var e=function(n){var s=n.dispatch,i=n.getState;return function(a){return function(o){return typeof o=="function"?o(s,i,t):a(o)}}};return e}var Ys=Gs();Ys.withExtraArgument=Gs;var Dr=Ys;var ei=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(n[i]=s[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),uo=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,s&&(i=c[0]&2?s.return:c[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;switch(s=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,s=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],s=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},ke=function(t,e){for(var r=0,n=e.length,s=t.length;r<n;r++,s++)t[s]=e[r];return t},co=Object.defineProperty,lo=Object.defineProperties,po=Object.getOwnPropertyDescriptors,Qs=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,Xs=function(t,e,r){return e in t?co(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},ie=function(t,e){for(var r in e||(e={}))ho.call(e,r)&&Xs(t,r,e[r]);if(Qs)for(var n=0,s=Qs(e);n<s.length;n++){var r=s[n];fo.call(e,r)&&Xs(t,r,e[r])}return t},Fr=function(t,e){return lo(t,po(e))},mo=function(t,e,r){return new Promise(function(n,s){var i=function(u){try{o(r.next(u))}catch(c){s(c)}},a=function(u){try{o(r.throw(u))}catch(c){s(c)}},o=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,a)};o((r=r.apply(t,e)).next())})};var yo=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ie:Ie.apply(null,arguments)},bc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function go(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function ae(t,e){function r(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ie(ie({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}var vo=(function(t){ei(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var s=t.apply(this,r)||this;return Object.setPrototypeOf(s,e.prototype),s}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ke([void 0],r[0].concat(this)))):new(e.bind.apply(e,ke([void 0],r.concat(this))))},e})(Array),bo=(function(t){ei(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var s=t.apply(this,r)||this;return Object.setPrototypeOf(s,e.prototype),s}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ke([void 0],r[0].concat(this)))):new(e.bind.apply(e,ke([void 0],r.concat(this))))},e})(Array);function $r(t){return V(t)?Mt(t,function(){}):t}function So(t){return typeof t=="boolean"}function Ao(){return function(e){return xo(e)}}function xo(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,s=n===void 0?!0:n,i=t.serializableCheck,a=i===void 0?!0:i,o=t.actionCreatorCheck,u=o===void 0?!0:o,c=new vo;if(r&&(So(r)?c.push(Dr):c.push(Dr.withExtraArgument(r.extraArgument))),0){if(s)var l;if(a)var d;if(u)var p}return c}var Ur=!0;function ti(t){var e=Ao(),r=t||{},n=r.reducer,s=n===void 0?void 0:n,i=r.middleware,a=i===void 0?e():i,o=r.devTools,u=o===void 0?!0:o,c=r.preloadedState,l=c===void 0?void 0:c,d=r.enhancers,p=d===void 0?void 0:d,m;if(typeof s=="function")m=s;else if(go(s))m=zs(s);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var h=a;if(typeof h=="function"&&(h=h(e),!Ur&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ur&&h.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var g=Ws.apply(void 0,h),S=Ie;u&&(S=yo(ie({trace:!Ur},typeof u=="object"&&u)));var A=new bo(g),x=A;Array.isArray(p)?x=ke([g],p):typeof p=="function"&&(x=p(A));var w=S.apply(void 0,x);return Nr(m,l,w)}function ri(t){var e={},r=[],n,s={addCase:function(i,a){var o=typeof i=="string"?i:i.type;if(!o)throw new Error("`builder.addCase` cannot be called with an empty action type");if(o in e)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return e[o]=a,s},addMatcher:function(i,a){return r.push({matcher:i,reducer:a}),s},addDefaultCase:function(i){return n=i,s}};return t(s),[e,r,n]}function Eo(t){return typeof t=="function"}function Co(t,e,r,n){r===void 0&&(r=[]);var s=typeof e=="function"?ri(e):[e,r,n],i=s[0],a=s[1],o=s[2],u;if(Eo(t))u=function(){return $r(t())};else{var c=$r(t);u=function(){return c}}function l(d,p){d===void 0&&(d=u());var m=ke([i[p.type]],a.filter(function(h){var g=h.matcher;return g(p)}).map(function(h){var g=h.reducer;return g}));return m.filter(function(h){return!!h}).length===0&&(m=[o]),m.reduce(function(h,g){if(g)if(J(h)){var S=h,A=g(S,p);return A===void 0?h:A}else{if(V(h))return Mt(h,function(x){return g(x,p)});var A=g(h,p);if(A===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return h},d)}return l.getInitialState=u,l}function To(t,e){return t+"/"+e}function ni(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:$r(t.initialState),n=t.reducers||{},s=Object.keys(n),i={},a={},o={};s.forEach(function(l){var d=n[l],p=To(e,l),m,h;"reducer"in d?(m=d.reducer,h=d.prepare):m=d,i[l]=m,a[p]=m,o[l]=h?ae(p,h):ae(p)});function u(){var l=typeof t.extraReducers=="function"?ri(t.extraReducers):[t.extraReducers],d=l[0],p=d===void 0?{}:d,m=l[1],h=m===void 0?[]:m,g=l[2],S=g===void 0?void 0:g,A=ie(ie({},p),a);return Co(r,function(x){for(var w in A)x.addCase(w,A[w]);for(var C=0,te=h;C<te.length;C++){var X=te[C];x.addMatcher(X.matcher,X.reducer)}S&&x.addDefaultCase(S)})}var c;return{name:e,reducer:function(l,d){return c||(c=u()),c(l,d)},actions:o,caseReducers:i,getInitialState:function(){return c||(c=u()),c.getInitialState()}}}var wo="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Oo=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=wo[Math.random()*64|0];return e},Ro=["name","message","stack","code"],jr=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),Js=(function(){function t(e,r){this.payload=e,this.meta=r}return t})(),_o=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Ro;r<n.length;r++){var s=n[r];typeof t[s]=="string"&&(e[s]=t[s])}return e}return{message:String(t)}},Ec=(function(){function t(e,r,n){var s=ae(e+"/fulfilled",function(l,d,p,m){return{payload:l,meta:Fr(ie({},m||{}),{arg:p,requestId:d,requestStatus:"fulfilled"})}}),i=ae(e+"/pending",function(l,d,p){return{payload:void 0,meta:Fr(ie({},p||{}),{arg:d,requestId:l,requestStatus:"pending"})}}),a=ae(e+"/rejected",function(l,d,p,m,h){return{payload:m,error:(n&&n.serializeError||_o)(l||"Rejected"),meta:Fr(ie({},h||{}),{arg:p,requestId:d,rejectedWithValue:!!m,requestStatus:"rejected",aborted:l?.name==="AbortError",condition:l?.name==="ConditionError"})}}),o=!1,u=typeof AbortController<"u"?AbortController:(function(){function l(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return l.prototype.abort=function(){},l})();function c(l){return function(d,p,m){var h=n?.idGenerator?n.idGenerator(l):Oo(),g=new u,S,A=!1;function x(C){S=C,g.abort()}var w=(function(){return mo(this,null,function(){var C,te,X,et,Cn,tt,Tn;return uo(this,function(Ce){switch(Ce.label){case 0:return Ce.trys.push([0,4,,5]),et=(C=n?.condition)==null?void 0:C.call(n,l,{getState:p,extra:m}),ko(et)?[4,et]:[3,2];case 1:et=Ce.sent(),Ce.label=2;case 2:if(et===!1||g.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,Cn=new Promise(function(q,rt){return g.signal.addEventListener("abort",function(){return rt({name:"AbortError",message:S||"Aborted"})})}),d(i(h,l,(te=n?.getPendingMeta)==null?void 0:te.call(n,{requestId:h,arg:l},{getState:p,extra:m}))),[4,Promise.race([Cn,Promise.resolve(r(l,{dispatch:d,getState:p,extra:m,requestId:h,signal:g.signal,abort:x,rejectWithValue:function(q,rt){return new jr(q,rt)},fulfillWithValue:function(q,rt){return new Js(q,rt)}})).then(function(q){if(q instanceof jr)throw q;return q instanceof Js?s(q.payload,h,l,q.meta):s(q,h,l)})])];case 3:return X=Ce.sent(),[3,5];case 4:return tt=Ce.sent(),X=tt instanceof jr?a(null,h,l,tt.payload,tt.meta):a(tt,h,l),[3,5];case 5:return Tn=n&&!n.dispatchConditionRejection&&a.match(X)&&X.meta.condition,Tn||d(X),[2,X]}})})})();return Object.assign(w,{abort:x,requestId:h,arg:l,unwrap:function(){return w.then(Io)}})}}return Object.assign(c,{pending:i,rejected:a,fulfilled:s,typePrefix:e})}return t.withTypes=function(){return t},t})();function Io(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ko(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var si="listener",ii="completed",ai="cancelled",Cc="task-"+ai,Tc="task-"+ii,wc=si+"-"+ai,Oc=si+"-"+ii;var Hr="listenerMiddleware";var Rc=ae(Hr+"/add"),_c=ae(Hr+"/removeAll"),Ic=ae(Hr+"/remove");var Zs,kc=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Zs||(Zs=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Lo=function(t){return function(e){setTimeout(e,t)}},Lc=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lo(10);Us();var Mo=Ct(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,s){this.eventBus.addEventListener(r,n,s)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,s){this.eventBus.removeEventListener(r,n,s)}}}),Nt=class extends Mo(Object){};window.ftReduxStores||(window.ftReduxStores={});var oi=class t extends Nt{static get(e){var r;let n=typeof e=="string"?e:e.name,s=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(_t(i))return i;if(s==null)return;let a=ni({...s,reducers:(r=s.reducers)!==null&&r!==void 0?r:{}}),o=ti({reducer:(u,c)=>{if(c.type==="CLEAR_FT_REDUX_STORE"){let l=it(a.getInitialState());for(let d of c.keeping)l[d]=(u??l)[d];return l}else if(typeof c.type=="string"&&c.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...c.overwrites};return a.reducer(u,c)}});return window.ftReduxStores[s.name]=new t(a,o,s.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Tt;let s=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,o)=>{let u=a,c=i[u];return c?(...l)=>{let d=c(...l.map(s));return this.reduxStore.dispatch(d),d}:l=>{this.setState({[u]:s(l)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Dt=class{static format(e,r,n,s,i){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,s,!!i)):this.getIntlDateTime(e,r,n,s,!!i)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,s,i){let a=typeof e=="string"?new Date(e):e,o=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),u=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return i?u:s?`${o} ${u}`:o}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ft=y(E()),Po="ft-app-info",Le=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Le.eventName="authentication-change";var dt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};dt.eventName="ui-locale-changed";var No={session:(t,e)=>{(0,Ft.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>b.dispatchEvent(new Le(e.payload)),0))}},b=Ft.FtReduxStore.get({name:Po,reducers:No,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var ui=y(E()),Ut=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},al=(0,ui.applyMixinOnce)(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(b)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var s,i;return((i=(s=this.metadataDescriptors.find(o=>o.key===n))===null||s===void 0?void 0:s.date)!==null&&i!==void 0?i:!1)?o=>Dt.format(o,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Ut([(0,Br.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Ut([(0,Br.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Ut([vr({store:b.name,selector:r=>{var n,s;return(s=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&s!==void 0?s:[]}})],e.prototype,"metadataDescriptors",void 0),Ut([vr({store:b.name})],e.prototype,"uiLocale",void 0),e});var qt=y(E());var qr=y(E());var he=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=b.getState(),s=e??n;if(r&&s&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,s,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let s=b.subscribe(()=>{n=t.get(e),n&&(s(),r(n))})}})}};var Me=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:he.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):he.await()}};var N=class extends Me{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(i,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([o],[u])=>o.localeCompare(u)));let s=this.constructor;s.commonCache=(n=s.commonCache)!==null&&n!==void 0?n:new qr.CacheRegistry,this.cache=e?s.commonCache:new qr.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var jt=class extends N{async listMySearches(){let{session:e}=b.getState();return ys(e,R.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var $t=class extends N{async listMyBookmarks(){let e=b.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Ht=class extends N{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=b.getState().session;return!!e?.sessionAuthenticated}};var Bt=class extends N{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=b.getState().session;return!!e?.sessionAuthenticated}};var Do="ft-user-assets",Fo={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(U).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:s}=e.payload;Kr(t,r,[...Vr(t,r),s]),ci(t,r,1,n),li(t,s)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;Kr(t,r,Vr(t,r).map(s=>s.id===n.id?n:s)),li(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:s}=e.payload;Kr(t,r,Vr(t,r).filter(i=>i.id!==s)),ci(t,r,-1,n)}},di={[U.SEARCHES]:"savedSearches",[U.BOOKMARKS]:"bookmarks",[U.BOOKS]:void 0,[U.COLLECTIONS]:void 0},Vr=(t,e)=>{var r;let n=di[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},Kr=(t,e,r)=>{let n=di[e];n&&(t[n]=r)},ci=(t,e,r,n)=>{let s=t.assetCounts.allAsset[e];if(s!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,s+r),e===U.BOOKMARKS&&n)){let i=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},li=(t,e)=>{let r=t.assetLabels.map(s=>s.title),n=e.labels.filter(s=>!r.includes(s)).map(s=>({title:s}));t.assetLabels.push(...n)},M=qt.FtReduxStore.get({name:Do,reducers:Fo,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(U).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),zr=class{constructor(e=new Ht,r=new Bt){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=b.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new $t,this.savedSearchesService=new jt,b.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=b.getState();(0,qt.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),M.actions.clearAssetCount(),M.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),M.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),M.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();M.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();M.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&M.getState().assetCounts.allAsset[e]!==r.count&&M.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&M.getState().assetCounts.bookmarkByMap[e]!==r.count&&M.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(M.getState().assetCounts.bookmarkByMap).length!==0;e===U.BOOKMARKS&&r&&M.actions.clearBookmarkCountByMap(),M.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;M.actions.bookmarks(r)}}},Uo=new zr;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Uo);var Wr=class{addCommand(e,r=!1){b.commands.add(e,r)}consumeCommand(e){return b.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Wr;var $=y(E());var pi,Pe=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},jo=Symbol("clearAfterUnitTest"),Vt=class extends(0,$.withEventBus)(N){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[pi]=()=>{this.defaultMessages={},this.cache=new $.CacheRegistry,this.listeners={}},this.currentUiLocale=b.getState().uiLocale,b.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=b.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let s={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};(0,$.deepEqual)(this.defaultMessages[e],s)||(this.defaultMessages[e]=s,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var s;let i=e.toLowerCase(),a=this.resolveContext(i);return new $.ParametrizedLabelResolver((s=this.defaultMessages[i])!==null&&s!==void 0?s:{},a).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(s){!(s instanceof $.CanceledPromiseError)&&r&&console.error(s)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var s;return(s=this.listeners[e])===null||s===void 0?void 0:s.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Pe({loadedContexts:e})),this.dispatchEvent(new Pe({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Pe({loadedContexts:[e]})),this.dispatchEvent(new Pe({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,$.delay)(0).then(()=>n()).catch(()=>null)))}};pi=jo;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Vt{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Vt{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Ne=window.FluidTopicsI18nService,Kt=window.FluidTopicsCustomI18nService;var hi=y(E()),Gr=class{highlightHtml(e,r,n){(0,hi.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Gr;var fi=y(E());var Yr=class{isDate(e){var r,n,s,i;return(i=(s=((n=(r=b.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(o=>o.key===e))===null||s===void 0?void 0:s.date)!==null&&i!==void 0?i:!1}format(e,r){var n,s,i,a;if(e==null)return"";try{return fi.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:b.getState().uiLocale,(s=r?.longFormat)!==null&&s!==void 0?s:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(o){throw console.error(`Date ${JSON.stringify(e)} is not valid`,o),o}}};window.FluidTopicsDateService=new Yr;var mi=y(E());var pt=class{static get(e,r){var n,s;let i=b.getState(),{lang:a,region:o}=(s=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&s!==void 0?s:{lang:"en",region:"US"};return new mi.SearchPlaceConverter(i.baseUrl,e??20,i.searchInAllLanguagesAllowed,r??`${a}-${o}`)}};var Qr=class{urlToSearchRequest(e){return pt.get().parse(e)}searchRequestToUrl(e){return pt.get().serialize(e)}};window.FluidTopicsUrlService=new Qr;var Z=y(E());var fe=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};fe.eventName="change";var Xr=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},yi=new Xr;var zt=class t extends Z.WithEventBus{static build(){return new t(window.history,yi,()=>window.location,!1)}constructor(e,r,n,s){var i,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(s)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Z.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new fe(this.currentItem())),0)}installProxies(){let e=r=>(n,s,[i,a,o])=>{let u=r(),c={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof o=="string"?o:(o??this.windowLocation()).href};n.apply(s,[c,a,o]),this.setCurrentState(c,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(fe.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(fe.eventName,e)}currentItem(){return(0,Z.deepCopy)(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Z.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,Z.deepCopy)(r.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return(0,Z.deepCopy)(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let s=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(s=i),i++;return s}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let s=r??this.currentState.majorStateId,i=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=s}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=zt.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var gi=y(L());var vi=gi.css`
|
|
7
|
+
`;var Si=y(L()),F=y(P()),ge=y(E());var me=y(E());function bi(t,e){let{authenticationRequired:r,session:n}=b.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Wt=class extends Me{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var Jr=class t extends me.FtStateManager{static build(e){return new t(b,e)}constructor(e,r){super(),this.store=e,this.cache=new me.CacheRegistry,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new Wt,this.cleanSessionDebouncer=new me.Debouncer,this.reloadDebouncer=new me.Debouncer(500),this.apiProvider=r??(()=>he.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}async initService(){this.store.addEventListener(Le.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>bi(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}reloadConfiguration(){var e;(e=this.cache)===null||e===void 0||e.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){var r,n,s,i,a;this.localesConfiguration=e,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((r=this.localesConfiguration.availableUiLocales)!==null&&r!==void 0?r:[]),this.store.actions.searchInAllLanguagesAllowed((n=this.localesConfiguration.allLanguagesAllowed)!==null&&n!==void 0?n:!1),this.store.actions.searchLanguageSetsUiLanguage((s=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&s!==void 0?s:!1),this.store.actions.uiLanguageSetsSearchLanguage((i=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&i!==void 0?i:!1),this.store.actions.uiLanguageSetsReaderLanguage((a=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&a!==void 0?a:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e){this.userLocaleService.updateUiLocale({uiLocale:e}).then(r=>{r.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new dt(r)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}},Zr=Jr.build();var ye=class extends Event{constructor(e,r,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=s??!1}};var ht=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=r;for(let{elementRef:s,callbackRef:i}of n){let a=s.deref(),o=i.deref();a===void 0||o===void 0||a.dispatchEvent(new ye(e.context,a,o,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,s=this.pendingContextRequests.get(e.context);s===void 0&&this.pendingContextRequests.set(e.context,s={callbacks:new WeakMap,requests:[]});let i=s.callbacks.get(r);i===void 0&&s.callbacks.set(r,i=new WeakSet),i.has(n)||(i.add(n),s.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var k=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},O=class extends ge.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=Zr,this.contextRoot=new ht}render(){return Si.html`
|
|
8
8
|
<slot></slot>
|
|
9
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(
|
|
9
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Ne.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};O.elementDefinitions={};O.styles=vi;k([(0,F.property)()],O.prototype,"baseUrl",void 0);k([(0,F.property)()],O.prototype,"apiIntegrationIdentifier",void 0);k([(0,F.property)()],O.prototype,"apiIntegrationAppVersion",void 0);k([(0,F.property)()],O.prototype,"uiLocale",void 0);k([(0,ge.jsonProperty)(null)],O.prototype,"availableUiLocales",void 0);k([(0,ge.jsonProperty)(null)],O.prototype,"metadataConfiguration",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"editorMode",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"noCustom",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"openExternalDocumentInNewTab",void 0);k([(0,F.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],O.prototype,"noCustomComponent",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"withManualResources",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"navigatorOnline",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"forcedOffline",void 0);k([(0,F.property)({type:Boolean})],O.prototype,"authenticationRequired",void 0);k([(0,ge.jsonProperty)([])],O.prototype,"messageContexts",void 0);k([(0,ge.jsonProperty)(void 0)],O.prototype,"session",void 0);var xi=y(E());var Ai={"ft-app-context":O};(0,xi.customElements)(Ai);var Gt=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Yt=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}};var Qt=class t extends Event{constructor(){super(t.eventName)}};Qt.eventName="search-context-clear-all-filters";var Ei=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},rn=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ci=Symbol("registerInterval"),en=Symbol("registerAttempts"),Bo=40,qo=(0,Fe.applyMixinOnce)(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var s,i,a;super.willUpdate(n),n.has("neededSearchRequests")&&((s=this.stateManager)===null||s===void 0||s.unregisterComponent(this,(i=n.get("neededSearchRequests"))!==null&&i!==void 0?i:[]),(a=this.stateManager)===null||a===void 0||a.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[en]=0,this.tryToRegisterToContext(),this[Ci]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[en]>Bo?window.clearInterval(this[Ci]):(this[en]++,this.dispatchEvent(new rn))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Ei([(0,tn.state)()],e.prototype,"stateManager",void 0),Ei([(0,tn.state)({hasChanged:Fe.hasChanged})],e.prototype,"neededSearchRequests",void 0),e}),De=class extends qo(Fe.FtLitElementRedux){};var Ti=y(L());var wi=Ti.css`
|
|
10
10
|
a {
|
|
11
11
|
color: inherit;
|
|
12
12
|
text-decoration: inherit;
|
|
13
13
|
}
|
|
14
|
-
`;var
|
|
14
|
+
`;var Oi=y(L()),Ue=y(P()),Ri=y(E());var Xt=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}};var Jt=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},nn=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Q=class extends Ri.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Xt(e=>this.onResultSelected(e))}render(){return Oi.html`
|
|
15
15
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
16
|
-
`}onResultSelected(
|
|
16
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new nn(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Q.elementDefinitions={};Q.styles=wi;Jt([(0,Ue.property)({attribute:!1})],Q.prototype,"cluster",void 0);Jt([(0,Ue.property)({attribute:!1,type:Boolean})],Q.prototype,"openResultInNewTab",void 0);Jt([(0,Ue.state)()],Q.prototype,"result",void 0);Jt([(0,Ue.property)()],Q.prototype,"index",void 0);var Ii=y(E());var _i={"ft-search-result-context":Q};(0,Ii.customElements)(_i);var ki=y(L()),Li=y(E()),Vo={highlightBackgroundColor:Li.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Mi=ki.css`
|
|
17
17
|
.kwicmatch {
|
|
18
18
|
font-weight: 700;
|
|
19
|
-
background-color: ${
|
|
19
|
+
background-color: ${Vo.highlightBackgroundColor};
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
a {
|
|
@@ -27,10 +27,74 @@
|
|
|
27
27
|
a:focus {
|
|
28
28
|
outline: revert;
|
|
29
29
|
}
|
|
30
|
-
`;var
|
|
31
|
-
\f\r]`,
|
|
32
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Va=/'/g,Ka=/"/g,Qa=/^(?:script|style|textarea|title)$/i,Ao=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),Xa=Ao(1),Ja=Ao(2),ei=Ao(3),At=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),qa=new WeakMap,Ae=we.createTreeWalker(we,129);function ti(r,t){if(!Eo(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wa!==void 0?Wa.createHTML(t):t}var Oc=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=Ot;for(let d=0;d<o;d++){let u=r[d],p,f,h=-1,y=0;for(;y<u.length&&(c.lastIndex=y,f=c.exec(u),f!==null);)y=c.lastIndex,c===Ot?f[1]==="!--"?c=$a:f[1]!==void 0?c=ja:f[2]!==void 0?(Qa.test(f[2])&&(i=RegExp("</"+f[2],"g")),c=Ee):f[3]!==void 0&&(c=Ee):c===Ee?f[0]===">"?(c=i??Ot,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?Ee:f[3]==='"'?Ka:Va):c===Ka||c===Va?c=Ee:c===$a||c===ja?c=Ot:(c=Ee,i=void 0);let b=c===Ee&&r[d+1].startsWith("/>")?" ":"";s+=c===Ot?u+Sc:h>=0?(n.push(p),u.slice(0,h)+Za+u.slice(h)+ue+b):u+ue+(h===-2?d:b)}return[ti(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},wt=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,f]=Oc(t,o);if(this.el=r.createElement(p,n),Ae.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ae.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Za)){let y=f[c++],b=i.getAttribute(h).split(ue),g=/([.?@])?(.*)/.exec(y);u.push({type:1,index:s,name:g[2],strings:b,ctor:g[1]==="."?xo:g[1]==="?"?vo:g[1]==="@"?So:Ke}),i.removeAttribute(h)}else h.startsWith(ue)&&(u.push({type:6,index:s}),i.removeAttribute(h));if(Qa.test(i.tagName)){let h=i.textContent.split(ue),y=h.length-1;if(y>0){i.textContent=ur?ur.emptyScript:"";for(let b=0;b<y;b++)i.append(h[b],pr()),Ae.nextNode(),u.push({type:2,index:++s});i.append(h[y],pr())}}}else if(i.nodeType===8)if(i.data===Ya)u.push({type:2,index:s});else{let h=-1;for(;(h=i.data.indexOf(ue,h+1))!==-1;)u.push({type:7,index:s}),h+=ue.length-1}s++}}static createElement(t,o){let n=we.createElement("template");return n.innerHTML=t,n}};function Ve(r,t,o=r,n){if(t===At)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Et(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ve(r,i._$AS(r,t.values),i,n)),t}var bo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??we).importNode(o,!0);Ae.currentNode=i;let s=Ae.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new fr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Co(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=Ae.nextNode(),c++)}return Ae.currentNode=we,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},fr=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=N,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ve(this,t,o),Et(t)?t===N||t==null||t===""?(this._$AH!==N&&this._$AR(),this._$AH=N):t!==this._$AH&&t!==At&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Cc(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==N&&Et(this._$AH)?this._$AA.nextSibling.data=t:this.T(we.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=wt.createElement(ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new bo(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=qa.get(t.strings);return o===void 0&&qa.set(t.strings,o=new wt(t)),o}k(t){Eo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(pr()),this.O(pr()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=N,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=N}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=Ve(this,t,o,0),c=!Et(t)||t!==this._$AH&&t!==At,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=Ve(this,d[n+u],o,u),p===At&&(p=this._$AH[u]),c||=!Et(p)||p!==this._$AH[u],p===N?t=N:t!==N&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!i&&this.j(t)}j(t){t===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},xo=class extends Ke{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===N?void 0:t}},vo=class extends Ke{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==N)}},So=class extends Ke{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=Ve(this,t,o,0)??N)===At)return;let n=this._$AH,i=t===N&&n!==N||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==N&&(n===N||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Co=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ve(this,t)}};var Ec=Oo.litHtmlPolyfillSupport;Ec?.(wt,fr),(Oo.litHtmlVersions??=[]).push("3.3.0");var oi=Symbol.for(""),Ac=r=>{if(r?.r===oi)return r?._$litStatic$},qe=r=>({_$litStatic$:r,r:oi});var ri=new Map,wo=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,p=0,f=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(i=Ac(s))!==void 0);)u+=i+t[++p],f=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),f){let h=c.join("$$lit$$");(t=ri.get(h))===void 0&&(c.raw=c,ri.set(h,t=c)),o=d}return r(t,...o)},Ze=wo(Xa),_f=wo(Ja),Ff=wo(ei);var Ro=x(D()),mi=x(E());var pe;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(pe||(pe={}));var $=x(P()),m=x(E()),ni=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),oe=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),S={fontFamily:oe,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ye={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ni),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},Qe={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ni),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},Xe={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},Je={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},et={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},tt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},rt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},ot={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},nt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},at={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",oe),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},ai=$.css`
|
|
30
|
+
`;var bt=y(L()),ya=y(P()),ga=y(E());var tr=y(E());var er=y(P()),Zt=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},an=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},sn=Symbol("registerInterval"),Ko=(0,tr.applyMixinOnce)(Symbol("toFtSearchResultComponent"),function(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(s){this.resultStateManager=s}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[sn]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[sn]):this.dispatchEvent(new an)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=sn,Zt([(0,er.property)({attribute:!1})],r.prototype,"cluster",void 0),Zt([(0,er.property)({attribute:!1})],r.prototype,"result",void 0),Zt([(0,tr.numberProperty)()],r.prototype,"rank",void 0),Zt([(0,er.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}),je=class extends Ko(De){};var hn=globalThis,rr=hn.trustedTypes,Pi=rr?rr.createPolicy("lit-html",{createHTML:t=>t}):void 0,$i="$lit$",oe=`lit$${Math.random().toFixed(9).slice(2)}$`,Hi="?"+oe,zo=`<${Hi}>`,Ae=document,nr=()=>Ae.createComment(""),mt=t=>t===null||typeof t!="object"&&typeof t!="function",fn=Array.isArray,Wo=t=>fn(t)||typeof t?.[Symbol.iterator]=="function",on=`[
|
|
31
|
+
\f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ni=/-->/g,Di=/>/g,be=RegExp(`>|${on}(?:([^\\s"'>=/]+)(${on}*=${on}*(?:[^
|
|
32
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Fi=/'/g,Ui=/"/g,Bi=/^(?:script|style|textarea|title)$/i,mn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),qi=mn(1),Vi=mn(2),Ki=mn(3),yt=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),ji=new WeakMap,Se=Ae.createTreeWalker(Ae,129);function zi(t,e){if(!fn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Pi!==void 0?Pi.createHTML(e):e}var Go=(t,e)=>{let r=t.length-1,n=[],s,i=e===2?"<svg>":e===3?"<math>":"",a=ft;for(let o=0;o<r;o++){let u=t[o],c,l,d=-1,p=0;for(;p<u.length&&(a.lastIndex=p,l=a.exec(u),l!==null);)p=a.lastIndex,a===ft?l[1]==="!--"?a=Ni:l[1]!==void 0?a=Di:l[2]!==void 0?(Bi.test(l[2])&&(s=RegExp("</"+l[2],"g")),a=be):l[3]!==void 0&&(a=be):a===be?l[0]===">"?(a=s??ft,d=-1):l[1]===void 0?d=-2:(d=a.lastIndex-l[2].length,c=l[1],a=l[3]===void 0?be:l[3]==='"'?Ui:Fi):a===Ui||a===Fi?a=be:a===Ni||a===Di?a=ft:(a=be,s=void 0);let m=a===be&&t[o+1].startsWith("/>")?" ":"";i+=a===ft?u+zo:d>=0?(n.push(c),u.slice(0,d)+$i+u.slice(d)+oe+m):u+oe+(d===-2?o:m)}return[zi(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},gt=class t{constructor({strings:e,_$litType$:r},n){let s;this.parts=[];let i=0,a=0,o=e.length-1,u=this.parts,[c,l]=Go(e,r);if(this.el=t.createElement(c,n),Se.currentNode=this.el.content,r===2||r===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(s=Se.nextNode())!==null&&u.length<o;){if(s.nodeType===1){if(s.hasAttributes())for(let d of s.getAttributeNames())if(d.endsWith($i)){let p=l[a++],m=s.getAttribute(d).split(oe),h=/([.?@])?(.*)/.exec(p);u.push({type:1,index:i,name:h[2],strings:m,ctor:h[1]==="."?cn:h[1]==="?"?ln:h[1]==="@"?dn:He}),s.removeAttribute(d)}else d.startsWith(oe)&&(u.push({type:6,index:i}),s.removeAttribute(d));if(Bi.test(s.tagName)){let d=s.textContent.split(oe),p=d.length-1;if(p>0){s.textContent=rr?rr.emptyScript:"";for(let m=0;m<p;m++)s.append(d[m],nr()),Se.nextNode(),u.push({type:2,index:++i});s.append(d[p],nr())}}}else if(s.nodeType===8)if(s.data===Hi)u.push({type:2,index:i});else{let d=-1;for(;(d=s.data.indexOf(oe,d+1))!==-1;)u.push({type:7,index:i}),d+=oe.length-1}i++}}static createElement(e,r){let n=Ae.createElement("template");return n.innerHTML=e,n}};function $e(t,e,r=t,n){if(e===yt)return e;let s=n!==void 0?r._$Co?.[n]:r._$Cl,i=mt(e)?void 0:e._$litDirective$;return s?.constructor!==i&&(s?._$AO?.(!1),i===void 0?s=void 0:(s=new i(t),s._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=s:r._$Cl=s),s!==void 0&&(e=$e(t,s._$AS(t,e.values),s,n)),e}var un=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,s=(e?.creationScope??Ae).importNode(r,!0);Se.currentNode=s;let i=Se.nextNode(),a=0,o=0,u=n[0];for(;u!==void 0;){if(a===u.index){let c;u.type===2?c=new sr(i,i.nextSibling,this,e):u.type===1?c=new u.ctor(i,u.name,u.strings,this,e):u.type===6&&(c=new pn(i,this,e)),this._$AV.push(c),u=n[++o]}a!==u?.index&&(i=Se.nextNode(),a++)}return Se.currentNode=Ae,s}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},sr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,s){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$e(this,e,r),mt(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==yt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Wo(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==_&&mt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ae.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,s=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=gt.createElement(zi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===s)this._$AH.p(r);else{let i=new un(s,this),a=i.u(this.options);i.p(r),this.T(a),this._$AH=i}}_$AC(e){let r=ji.get(e.strings);return r===void 0&&ji.set(e.strings,r=new gt(e)),r}k(e){fn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,s=0;for(let i of e)s===r.length?r.push(n=new t(this.O(nr()),this.O(nr()),this,this.options)):n=r[s],n._$AI(i),s++;s<r.length&&(this._$AR(n&&n._$AB.nextSibling,s),r.length=s)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,s,i){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=r,this._$AM=s,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=_}_$AI(e,r=this,n,s){let i=this.strings,a=!1;if(i===void 0)e=$e(this,e,r,0),a=!mt(e)||e!==this._$AH&&e!==yt,a&&(this._$AH=e);else{let o=e,u,c;for(e=i[0],u=0;u<i.length-1;u++)c=$e(this,o[n+u],r,u),c===yt&&(c=this._$AH[u]),a||=!mt(c)||c!==this._$AH[u],c===_?e=_:e!==_&&(e+=(c??"")+i[u+1]),this._$AH[u]=c}a&&!s&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cn=class extends He{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},ln=class extends He{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},dn=class extends He{constructor(e,r,n,s,i){super(e,r,n,s,i),this.type=5}_$AI(e,r=this){if((e=$e(this,e,r,0)??_)===yt)return;let n=this._$AH,s=e===_&&n!==_||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==_&&(n===_||s);s&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},pn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$e(this,e)}};var Yo=hn.litHtmlPolyfillSupport;Yo?.(gt,sr),(hn.litHtmlVersions??=[]).push("3.3.0");var Gi=Symbol.for(""),Qo=t=>{if(t?.r===Gi)return t?._$litStatic$},yn=t=>({_$litStatic$:t,r:Gi});var Wi=new Map,gn=t=>(e,...r)=>{let n=r.length,s,i,a=[],o=[],u,c=0,l=!1;for(;c<n;){for(u=e[c];c<n&&(i=r[c],(s=Qo(i))!==void 0);)u+=s+e[++c],l=!0;c!==n&&o.push(i),a.push(u),c++}if(c===n&&a.push(e[n]),l){let d=a.join("$$lit$$");(e=Wi.get(d))===void 0&&(a.raw=a,Wi.set(d,e=a)),r=o}return t(e,...r)},vn=gn(qi),rh=gn(Vi),nh=gn(Ki);var bn=y(P()),ua=y(E());var ue;(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"})(ue||(ue={}));var H=y(L()),f=y(E()),Yi=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.titleFont),ee=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.contentFont),v={fontFamily:ee,fontSize:f.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:f.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:f.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:f.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:f.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Be={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yi),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-font-size","",v.fontSize,"20px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",v.letterSpacing,"0.15px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-line-height","",v.lineHeight,"1.2"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",v.textTransform,"inherit")},qe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yi),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",v.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",v.letterSpacing,"0.105px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",v.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",v.textTransform,"inherit")},Ve={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",v.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",v.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",v.letterSpacing,"0.144px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",v.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",v.textTransform,"inherit")},Ke={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",v.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",v.letterSpacing,"0.098px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",v.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",v.textTransform,"inherit")},ze={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",v.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",v.letterSpacing,"0.496px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",v.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",v.textTransform,"inherit")},We={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",v.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",v.letterSpacing,"0.252px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",v.lineHeight,"1.4"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",v.textTransform,"inherit")},Ge={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",v.fontSize,"12px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",v.letterSpacing,"0.396px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",v.lineHeight,"1.33"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",v.textTransform,"inherit")},Ye={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",v.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",v.letterSpacing,"0.33px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",v.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",v.textTransform,"inherit")},Qe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",v.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",v.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",v.letterSpacing,"1.5px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",v.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",v.textTransform,"uppercase")},Xe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ee),fontSize:f.FtCssVariableFactory.extend("--ft-typography-button-font-size","",v.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",v.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",v.letterSpacing,"1.246px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-button-line-height","",v.lineHeight,"1.15"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",v.textTransform,"uppercase")},Qi=H.css`
|
|
33
33
|
.ft-typography--title {
|
|
34
|
+
font-family: ${Be.fontFamily};
|
|
35
|
+
font-size: ${Be.fontSize};
|
|
36
|
+
font-weight: ${Be.fontWeight};
|
|
37
|
+
letter-spacing: ${Be.letterSpacing};
|
|
38
|
+
line-height: ${Be.lineHeight};
|
|
39
|
+
text-transform: ${Be.textTransform};
|
|
40
|
+
}
|
|
41
|
+
`,Xi=H.css`
|
|
42
|
+
.ft-typography--title-dense {
|
|
43
|
+
font-family: ${qe.fontFamily};
|
|
44
|
+
font-size: ${qe.fontSize};
|
|
45
|
+
font-weight: ${qe.fontWeight};
|
|
46
|
+
letter-spacing: ${qe.letterSpacing};
|
|
47
|
+
line-height: ${qe.lineHeight};
|
|
48
|
+
text-transform: ${qe.textTransform};
|
|
49
|
+
}
|
|
50
|
+
`,Ji=H.css`
|
|
51
|
+
.ft-typography--subtitle1 {
|
|
52
|
+
font-family: ${Ve.fontFamily};
|
|
53
|
+
font-size: ${Ve.fontSize};
|
|
54
|
+
font-weight: ${Ve.fontWeight};
|
|
55
|
+
letter-spacing: ${Ve.letterSpacing};
|
|
56
|
+
line-height: ${Ve.lineHeight};
|
|
57
|
+
text-transform: ${Ve.textTransform};
|
|
58
|
+
}
|
|
59
|
+
`,Zi=H.css`
|
|
60
|
+
.ft-typography--subtitle2 {
|
|
61
|
+
font-family: ${Ke.fontFamily};
|
|
62
|
+
font-size: ${Ke.fontSize};
|
|
63
|
+
font-weight: ${Ke.fontWeight};
|
|
64
|
+
letter-spacing: ${Ke.letterSpacing};
|
|
65
|
+
line-height: ${Ke.lineHeight};
|
|
66
|
+
text-transform: ${Ke.textTransform};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
`,ea=H.css`
|
|
70
|
+
.ft-typography--body1 {
|
|
71
|
+
font-family: ${ze.fontFamily};
|
|
72
|
+
font-size: ${ze.fontSize};
|
|
73
|
+
font-weight: ${ze.fontWeight};
|
|
74
|
+
letter-spacing: ${ze.letterSpacing};
|
|
75
|
+
line-height: ${ze.lineHeight};
|
|
76
|
+
text-transform: ${ze.textTransform};
|
|
77
|
+
}
|
|
78
|
+
`,ta=H.css`
|
|
79
|
+
.ft-typography--body2 {
|
|
80
|
+
font-family: ${We.fontFamily};
|
|
81
|
+
font-size: ${We.fontSize};
|
|
82
|
+
font-weight: ${We.fontWeight};
|
|
83
|
+
letter-spacing: ${We.letterSpacing};
|
|
84
|
+
line-height: ${We.lineHeight};
|
|
85
|
+
text-transform: ${We.textTransform};
|
|
86
|
+
}
|
|
87
|
+
`,ra=H.css`
|
|
88
|
+
.ft-typography--caption {
|
|
89
|
+
font-family: ${Ge.fontFamily};
|
|
90
|
+
font-size: ${Ge.fontSize};
|
|
91
|
+
font-weight: ${Ge.fontWeight};
|
|
92
|
+
letter-spacing: ${Ge.letterSpacing};
|
|
93
|
+
line-height: ${Ge.lineHeight};
|
|
94
|
+
text-transform: ${Ge.textTransform};
|
|
95
|
+
}
|
|
96
|
+
`,na=H.css`
|
|
97
|
+
.ft-typography--breadcrumb {
|
|
34
98
|
font-family: ${Ye.fontFamily};
|
|
35
99
|
font-size: ${Ye.fontSize};
|
|
36
100
|
font-weight: ${Ye.fontWeight};
|
|
@@ -38,8 +102,8 @@
|
|
|
38
102
|
line-height: ${Ye.lineHeight};
|
|
39
103
|
text-transform: ${Ye.textTransform};
|
|
40
104
|
}
|
|
41
|
-
`,
|
|
42
|
-
.ft-typography--
|
|
105
|
+
`,sa=H.css`
|
|
106
|
+
.ft-typography--overline {
|
|
43
107
|
font-family: ${Qe.fontFamily};
|
|
44
108
|
font-size: ${Qe.fontSize};
|
|
45
109
|
font-weight: ${Qe.fontWeight};
|
|
@@ -47,8 +111,8 @@
|
|
|
47
111
|
line-height: ${Qe.lineHeight};
|
|
48
112
|
text-transform: ${Qe.textTransform};
|
|
49
113
|
}
|
|
50
|
-
`,
|
|
51
|
-
.ft-typography--
|
|
114
|
+
`,ia=H.css`
|
|
115
|
+
.ft-typography--button {
|
|
52
116
|
font-family: ${Xe.fontFamily};
|
|
53
117
|
font-size: ${Xe.fontSize};
|
|
54
118
|
font-weight: ${Xe.fontWeight};
|
|
@@ -56,141 +120,58 @@
|
|
|
56
120
|
line-height: ${Xe.lineHeight};
|
|
57
121
|
text-transform: ${Xe.textTransform};
|
|
58
122
|
}
|
|
59
|
-
`,
|
|
60
|
-
.ft-typography--subtitle2 {
|
|
61
|
-
font-family: ${Je.fontFamily};
|
|
62
|
-
font-size: ${Je.fontSize};
|
|
63
|
-
font-weight: ${Je.fontWeight};
|
|
64
|
-
letter-spacing: ${Je.letterSpacing};
|
|
65
|
-
line-height: ${Je.lineHeight};
|
|
66
|
-
text-transform: ${Je.textTransform};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
`,li=$.css`
|
|
70
|
-
.ft-typography--body1 {
|
|
71
|
-
font-family: ${et.fontFamily};
|
|
72
|
-
font-size: ${et.fontSize};
|
|
73
|
-
font-weight: ${et.fontWeight};
|
|
74
|
-
letter-spacing: ${et.letterSpacing};
|
|
75
|
-
line-height: ${et.lineHeight};
|
|
76
|
-
text-transform: ${et.textTransform};
|
|
77
|
-
}
|
|
78
|
-
`,di=$.css`
|
|
79
|
-
.ft-typography--body2 {
|
|
80
|
-
font-family: ${tt.fontFamily};
|
|
81
|
-
font-size: ${tt.fontSize};
|
|
82
|
-
font-weight: ${tt.fontWeight};
|
|
83
|
-
letter-spacing: ${tt.letterSpacing};
|
|
84
|
-
line-height: ${tt.lineHeight};
|
|
85
|
-
text-transform: ${tt.textTransform};
|
|
86
|
-
}
|
|
87
|
-
`,ui=$.css`
|
|
88
|
-
.ft-typography--caption {
|
|
89
|
-
font-family: ${rt.fontFamily};
|
|
90
|
-
font-size: ${rt.fontSize};
|
|
91
|
-
font-weight: ${rt.fontWeight};
|
|
92
|
-
letter-spacing: ${rt.letterSpacing};
|
|
93
|
-
line-height: ${rt.lineHeight};
|
|
94
|
-
text-transform: ${rt.textTransform};
|
|
95
|
-
}
|
|
96
|
-
`,pi=$.css`
|
|
97
|
-
.ft-typography--breadcrumb {
|
|
98
|
-
font-family: ${ot.fontFamily};
|
|
99
|
-
font-size: ${ot.fontSize};
|
|
100
|
-
font-weight: ${ot.fontWeight};
|
|
101
|
-
letter-spacing: ${ot.letterSpacing};
|
|
102
|
-
line-height: ${ot.lineHeight};
|
|
103
|
-
text-transform: ${ot.textTransform};
|
|
104
|
-
}
|
|
105
|
-
`,fi=$.css`
|
|
106
|
-
.ft-typography--overline {
|
|
107
|
-
font-family: ${nt.fontFamily};
|
|
108
|
-
font-size: ${nt.fontSize};
|
|
109
|
-
font-weight: ${nt.fontWeight};
|
|
110
|
-
letter-spacing: ${nt.letterSpacing};
|
|
111
|
-
line-height: ${nt.lineHeight};
|
|
112
|
-
text-transform: ${nt.textTransform};
|
|
113
|
-
}
|
|
114
|
-
`,hi=$.css`
|
|
115
|
-
.ft-typography--button {
|
|
116
|
-
font-family: ${at.fontFamily};
|
|
117
|
-
font-size: ${at.fontSize};
|
|
118
|
-
font-weight: ${at.fontWeight};
|
|
119
|
-
letter-spacing: ${at.letterSpacing};
|
|
120
|
-
line-height: ${at.lineHeight};
|
|
121
|
-
text-transform: ${at.textTransform};
|
|
122
|
-
}
|
|
123
|
-
`,yi=$.css`
|
|
123
|
+
`,aa=H.css`
|
|
124
124
|
.ft-typography {
|
|
125
125
|
vertical-align: inherit;
|
|
126
126
|
}
|
|
127
|
-
`;var
|
|
128
|
-
<${
|
|
127
|
+
`;var oa=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},K=class extends ua.FtLitElement{constructor(){super(...arguments),this.variant=ue.body1}render(){return this.element?vn`
|
|
128
|
+
<${yn(this.element)}
|
|
129
129
|
part="text"
|
|
130
130
|
class="ft-typography ft-typography--${this.variant}">
|
|
131
131
|
<slot></slot>
|
|
132
|
-
</${
|
|
133
|
-
`:
|
|
132
|
+
</${yn(this.element)}>
|
|
133
|
+
`:vn`
|
|
134
134
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
135
|
-
`}};q.styles=[ai,ii,si,ci,li,di,ui,pi,fi,hi,yi];gi([(0,Ro.property)()],q.prototype,"element",void 0);gi([(0,Ro.property)()],q.prototype,"variant",void 0);var ko=x(D()),Ui=x(E());var hr;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(hr||(hr={}));var ne=x(P(),1),fe=r=>typeof r=="string"?(0,ne.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>fe(d??i),c=ne.css`var(${fe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>bi(c,d??s(i)),c.get=d=>ne.css`var(${fe(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=ne.css`var(${fe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>bi(c,d??s(i)),c.get=d=>ne.css`var(${fe(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=ne.css`var(${fe(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>ne.css`var(${fe(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function bi(r,t){return fe(`${r.name}: ${t}`)}var a={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity4:e.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:e.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},xi={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},vi={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Si={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ci={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Oi={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ei={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ai={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},wi={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ri={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},wc={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ii={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ki={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ti={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Li={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ni={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Pi={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Io={display:xi,"title-1":vi,"title-2":Si,"title-3":Ci,"body-1-regular":Oi,"body-1-medium":Ei,"body-1-semibold":Ai,"body-2-regular":wi,"body-2-medium":Ri,"body-2-medium-underline":wc,"body-2-semibold":Ii,"caption-1-medium":ki,"caption-1-semibold":Ti,"caption-2-medium":Li,"caption-2-semibold":Ni,"caption-2-bold":Pi};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
136
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var th={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",a.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var ih={borderRadius:e.extend("--ftds-card-border-radius","",a.borderRadiusS),focusFocusRingColor:e.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:e.extend("--ftds-card-header-title-horizontal-padding","",a.spacing4),headerTitleVerticalPadding:e.extend("--ftds-card-header-title-vertical-padding","",a.spacing3),headerActionHorizontalPadding:e.extend("--ftds-card-header-action-horizontal-padding","",a.spacing2),headerActionVerticalPadding:e.extend("--ftds-card-header-action-vertical-padding","",a.spacing2),headerActionGap:e.extend("--ftds-card-header-action-gap","",a.spacing1),bodyHorizontalPadding:e.extend("--ftds-card-body-horizontal-padding","",a.spacing4),bodyVerticalPadding:e.extend("--ftds-card-body-vertical-padding","",a.spacing4),footerActionHorizontalPadding:e.extend("--ftds-card-footer-action-horizontal-padding","",a.spacing2),footerActionVerticalPadding:e.extend("--ftds-card-footer-action-vertical-padding","",a.spacing2),footerActionGap:e.extend("--ftds-card-footer-action-gap","",a.spacing1),footerContentHorizontalPadding:e.extend("--ftds-card-footer-content-horizontal-padding","",a.spacing4),footerContentVerticalPadding:e.extend("--ftds-card-footer-content-vertical-padding","",a.spacing3),sideBarHorizontalPadding:e.extend("--ftds-card-side-bar-horizontal-padding","",a.spacing1),sideBarVerticalPadding:e.extend("--ftds-card-side-bar-vertical-padding","",a.spacing1),sideBarGap:e.extend("--ftds-card-side-bar-gap","",a.spacing1),nonSelectableBorderWidth:e.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:e.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:e.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:e.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:e.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:e.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",a.opacity4),nonSelectableFocusBorderColor:e.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:e.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",a.opacity4),internalBorderColor:e.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:e.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:e.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:e.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:e.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:e.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:e.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",a.opacity4),selectableUnselectedFocusBorderColor:e.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:e.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",a.opacity4),selectableSelectedBorderColor:e.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:e.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:e.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:e.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:e.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",a.opacity4),selectableSelectedHoverStateLayerOpacity:e.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",a.opacity4),selectableSelectedFocusStateLayerOpacity:e.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",a.opacity4),internalBorderWidth:e.create("--ftds-card-internal-border-width","","SIZE","1px")};var uh={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var gh={iconSize:e.extend("--ftds-checkbox-icon-size","",a.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var Sh={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var wh={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var Lh={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",a.iconSize2)};var Dh={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var zh={horizontalGap:e.extend("--ftds-chip-group-horizontal-gap","",a.spacing2),verticalGap:e.extend("--ftds-chip-group-vertical-gap","",a.spacing2),countChipDefaultBackgroundColor:e.extend("--ftds-chip-group-count-chip-default-background-color","",a.colorBrand10),countChipDefaultBorderColor:e.extend("--ftds-chip-group-count-chip-default-border-color","",a.colorBrand60),countChipDefaultContentColor:e.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:e.extend("--ftds-chip-group-count-chip-hover-background-color","",a.colorBrand20),countChipHoverBorderColor:e.extend("--ftds-chip-group-count-chip-hover-border-color","",a.colorBrand70),countChipHoverContentColor:e.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:e.extend("--ftds-chip-group-count-chip-focused-background-color","",a.colorBrand20),countChipFocusedBorderColor:e.extend("--ftds-chip-group-count-chip-focused-border-color","",a.colorBrand70),countChipFocusedContentColor:e.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var Vh={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var Qh={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var ry={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var sy={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var py={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var my={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var Sy={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var wy={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var Ly={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",a.colorGray700)};var Dy={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var zy={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Vy={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var Qy={height:e.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-floating-menu-vertical-padding","",a.spacing2),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity24),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02),multiselectCheckedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:e.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:e.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",a.opacity8),multiselectCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",a.opacity16),multiselectCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",a.opacity24),multiselectIndeterminatedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",a.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",a.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",a.opacity24),multiselectUncheckedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:e.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:e.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",a.opacity0),multiselectUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",a.opacity8),multiselectUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",a.opacity16),selectAllCheckedStateLayerColor:e.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:e.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:e.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",a.opacity0),selectAllCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",a.opacity16),selectAllCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",a.opacity24),selectAllIndeterminatedStateLayerColor:e.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:e.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:e.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",a.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",a.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",a.opacity16),selectAllUncheckedStateLayerColor:e.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:e.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:e.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",a.opacity0),selectAllUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",a.opacity8),selectAllUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",a.opacity16),defaultUncheckedStateLayerColor:e.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:e.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:e.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",a.opacity0),defaultUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",a.opacity8),defaultUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",a.opacity16),defaultCheckedStateLayerColor:e.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:e.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:e.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",a.opacity8),defaultCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",a.opacity16),defaultCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",a.opacity24)};var rg={menuVerticalGap:e.extend("--ftds-combobox-menu-vertical-gap","",a.spacing2),menuNewValuePaddingTop:e.extend("--ftds-combobox-menu-new-value-padding-top","",a.spacing4),menuNewValuePaddingBottom:e.extend("--ftds-combobox-menu-new-value-padding-bottom","",a.spacing1),menuNewValueHorizontalPadding:e.extend("--ftds-combobox-menu-new-value-horizontal-padding","",a.spacing4),menuNewValueLabelColor:e.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:e.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:e.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:e.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:e.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:e.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:e.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",a.opacity4),menuNewValueErrorActiveStateLayerOpacity:e.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",a.opacity6),menuMessagePaddingTop:e.extend("--ftds-combobox-menu-message-padding-top","",a.spacing2),menuMessagePaddingBottom:e.extend("--ftds-combobox-menu-message-padding-bottom","",a.spacing2),menuMessageHorizontalPadding:e.extend("--ftds-combobox-menu-message-horizontal-padding","",a.spacing4),menuMessageLabelColor:e.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:e.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:e.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var sg={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:e.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:e.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6),defaultHorizontalPadding:e.extend("--ftds-popover-default-horizontal-padding","",a.spacing6),defaultVerticalPadding:e.extend("--ftds-popover-default-vertical-padding","",a.spacing6),denseHorizontalPadding:e.extend("--ftds-popover-dense-horizontal-padding","",a.spacing3),denseVerticalPadding:e.extend("--ftds-popover-dense-vertical-padding","",a.spacing3)};var pg={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var mg={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var Sg={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Ag={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Tg={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var Fg={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var Hg={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var jg={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var Yg={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var em={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var _i;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(_i||(_i={}));var Fi;(function(r){r.large="large",r.medium="medium",r.small="small"})(Fi||(Fi={}));var it=x(P());function Rc(r,t){let o=Io[r];return it.css`
|
|
137
|
-
${t?(0,it.unsafeCSS)(t):it.css`.ftds-typography--${(0,it.unsafeCSS)(r)}`} {
|
|
138
|
-
font-family: ${o.fontFamily};
|
|
139
|
-
font-size: ${o.fontSize};
|
|
140
|
-
font-weight: ${o.fontWeight};
|
|
141
|
-
letter-spacing: ${o.letterSpacing};
|
|
142
|
-
line-height: ${o.lineHeight};
|
|
143
|
-
text-decoration: ${o.textDecoration};
|
|
144
|
-
text-transform: ${o.textCase};
|
|
145
|
-
}
|
|
146
|
-
`}var Di=[Object.keys(Io).map(r=>Rc(r))];var Mi=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Re=class extends Ui.FtLitElement{constructor(){super(...arguments),this.variant=hr.body2medium}render(){return this.element?Ze`
|
|
147
|
-
<${qe(this.element)}
|
|
148
|
-
part="text"
|
|
149
|
-
class="ftds-typography ftds-typography--${this.variant}">
|
|
150
|
-
<slot></slot>
|
|
151
|
-
</${qe(this.element)}>
|
|
152
|
-
`:Ze`
|
|
153
|
-
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
154
|
-
`}};Re.styles=[...Di];Mi([(0,ko.property)()],Re.prototype,"element",void 0);Mi([(0,ko.property)()],Re.prototype,"variant",void 0);var Hi=x(E());var Bi={"ft-typography":q,"ftds-typography":Re};(0,Hi.customElements)(Bi);var qi=x(To());var Gi=r=>r??N;var Rt=x(E());function Wi(r){var t;return((t=(0,Rt.accessResult)(r))===null||t===void 0?void 0:t.openMode)===Lt.EXTERNAL}function $i(r){return Wi(r)?(0,Rt.accessResult)(r).originUrl:(0,Rt.accessResultUrl)(r)}function ji(r,t){return Gi(t&&Wi(r)?"_blank":void 0)}var Ic=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Ie=class extends je{constructor(){super(...arguments),this.withoutLink=!1}render(){var t;return this.result?this.withoutLink?this.renderTitle():It.html`
|
|
155
|
-
<a href="${$i(this.result)}"
|
|
135
|
+
`}};K.styles=[Qi,Xi,Ji,Zi,ea,ta,ra,na,sa,ia,aa];oa([(0,bn.property)()],K.prototype,"element",void 0);oa([(0,bn.property)()],K.prototype,"variant",void 0);var la=y(E());var ca={"ft-typography":K};(0,la.customElements)(ca);var va=y(Sn());var pa=t=>t??_;var vt=y(E());function ha(t){var e;return((e=(0,vt.accessResult)(t))===null||e===void 0?void 0:e.openMode)===xt.EXTERNAL}function fa(t){return ha(t)?(0,vt.accessResult)(t).originUrl:(0,vt.accessResultUrl)(t)}function ma(t,e){return pa(e&&ha(t)?"_blank":void 0)}var Xo=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},xe=class extends je{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():bt.html`
|
|
136
|
+
<a href="${fa(this.result)}"
|
|
156
137
|
@click=${this.onResultClick}
|
|
157
|
-
@auxclick=${
|
|
138
|
+
@auxclick=${r=>this.onAuxClick(r)}
|
|
158
139
|
@contextmenu=${this.onContextMenu}
|
|
159
|
-
target="${
|
|
140
|
+
target="${ma(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
160
141
|
part="link">
|
|
161
142
|
${this.renderTitle()}
|
|
162
143
|
</a>
|
|
163
|
-
`:
|
|
164
|
-
<ft-typography variant="${
|
|
165
|
-
`}onResultClick(){this.dispatchEvent(new
|
|
144
|
+
`:bt.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){var e;return bt.html`
|
|
145
|
+
<ft-typography variant="${ue.title}" part="text">${(0,va.unsafeHTML)((e=(0,ga.accessResult)(this.result))===null||e===void 0?void 0:e.htmlTitle)}</ft-typography>
|
|
146
|
+
`}onResultClick(){this.dispatchEvent(new Gt(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new Yt(this.result,this.rank))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(n=>n.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`)&&(this.elementToFocus={selector:"a"})}};xe.elementDefinitions={"ft-typography":K};xe.styles=Mi;Xo([(0,ya.property)({type:Boolean})],xe.prototype,"withoutLink",void 0);var Sa=y(E());var ba={"ft-search-result-title":xe};(0,Sa.customElements)(ba);var Aa=y(L()),xa=y(E()),Jo={highlightBackgroundColor:xa.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Ea=Aa.css`
|
|
166
147
|
.kwicmatch {
|
|
167
148
|
font-weight: 700;
|
|
168
|
-
background-color: ${
|
|
149
|
+
background-color: ${Jo.highlightBackgroundColor};
|
|
169
150
|
}
|
|
170
|
-
`;var
|
|
171
|
-
<ft-typography variant="${
|
|
172
|
-
`:
|
|
151
|
+
`;var An=y(L()),Ca=y(E());var Ta=y(Sn());var Je=class extends je{render(){var e;let r=(e=(0,Ca.accessResult)(this.result))===null||e===void 0?void 0:e.htmlExcerpt;return r?An.html`
|
|
152
|
+
<ft-typography variant="${ue.body1}" part="text">${(0,Ta.unsafeHTML)(r)}</ft-typography>
|
|
153
|
+
`:An.html`
|
|
173
154
|
<style>
|
|
174
155
|
:host {
|
|
175
156
|
display: none !important;
|
|
176
157
|
}
|
|
177
158
|
</style>
|
|
178
|
-
`}contentAvailableCallback(
|
|
179
|
-
`;var
|
|
159
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Je.elementDefinitions={"ft-typography":K};Je.styles=Ea;var Oa=y(E());var wa={"ft-search-result-abstract":Je};(0,Oa.customElements)(wa);var ir=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Kt:Ne}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,s)=>{let i=s;return a=>({context:this.name,key:i,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,s)=>(...i)=>this.service.resolveMessage(this.name,s,...i)}),this.rawMessages=new Proxy({},{get:(n,s)=>this.service.resolveRawMessage(this.name,s)}),this.keys=new Proxy({},{get:(n,s)=>()=>s}),this.attributes=new Proxy({},{get:(n,s)=>()=>({context:this.name,key:s,message:this.service.resolveRawMessage(this.name,s)})})}};var Ze=y(E());var Ia=y(P());var xn=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Ra=new xn;var Zo=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},eu=Symbol("i18nAttributes"),tu=Symbol("i18nListAttributes"),ka=Symbol("i18nProperties"),ar=Symbol("i18nContexts"),St=Symbol("i18nUnsubs"),ur=(0,Ze.applyMixinOnce)(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Kt:Ne}i18n(i){let{context:a,key:o,message:u}=i,{custom:c,args:l,argsProvider:d}=i;if(a&&o){this.hasI18nContext(a)||this.addI18nContext(a,void 0,c);let p=l??(d?d(this):[]);return this.getI18nService(c).resolveMessage(a,o,...p)}return u}async awaitI18n(i){let{context:a,custom:o}=i;return a&&await this.getI18nService(o).prepareContext(a),this.i18n(i)}customI18n(i,a){if(Ra.isI18nKey(i)){let[o,u]=i.split(".");return this.i18n({custom:!0,context:o,key:u,...a})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((a,o,u)=>i.has(o)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((a,o,u)=>{var c;return((c=u?.context)===null||c===void 0?void 0:c.toLowerCase())===i}),this.updateI18nProperties(a=>a.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var a,o;let u=this,c=(l,d,p)=>p?.context&&p.key&&i(l,d,p)?{...p,message:this.i18n({context:p.context,key:p.key,custom:p.custom,...l})}:p;(a=this[eu])===null||a===void 0||a.forEach((l,d)=>u[d]=c(l,d,u[d])),(o=this[tu])===null||o===void 0||o.forEach((l,d)=>{var p;return u[d]=(p=u[d])===null||p===void 0?void 0:p.map(m=>c(l,d,m))})}updateI18nProperties(i){var a;(a=this[ka])===null||a===void 0||a.forEach((o,u)=>{i(o,u)&&(this[u]=this.i18n(o))})}addI18nMessages(i,a,o){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,a,o)}addI18nContext(i,a,o){let u=(typeof i=="string"?i:i.name).toLowerCase();o=typeof i=="string"?o:i.custom,this[ar].set(u,{isCustomContext:o}),this[St].has(u)||this[St].set(u,this.getI18nService(o).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(o).prepareContext(u,a)}hasI18nContext(i){return this[ar].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ar].forEach((i,a)=>this.addI18nContext(a,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[St].forEach(i=>i()),this[St].clear()}}return e=ar,r=St,Zo([(0,Ia.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),_a=class extends ur(Ze.FtLitElement){},or=class extends ur(Ze.FtLitElementRedux){};var La=y(L());var Ma=La.css`
|
|
160
|
+
`;var cr=y(L()),lr=y(P()),dr=y(E());var At=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},z=class extends or{constructor(){super(),this.editorMode=!1,this.addStore(b)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cr.nothing:cr.html`
|
|
180
161
|
<span class="ft-i18n">
|
|
181
162
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
182
163
|
</span>
|
|
183
|
-
`}update(
|
|
164
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};z.elementDefinitions={};z.styles=Ma;At([(0,dr.redux)()],z.prototype,"editorMode",void 0);At([(0,lr.property)()],z.prototype,"context",void 0);At([(0,lr.property)()],z.prototype,"key",void 0);At([(0,dr.jsonProperty)([])],z.prototype,"args",void 0);At([(0,lr.property)()],z.prototype,"defaultMessage",void 0);var Na=y(E());var Pa={"ft-i18n":z};(0,Na.customElements)(Pa);var En=ir.build("searchResultsNumber");var Ee=function(t,e,r,n){var s=arguments.length,i=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(i=(s<3?a(i):s>3?a(e,r,i):a(e,r))||i);return s>3&&i&&Object.defineProperty(e,r,i),i},B=class extends ur(De){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>pr.html`
|
|
184
165
|
<ft-search-result-title></ft-search-result-title>
|
|
185
166
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
186
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[
|
|
187
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
188
|
-
`;let
|
|
189
|
-
<ft-search-result-context .cluster=${
|
|
190
|
-
@ft-search-result-cluster-change=${
|
|
191
|
-
${this.renderResult((
|
|
167
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[st.CLUSTERED_SEARCH],this.addI18nContext(En)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return pr.html`
|
|
168
|
+
<ft-typography part="no-results-message" variant="body1">${En.messages.results(0)}</ft-typography>
|
|
169
|
+
`;let e=this.buildClusters();return(0,Da.repeat)(e,r=>r.id,(r,n)=>{var s;return pr.html`
|
|
170
|
+
<ft-search-result-context .cluster=${r} index="${n}"
|
|
171
|
+
@ft-search-result-cluster-change=${i=>this.onClusterChange(r.id,i.detail)}>
|
|
172
|
+
${this.renderResult((s=this.selectedResultByCluster[r.id])!==null&&s!==void 0?s:r.entries[0],n)}
|
|
192
173
|
</ft-search-result-context>
|
|
193
|
-
`})}update(
|
|
174
|
+
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager"))&&this.clusterSortCriterion&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&W.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){return this.clusterPolicy==="display-all-results"?this.buildAllResultsClusters():this.buildFullClusters()}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:(0,W.accessResultId)(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,n;let s=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:(0,W.accessResultId)(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?s.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):s}};B.styles=Mn;Ee([(0,hr.property)({type:String,attribute:"cluster-policy"})],B.prototype,"clusterPolicy",void 0);Ee([(0,hr.property)({type:Boolean})],B.prototype,"displayNoResultsMessage",void 0);Ee([(0,hr.property)({attribute:!1})],B.prototype,"renderResult",void 0);Ee([(0,W.jsonProperty)([])],B.prototype,"clusterSortCriterion",void 0);Ee([(0,W.redux)({selector:t=>({...t.request,paging:void 0})})],B.prototype,"requestWithoutPaging",void 0);Ee([(0,W.redux)({selector:t=>t.request.paging})],B.prototype,"paging",void 0);Ee([(0,W.redux)()],B.prototype,"results",void 0);var Fa={"ft-search-results":B};(0,Ua.customElements)(Fa);})();
|
|
194
175
|
/*! Bundled license information:
|
|
195
176
|
|
|
196
177
|
@lit/reactive-element/css-tag.js:
|