@fluid-topics/ft-search-results 1.0.60 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
!function(t,i,e,n,s){const r=e.css`
|
|
2
|
-
`,o=e.css`
|
|
3
|
-
`,
|
|
2
|
+
`;var o,a,u,h,c,l,f,d,v,w,E,b,y,A;!function(t){!function(i){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&n.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function o(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var i={next:function(){var i=t.shift();return{done:void 0===i,value:i}}};return e.iterable&&(i[Symbol.iterator]=function(){return i}),i}function u(t){this.map={},t instanceof u?t.forEach((function(t,i){this.append(i,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(i){this.append(i,t[i])}),this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise((function(i,e){t.onload=function(){i(t.result)},t.onerror=function(){e(t.error)}}))}function l(t){var i=new FileReader,e=c(i);return i.readAsArrayBuffer(t),e}function f(t){if(t.slice)return t.slice(0);var i=new Uint8Array(t.byteLength);return i.set(new Uint8Array(t)),i.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var i;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=f(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var t,i,e,n=h(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,i=new FileReader,e=c(i),i.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var i=new Uint8Array(t),e=new Array(i.length),n=0;n<i.length;n++)e[n]=String.fromCharCode(i[n]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}u.prototype.append=function(t,i){t=r(t),i=o(i);var e=this.map[t];this.map[t]=e?e+", "+i:i},u.prototype.delete=function(t){delete this.map[r(t)]},u.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},u.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},u.prototype.set=function(t,i){this.map[r(t)]=o(i)},u.prototype.forEach=function(t,i){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(i,this.map[e],e,this)},u.prototype.keys=function(){var t=[];return this.forEach((function(i,e){t.push(e)})),a(t)},u.prototype.values=function(){var t=[];return this.forEach((function(i){t.push(i)})),a(t)},u.prototype.entries=function(){var t=[];return this.forEach((function(i,e){t.push([e,i])})),a(t)},e.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(t,i){var e,n,s=(i=i||{}).body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,i.headers||(this.headers=new u(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,s||null==t._bodyInit||(s=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=i.credentials||this.credentials||"same-origin",!i.headers&&this.headers||(this.headers=new u(i.headers)),this.method=(e=i.method||this.method||"GET",n=e.toUpperCase(),v.indexOf(n)>-1?n:e),this.mode=i.mode||this.mode||null,this.signal=i.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(s)}function E(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\+/g," "),s=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(n),decodeURIComponent(s))}})),i}function b(t,i){i||(i={}),this.type="default",this.status=void 0===i.status?200:i.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in i?i.statusText:"OK",this.headers=new u(i.headers),this.url=i.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},d.call(w.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var y=[301,302,303,307,308];b.redirect=function(t,i){if(-1===y.indexOf(i))throw new RangeError("Invalid status code");return new b(null,{status:i,headers:{location:t}})},i.DOMException=t.DOMException;try{new i.DOMException}catch(t){i.DOMException=function(t,i){this.message=t,this.name=i;var e=Error(t);this.stack=e.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function A(t,n){return new Promise((function(s,r){var o=new w(t,n);if(o.signal&&o.signal.aborted)return r(new i.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function h(){a.abort()}a.onload=function(){var t,i,e={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",i=new u,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var s=e.join(":").trim();i.append(n,s)}})),i)};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var n="response"in a?a.response:a.responseText;s(new b(n,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new i.DOMException("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),o.headers.forEach((function(t,i){a.setRequestHeader(i,t)})),o.signal&&(o.signal.addEventListener("abort",h),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",h)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}A.polyfill=!0,t.fetch||(t.fetch=A,t.Headers=u,t.Request=w,t.Response=b),i.Headers=u,i.Request=w,i.Response=b,i.fetch=A,Object.defineProperty(i,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(o||(o={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(a||(a={})),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"}(u||(u={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(h||(h={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(c||(c={})),function(t){t.ASC="ASC",t.DESC="DESC"}(l||(l={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(f||(f={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(d||(d={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(v||(v={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(w||(w={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(E||(E={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(b||(b={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(y||(y={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(A||(A={})),A.PERSONAL_BOOK_SHARE_USER,A.PERSONAL_BOOK_USER,A.HTML_EXPORT_USER,A.PERSONAL_BOOK_USER,A.PDF_EXPORT_USER,A.PERSONAL_BOOK_USER,A.KHUB_ADMIN,A.CONTENT_PUBLISHER,A.ADMIN,A.KHUB_ADMIN,A.USERS_ADMIN,A.PORTAL_ADMIN,A.DEVELOPER,A.BETA_USER,A.DEBUG_USER;const p=e.css`
|
|
3
|
+
`,S=i.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,i)=>{t.baseUrl=i.payload},setApiIntegrationIdentifier:(t,i)=>{t.apiIntegrationIdentifier=i.payload},setUiLocale:(t,i)=>{t.uiLocale=i.payload},setAvailableUiLocales:(t,i)=>{t.availableUiLocales=i.payload},setEditorMode:(t,i)=>{t.editorMode=i.payload},setNoCustom:(t,i)=>{t.noCustom=i.payload},setNoCustomComponent:(t,i)=>{t.noCustomComponent=i.payload},setSession:(t,i)=>{t.session=i.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class m{static build(t){const{baseUrl:i,apiIntegrationIdentifier:e}=S.getState(),n=null!=t?t:e;if(i&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,n,!0)}static get(t){var i;return null!=t?m.build(t):null!==(i=m.API)&&void 0!==i?i:m.API=m.build()}static await(t){return new Promise((i=>{let e=m.get(t);if(e)i(e);else{const n=S.subscribe((()=>{e=m.get(t),e&&(n(),i(e))}))}}))}}var O;const R=Symbol("clearAfterUnitTest");class T{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[O]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=S.getState().uiLocale,S.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=S.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var n;if(t=t.toLowerCase(),Object.keys(e).length>0){const s={...null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},...e};i.deepEqual(this.defaultMessages[t],s)||(this.defaultMessages[t]=s,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...n){var s,r,o;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(s=this.cache.getNow(t))||void 0===s?void 0:s.messages)&&void 0!==r?r:{};return new i.ParametrizedLabelResolver(null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},a).resolve(e,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,i){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(i),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(i)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>i.delay(0).then((()=>t())).catch((()=>null)))))}}O=R,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new T((async(t,i)=>(await m.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new T((async(t,i)=>(await m.await()).getCustomMessageContext(t,i))));const U=window.FluidTopicsI18nService;var C=function(t,i,e,n){for(var s,r=arguments.length,o=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n,a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class I extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>m.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return e.html`
|
|
4
4
|
<slot></slot>
|
|
5
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
5
|
+
`}update(t){super.update(t),t.has("baseUrl")&&S.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&S.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&S.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&S.actions.setNoCustom(this.noCustom),t.has("editorMode")&&S.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&S.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&S.actions.setSession(this.session),t.has("availableUiLocales")&&S.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>U.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}I.elementDefinitions={},I.styles=p,C([s.property()],I.prototype,"baseUrl",void 0),C([s.property()],I.prototype,"apiIntegrationIdentifier",void 0),C([s.property()],I.prototype,"uiLocale",void 0),C([i.jsonProperty([])],I.prototype,"availableUiLocales",void 0),C([s.property({type:Boolean})],I.prototype,"editorMode",void 0),C([s.property({type:Boolean})],I.prototype,"noCustom",void 0),C([s.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],I.prototype,"noCustomComponent",void 0),C([s.property({type:Boolean})],I.prototype,"withManualResources",void 0),C([i.jsonProperty([])],I.prototype,"messageContexts",void 0),C([i.jsonProperty(void 0)],I.prototype,"session",void 0),C([s.property({type:Object})],I.prototype,"apiProvider",void 0);class L{async listMySearches(){var t;return(null===(t=S.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await m.await()).listMySearches(S.getState().session.profile.userId):[]}}const P=new i.CacheRegistry;class g{async listMyBookmarks(){return P.get("bookmarks",(async()=>(await m.await()).listMyBookmarks(S.getState().session.profile.userId)))}clearCache(){P.clear("bookmarks")}}const _=i.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=S.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new g,S.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=S.getState();i.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){_.actions.savedSearches(void 0)}clearMyBookmarks(){_.actions.bookmarks(void 0)}async reloadMySearches(){const t=new L,i=await t.listMySearches();_.actions.savedSearches(i)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const i=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;_.actions.bookmarks(i)}}},i.customElement("ft-app-context")(I);class N extends Event{constructor(){super(N.eventName)}}N.eventName="search-context-clear-all-filters";var D=function(t,i,e,n){for(var s,r=arguments.length,o=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n,a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class x extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class M extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[B]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[B]):this.dispatchEvent(new x)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=B,D([s.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}const k=e.css`
|
|
6
6
|
a {
|
|
7
7
|
color: inherit;
|
|
8
8
|
text-decoration: inherit;
|
|
9
9
|
}
|
|
10
|
-
`;var T,U,C,I,P,L,g,_,D,N,x,B;!function(t){!function(i){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(t){return t&&n.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function o(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var i={next:function(){var i=t.shift();return{done:void 0===i,value:i}}};return e.iterable&&(i[Symbol.iterator]=function(){return i}),i}function h(t){this.map={},t instanceof h?t.forEach((function(t,i){this.append(i,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(i){this.append(i,t[i])}),this)}function u(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function c(t){return new Promise((function(i,e){t.onload=function(){i(t.result)},t.onerror=function(){e(t.error)}}))}function l(t){var i=new FileReader,e=c(i);return i.readAsArrayBuffer(t),e}function f(t){if(t.slice)return t.slice(0);var i=new Uint8Array(t.byteLength);return i.set(new Uint8Array(t)),i.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var i;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||s(t))?this._bodyArrayBuffer=f(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=u(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var t,i,e,n=u(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,i=new FileReader,e=c(i),i.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var i=new Uint8Array(t),e=new Array(i.length),n=0;n<i.length;n++)e[n]=String.fromCharCode(i[n]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(t,i){t=r(t),i=o(i);var e=this.map[t];this.map[t]=e?e+", "+i:i},h.prototype.delete=function(t){delete this.map[r(t)]},h.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},h.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},h.prototype.set=function(t,i){this.map[r(t)]=o(i)},h.prototype.forEach=function(t,i){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(i,this.map[e],e,this)},h.prototype.keys=function(){var t=[];return this.forEach((function(i,e){t.push(e)})),a(t)},h.prototype.values=function(){var t=[];return this.forEach((function(i){t.push(i)})),a(t)},h.prototype.entries=function(){var t=[];return this.forEach((function(i,e){t.push([e,i])})),a(t)},e.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(t,i){var e,n,s=(i=i||{}).body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,i.headers||(this.headers=new h(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,s||null==t._bodyInit||(s=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=i.credentials||this.credentials||"same-origin",!i.headers&&this.headers||(this.headers=new h(i.headers)),this.method=(e=i.method||this.method||"GET",n=e.toUpperCase(),v.indexOf(n)>-1?n:e),this.mode=i.mode||this.mode||null,this.signal=i.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(s)}function b(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\+/g," "),s=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(n),decodeURIComponent(s))}})),i}function y(t,i){i||(i={}),this.type="default",this.status=void 0===i.status?200:i.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in i?i.statusText:"OK",this.headers=new h(i.headers),this.url=i.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},d.call(w.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var E=[301,302,303,307,308];y.redirect=function(t,i){if(-1===E.indexOf(i))throw new RangeError("Invalid status code");return new y(null,{status:i,headers:{location:t}})},i.DOMException=t.DOMException;try{new i.DOMException}catch(t){i.DOMException=function(t,i){this.message=t,this.name=i;var e=Error(t);this.stack=e.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function p(t,n){return new Promise((function(s,r){var o=new w(t,n);if(o.signal&&o.signal.aborted)return r(new i.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var t,i,e={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",i=new h,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var s=e.join(":").trim();i.append(n,s)}})),i)};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var n="response"in a?a.response:a.responseText;s(new y(n,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new i.DOMException("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),o.headers.forEach((function(t,i){a.setRequestHeader(i,t)})),o.signal&&(o.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",u)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}p.polyfill=!0,t.fetch||(t.fetch=p,t.Headers=h,t.Request=w,t.Response=y),i.Headers=h,i.Request=w,i.Response=y,i.fetch=p,Object.defineProperty(i,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(T||(T={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(U||(U={})),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"}(C||(C={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(I||(I={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(P||(P={})),function(t){t.ASC="ASC",t.DESC="DESC"}(L||(L={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(g||(g={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(_||(_={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(D||(D={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(N||(N={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(x||(x={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(B||(B={})),B.PERSONAL_BOOK_SHARE_USER,B.PERSONAL_BOOK_USER,B.HTML_EXPORT_USER,B.PERSONAL_BOOK_USER,B.PDF_EXPORT_USER,B.PERSONAL_BOOK_USER,B.KHUB_ADMIN,B.CONTENT_PUBLISHER,B.ADMIN,B.KHUB_ADMIN,B.USERS_ADMIN,B.PORTAL_ADMIN,B.DEVELOPER,B.BETA_USER,B.DEBUG_USER;var M=function(t,i,e,n){for(var s,r=arguments.length,o=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n,a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class k extends CustomEvent{constructor(t,i){super("ft-search-result-click",{detail:{result:t,rank:i},bubbles:!0,composed:!0})}}class j extends i.FtLitElement{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return e.html`
|
|
10
|
+
`;var j=function(t,i,e,n){for(var s,r=arguments.length,o=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n,a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class F extends CustomEvent{constructor(t,i){super("ft-search-result-click",{detail:{result:t,rank:i},bubbles:!0,composed:!0})}}class H extends i.FtLitElement{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return e.html`
|
|
11
11
|
<a href="${this.url}" @click=${this.onResultClick}>
|
|
12
12
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
13
13
|
</a>
|
|
14
|
-
`}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case
|
|
14
|
+
`}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case b.MAP:return this.result.map.readerUrl;case b.DOCUMENT:return this.result.document.viewerUrl;case b.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new F(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const i=t.composedPath()[0];this.register(i)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}H.elementDefinitions={},H.styles=k,j([s.property({attribute:!1})],H.prototype,"result",void 0),j([s.property()],H.prototype,"index",void 0),i.customElement("ft-search-result-context")(H);var G=function(t,i,e,n){for(var s,r=arguments.length,o=r<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n,a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(i,e,o):s(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class K extends M{constructor(){super(...arguments),this.clusterPolicy="display-first-result",this.renderResult=()=>e.html`
|
|
15
15
|
`}render(){var t;return n.repeat((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var i,e,n,s,r;return null!==(s=null!==(e=null===(i=t.document)||void 0===i?void 0:i.documentId)&&void 0!==e?e:null===(n=t.map)||void 0===n?void 0:n.mapId)&&void 0!==s?s:null===(r=t.topic)||void 0===r?void 0:r.tocId}),((t,i)=>e.html`
|
|
16
16
|
<ft-search-result-context .result=${t} index="${i}">
|
|
17
17
|
${this.renderResult(t,i)}
|
|
18
18
|
</ft-search-result-context>
|
|
19
|
-
`))}}
|
|
19
|
+
`))}}K.styles=r,G([s.property({type:String,attribute:"cluster-policy"})],K.prototype,"clusterPolicy",void 0),G([s.property({attribute:!1})],K.prototype,"renderResult",void 0),G([i.redux()],K.prototype,"results",void 0),i.customElement("ft-search-results")(K),t.FtSearchResults=K,t.FtSearchResultsCssVariables={},t.styles=r}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators);
|
|
@@ -45,13 +45,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
var L;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(N=w.reactiveElementVersions)&&void 0!==N?N:w.reactiveElementVersions=[]).push("1.6.1");const A=window,W=A.trustedTypes,k=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+j,F=`<${Z}>`,M=document,
|
|
48
|
+
var L;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(N=w.reactiveElementVersions)&&void 0!==N?N:w.reactiveElementVersions=[]).push("1.6.1");const A=window,W=A.trustedTypes,k=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+j,F=`<${Z}>`,M=document,T=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D=t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),_="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,G=/>/g,H=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),J=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=M.createTreeWalker(M,129,null,!1),rt=(t,o)=>{const r=t.length-1,e=[];let n,i=2===o?"<svg>":"",a=$;for(let o=0;o<r;o++){const r=t[o];let c,s,l=-1,f=0;for(;f<r.length&&(a.lastIndex=f,s=a.exec(r),null!==s);)f=a.lastIndex,a===$?"!--"===s[1]?a=z:void 0!==s[1]?a=G:void 0!==s[2]?(V.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=H):void 0!==s[3]&&(a=H):a===H?">"===s[0]?(a=null!=n?n:$,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?H:'"'===s[3]?Y:q):a===Y||a===q?a=H:a===z||a===G?a=$:(a=H,n=void 0);const u=a===H&&t[o+1].startsWith("/>")?" ":"";i+=a===$?r+F:l>=0?(e.push(c),r.slice(0,l)+K+r.slice(l)+j+u):r+j+(-2===l?(e.push(void 0),o):u)}const c=i+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(c):c,e]};class et{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=rt(t,o);if(this.el=et.createElement(s,r),ot.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=ot.nextNode())&&c.length<a;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(K)||o.startsWith(j)){const r=l[i++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+K).split(j),o=/([.?@])?(.*)/.exec(r);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?st:"?"===o[1]?ft:"@"===o[1]?ut:ct})}else c.push({type:6,index:n})}for(const o of t)e.removeAttribute(o)}if(V.test(e.tagName)){const t=e.textContent.split(j),o=t.length-1;if(o>0){e.textContent=W?W.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],T()),ot.nextNode(),c.push({type:2,index:++n});e.append(t[o],T())}}}else if(8===e.nodeType)if(e.data===Z)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(j,t+1));)c.push({type:7,index:n}),t+=j.length-1}n++}}static createElement(t,o){const r=M.createElement("template");return r.innerHTML=t,r}}function nt(t,o,r=t,e){var n,i,a,c;if(o===J)return o;let s=void 0!==e?null===(n=r._$Co)||void 0===n?void 0:n[e]:r._$Cl;const l=P(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,r,e)),void 0!==e?(null!==(a=(c=r)._$Co)&&void 0!==a?a:c._$Co=[])[e]=s:r._$Cl=s),void 0!==s&&(o=nt(t,s._$AS(t,o.values),s,e)),o}let it=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){var o;const{el:{content:r},parts:e}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:M).importNode(r,!0);ot.currentNode=n;let i=ot.nextNode(),a=0,c=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new at(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new dt(i,this,t)),this._$AV.push(o),s=e[++c]}a!==(null==s?void 0:s.index)&&(i=ot.nextNode(),a++)}return n}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}},at=class t{constructor(t,o,r,e){var n;this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(n=null==e?void 0:e.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=nt(this,t,o),P(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):D(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,n="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=et.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(r);else{const t=new it(n,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new et(t)),o}T(o){B(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let e,n=0;for(const i of o)n===r.length?r.push(e=new t(this.k(T()),this.k(T()),this,this.options)):e=r[n],e._$AI(i),n++;n<r.length&&(this._$AR(e&&e._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},ct=class{constructor(t,o,r,e,n){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const n=this.strings;let i=!1;if(void 0===n)t=nt(this,t,o,0),i=!P(t)||t!==this._$AH&&t!==J,i&&(this._$AH=t);else{const e=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=nt(this,e[r+a],o,a),c===J&&(c=this._$AH[a]),i||(i=!P(c)||c!==this._$AH[a]),c===Q?t=Q:t!==Q&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!e&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},st=class extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}};const lt=W?W.emptyScript:"";let ft=class extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}},ut=class extends ct{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=nt(this,t,o,0))&&void 0!==r?r:Q)===J)return;const e=this._$AH,n=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Q&&(e===Q||n);n&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ht={O:K,P:j,A:Z,C:1,M:rt,L:it,D,R:nt,I:at,V:ct,H:ft,N:ut,U:st,F:dt},pt=A.litHtmlPolyfillSupport;null==pt||pt(et,at),(null!==(L=A.litHtmlVersions)&&void 0!==L?L:A.litHtmlVersions=[]).push("2.7.3");
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
53
|
*/
|
|
54
|
-
var yt,bt;let gt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const i=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new at(o.insertBefore(P(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};gt.finalized=!0,gt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:gt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:gt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?g(t):t;class Ot{static create(t,o,r,e){const n=t=>vt(null!=t?t:e),i=m`var(${vt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>m`var(${vt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>e,i}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),i=m`var(${vt(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>m`var(${vt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vt(null!=o?o:t.lastResortDefaultValue()),e=m`var(${vt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>m`var(${vt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Nt={colorWhite:Ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ot.create("--ft-opacity-80","","NUMBER","0.8")};Ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-display-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const wt={backgroundActionPrimary:Ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Nt.colorBrand0),backgroundErrorPrimary:Ot.extend("--ft-background-error-primary","Used as background of error components.",Nt.colorRed0),backgroundErrorSubtle:Ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",Nt.colorRed10),backgroundInfoPrimary:Ot.extend("--ft-background-info-primary","Used as background of information components.",Nt.colorCyan200),backgroundInfoSubtle:Ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",Nt.colorCyan10),backgroundWarningPrimary:Ot.extend("--ft-background-warning-primary","Used as background of warning components.",Nt.colorOrange300),backgroundWarningSubtle:Ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Nt.colorOrange10),backgroundSuccessPrimary:Ot.extend("--ft-background-success-primary","Used as background of success components.",Nt.colorGreen200),backgroundSuccessSubtle:Ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",Nt.colorGreen10),backgroundGlobalSurface:Ot.extend("--ft-background-global-surface","Used as app background.",Nt.colorWhite),backgroundGlobalOnSurface:Ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Nt.colorGray10),backgroundGlobalOnSurfaceDark:Ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Nt.colorGray30),contentActionPrimary:Ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Nt.colorBrand0),contentWarningPrimary:Ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Nt.colorOrange300),contentWarningIconOnly:Ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Nt.colorOrange0),contentErrorPrimary:Ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Nt.colorRed0),contentErrorIconOnly:Ot.extend("--ft-content-error-icon-only","Used on error status icons alone",Nt.colorRed0),contentInfoPrimary:Ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Nt.colorCyan200),contentInfoIconOnly:Ot.extend("--ft-content-info-icon-only","Used on info status icons alone",Nt.colorCyan0),contentSuccessIconOnly:Ot.extend("--ft-content-success-icon-only","Used on success status icons alone",Nt.colorGreen0),contentSuccessPrimary:Ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Nt.colorGreen200),contentGlobalPrimary:Ot.extend("--ft-content-global-primary","Used for main content on the page.",Nt.colorGray500),contentGlobalSecondary:Ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Nt.colorGray200),contentGlobalSubtle:Ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Nt.colorGray0),contentGlobalOnColor:Ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",Nt.colorWhite),borderActionPrimary:Ot.extend("--ft-border-action-primary","Used as border for primary action components.",Nt.colorBrand0),borderActionFocusRing:Ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Nt.colorCyan0),borderWarningPrimary:Ot.extend("--ft-border-warning-primary","Used as border for warning components.",Nt.colorOrange30),borderSuccessPrimary:Ot.extend("--ft-border-success-primary","Used as border for success components.",Nt.colorGreen30),borderErrorPrimary:Ot.extend("--ft-border-error-primary","Used as border for error components.",Nt.colorRed30),borderInfoPrimary:Ot.extend("--ft-border-info-primary","Used as border for information components.",Nt.colorCyan30),borderGlobalSubtle:Ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Nt.colorGray30),borderGlobalPrimary:Ot.extend("--ft-border-global-primary","Used as border for element like input.",Nt.colorGray50),borderInputPrimary:Ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Nt.colorGray80)};Ot.create("--ft-button-large-height","","SIZE","40px"),Ot.extend("--ft-button-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-button-large-gap","",Nt.spacing2),Ot.extend("--ft-button-large-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-large-icon-size","",Nt.iconSize3),Ot.create("--ft-button-large-border-width","","SIZE","1px"),Ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ot.create("--ft-button-small-height","","SIZE","30px"),Ot.extend("--ft-button-small-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-button-small-gap","",Nt.spacing2),Ot.extend("--ft-button-small-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-small-icon-size","",Nt.iconSize2),Ot.create("--ft-button-small-border-width","","SIZE","1px"),Ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ot.extend("--ft-button-primary-background-color","",wt.backgroundActionPrimary),Ot.extend("--ft-button-primary-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-icon-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-button-primary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-tertiary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-tertiary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-background-color","",Nt.colorWhite),Ot.extend("--ft-button-secondary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-secondary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-border-color","",wt.borderActionPrimary),Ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-neutral-icon-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-neutral-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-tabs-top-left-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-top-right-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-label-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-tabs-label-vertical-padding","",Nt.spacing3),Ot.extend("--ft-tabs-label-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-background-color","",wt.backgroundGlobalSurface),Ot.extend("--ft-switch-group-border-color","",wt.borderGlobalSubtle),Ot.create("--ft-switch-group-border-radius","","SIZE","6px"),Ot.extend("--ft-switch-label-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-switch-label-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-vertical-padding","",Nt.spacing1),Ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-switch-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-switch-option-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-switch-off-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-switch-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-switch-off-color","",wt.contentGlobalSubtle),Ot.extend("--ft-switch-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-chart-1-light","for area color charts",Nt.colorBrand40),Ot.extend("--ft-chart-1-base","for line charts",Nt.colorBrand0),Ot.extend("--ft-chart-2-light","for area color charts",Nt.colorYellow60),Ot.extend("--ft-chart-2-base","for line charts",Nt.colorYellow100),Ot.extend("--ft-chart-3-light","",Nt.colorUltramarine40),Ot.extend("--ft-chart-3-base","",Nt.colorUltramarine70),Ot.extend("--ft-chart-4-light","",Nt.colorCyan50),Ot.extend("--ft-chart-4-base","",Nt.colorCyan100),Ot.extend("--ft-chart-5-light","",Nt.colorRed40),Ot.extend("--ft-chart-5-base","",Nt.colorRed60),Ot.extend("--ft-chart-6-light","",Nt.colorGreen40),Ot.extend("--ft-chart-6-base","",Nt.colorGreen70),Ot.extend("--ft-chart-7-light","",Nt.colorOrange70),Ot.extend("--ft-chart-7-base","",Nt.colorOrange100),Ot.extend("--ft-chart-8-light","",Nt.colorAvocado70),Ot.extend("--ft-chart-8-base","",Nt.colorAvocado200),Ot.extend("--ft-chart-9-light","",Nt.colorBrown50),Ot.extend("--ft-chart-9-base","",Nt.colorBrown200),Ot.extend("--ft-chart-10-light","",Nt.colorGray50),Ot.extend("--ft-chart-10-base","",Nt.colorGray80),Ot.extend("--ft-chart-monochrome-10","",Nt.colorBrand10),Ot.extend("--ft-chart-monochrome-20","",Nt.colorBrand20),Ot.extend("--ft-chart-monochrome-30","",Nt.colorBrand40),Ot.extend("--ft-chart-monochrome-40","",Nt.colorBrand60),Ot.extend("--ft-chart-monochrome-50","",Nt.colorBrand0),Ot.extend("--ft-chart-monochrome-60","",Nt.colorBrand200),Ot.extend("--ft-chip-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-chip-large-vertical-padding","",Nt.spacing2),Ot.extend("--ft-chip-large-gap","",Nt.spacing1),Ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-large-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-large-border-width","","SIZE","1px"),Ot.extend("--ft-chip-large-icon-size","",Nt.iconSize3),Ot.extend("--ft-chip-medium-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-chip-medium-vertical-padding","",Nt.spacing1),Ot.extend("--ft-chip-medium-gap","",Nt.spacing1),Ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-medium-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-medium-border-width","","SIZE","1px"),Ot.extend("--ft-chip-medium-icon-size","",Nt.iconSize2),Ot.extend("--ft-chip-small-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-chip-small-vertical-padding","",Nt.spacing05),Ot.extend("--ft-chip-small-gap","",Nt.spacing1),Ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-small-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-small-border-width","","SIZE","1px"),Ot.extend("--ft-chip-small-icon-size","",Nt.iconSize1),Ot.extend("--ft-chip-neutral-background-color","",wt.backgroundGlobalOnSurface),Ot.extend("--ft-chip-neutral-color","",wt.contentGlobalPrimary),Ot.extend("--ft-chip-neutral-border-color","",wt.borderGlobalSubtle),Ot.extend("--ft-chip-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-chip-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-chip-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-chip-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-chip-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-chip-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-chip-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-chip-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-chip-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-chip-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-chip-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-chip-error-border-color","",wt.borderErrorPrimary),Ot.create("--ft-notice-border-width","","SIZE","1px"),Ot.extend("--ft-notice-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-notice-vertical-padding","",Nt.spacing1),Ot.extend("--ft-notice-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-notice-gap","",Nt.spacing2),Ot.extend("--ft-notice-icon-size","",Nt.iconSize3),Ot.extend("--ft-notice-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notice-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notice-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notice-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notice-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notice-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-checkbox-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-checkbox-checked-background-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-color","",wt.contentGlobalOnColor),Ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-checked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-unchecked-border-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-checkbox-gap","",Nt.spacing3),Ot.extend("--ft-toggle-off-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-off-background-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-icon-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-on-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-on-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-on-background-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-toggle-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-toggle-gap","",Nt.spacing3),Ot.extend("--ft-radio-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-radio-selected-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-selected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-unselected-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-unselected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-radio-gap","",Nt.spacing3),Ot.extend("--ft-notification-icon-size","",Nt.iconSize4),Ot.extend("--ft-notification-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-notification-vertical-padding","",Nt.spacing4),Ot.extend("--ft-notification-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notification-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notification-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notification-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-notification-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-notification-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-notification-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notification-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-notification-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notification-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-notification-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-notification-error-border-color","",wt.borderErrorPrimary),Ot.extend("--ft-notification-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-notification-border-width","","SIZE","1px"),Ot.extend("--ft-notification-gap-leading","",Nt.spacing2),Ot.extend("--ft-notification-gap-trailing","",Nt.spacing8),Ot.create("--ft-color-primary","","COLOR","#2196F3"),Ot.create("--ft-color-primary-variant","","COLOR","#1976D2"),Ot.create("--ft-color-secondary","","COLOR","#FFCC80"),Ot.create("--ft-color-secondary-variant","","COLOR","#F57C00"),Ot.create("--ft-color-surface","","COLOR","#FFFFFF"),Ot.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-error","","COLOR","#B00020"),Ot.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),Ot.create("--ft-color-opacity-high","","NUMBER","1"),Ot.create("--ft-color-opacity-medium","","NUMBER","0.74"),Ot.create("--ft-color-opacity-disabled","","NUMBER","0.38"),Ot.create("--ft-color-on-primary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),Ot.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),Ot.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),Ot.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),Ot.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-border-radius-S","","SIZE","4px"),Ot.create("--ft-border-radius-M","","SIZE","8px"),Ot.create("--ft-border-radius-L","","SIZE","12px"),Ot.create("--ft-border-radius-XL","","SIZE","16px"),Ot.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),Ot.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),Ot.create("--ft-transition-duration","","UNKNOWN","250ms"),Ot.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class St extends gt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return v(r,t.elementStyles),r}}var Et,Ct=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};const Rt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends St{constructor(){super(),this[Et]=new n(5),this[xt]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[Rt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ut].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...r).filter(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Et=Ut,Ct([a()],It.prototype,"exportpartsPrefix",void 0),Ct([u([])],It.prototype,"exportpartsPrefixes",void 0),Ct([a()],It.prototype,"customStylesheet",void 0),m`
|
|
54
|
+
var yt,bt;let gt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const i=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new at(o.insertBefore(T(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};gt.finalized=!0,gt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:gt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:gt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?g(t):t;class Ot{static create(t,o,r,e){const n=t=>vt(null!=t?t:e),i=m`var(${vt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>m`var(${vt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>e,i}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),i=m`var(${vt(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>m`var(${vt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vt(null!=o?o:t.lastResortDefaultValue()),e=m`var(${vt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>m`var(${vt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Nt={colorWhite:Ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ot.create("--ft-opacity-80","","NUMBER","0.8")};Ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-display-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const wt={backgroundActionPrimary:Ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Nt.colorBrand0),backgroundErrorPrimary:Ot.extend("--ft-background-error-primary","Used as background of error components.",Nt.colorRed0),backgroundErrorSubtle:Ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",Nt.colorRed10),backgroundInfoPrimary:Ot.extend("--ft-background-info-primary","Used as background of information components.",Nt.colorCyan200),backgroundInfoSubtle:Ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",Nt.colorCyan10),backgroundWarningPrimary:Ot.extend("--ft-background-warning-primary","Used as background of warning components.",Nt.colorOrange300),backgroundWarningSubtle:Ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Nt.colorOrange10),backgroundSuccessPrimary:Ot.extend("--ft-background-success-primary","Used as background of success components.",Nt.colorGreen200),backgroundSuccessSubtle:Ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",Nt.colorGreen10),backgroundGlobalSurface:Ot.extend("--ft-background-global-surface","Used as app background.",Nt.colorWhite),backgroundGlobalOnSurface:Ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Nt.colorGray10),backgroundGlobalOnSurfaceDark:Ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Nt.colorGray30),contentActionPrimary:Ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Nt.colorBrand0),contentWarningPrimary:Ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Nt.colorOrange300),contentWarningIconOnly:Ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Nt.colorOrange0),contentErrorPrimary:Ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Nt.colorRed0),contentErrorIconOnly:Ot.extend("--ft-content-error-icon-only","Used on error status icons alone",Nt.colorRed0),contentInfoPrimary:Ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Nt.colorCyan200),contentInfoIconOnly:Ot.extend("--ft-content-info-icon-only","Used on info status icons alone",Nt.colorCyan0),contentSuccessIconOnly:Ot.extend("--ft-content-success-icon-only","Used on success status icons alone",Nt.colorGreen0),contentSuccessPrimary:Ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Nt.colorGreen200),contentGlobalPrimary:Ot.extend("--ft-content-global-primary","Used for main content on the page.",Nt.colorGray500),contentGlobalSecondary:Ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Nt.colorGray200),contentGlobalSubtle:Ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Nt.colorGray0),contentGlobalOnColor:Ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",Nt.colorWhite),borderActionPrimary:Ot.extend("--ft-border-action-primary","Used as border for primary action components.",Nt.colorBrand0),borderActionFocusRing:Ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Nt.colorCyan0),borderWarningPrimary:Ot.extend("--ft-border-warning-primary","Used as border for warning components.",Nt.colorOrange30),borderSuccessPrimary:Ot.extend("--ft-border-success-primary","Used as border for success components.",Nt.colorGreen30),borderErrorPrimary:Ot.extend("--ft-border-error-primary","Used as border for error components.",Nt.colorRed30),borderInfoPrimary:Ot.extend("--ft-border-info-primary","Used as border for information components.",Nt.colorCyan30),borderGlobalSubtle:Ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Nt.colorGray30),borderGlobalPrimary:Ot.extend("--ft-border-global-primary","Used as border for element like input.",Nt.colorGray50),borderInputPrimary:Ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Nt.colorGray80)};Ot.create("--ft-button-large-height","","SIZE","40px"),Ot.extend("--ft-button-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-button-large-gap","",Nt.spacing2),Ot.extend("--ft-button-large-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-large-icon-size","",Nt.iconSize3),Ot.create("--ft-button-large-border-width","","SIZE","1px"),Ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ot.create("--ft-button-small-height","","SIZE","30px"),Ot.extend("--ft-button-small-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-button-small-gap","",Nt.spacing2),Ot.extend("--ft-button-small-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-small-icon-size","",Nt.iconSize2),Ot.create("--ft-button-small-border-width","","SIZE","1px"),Ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ot.extend("--ft-button-primary-background-color","",wt.backgroundActionPrimary),Ot.extend("--ft-button-primary-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-icon-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-button-primary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-tertiary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-tertiary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-background-color","",Nt.colorWhite),Ot.extend("--ft-button-secondary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-secondary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-border-color","",wt.borderActionPrimary),Ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-neutral-icon-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-neutral-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-tabs-top-left-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-top-right-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-label-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-tabs-label-vertical-padding","",Nt.spacing3),Ot.extend("--ft-tabs-label-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-background-color","",wt.backgroundGlobalSurface),Ot.extend("--ft-switch-group-border-color","",wt.borderGlobalSubtle),Ot.create("--ft-switch-group-border-radius","","SIZE","6px"),Ot.extend("--ft-switch-label-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-switch-label-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-vertical-padding","",Nt.spacing1),Ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-switch-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-switch-option-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-switch-off-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-switch-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-switch-off-color","",wt.contentGlobalSubtle),Ot.extend("--ft-switch-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-chart-1-light","for area color charts",Nt.colorBrand40),Ot.extend("--ft-chart-1-base","for line charts",Nt.colorBrand0),Ot.extend("--ft-chart-2-light","for area color charts",Nt.colorYellow60),Ot.extend("--ft-chart-2-base","for line charts",Nt.colorYellow100),Ot.extend("--ft-chart-3-light","",Nt.colorUltramarine40),Ot.extend("--ft-chart-3-base","",Nt.colorUltramarine70),Ot.extend("--ft-chart-4-light","",Nt.colorCyan50),Ot.extend("--ft-chart-4-base","",Nt.colorCyan100),Ot.extend("--ft-chart-5-light","",Nt.colorRed40),Ot.extend("--ft-chart-5-base","",Nt.colorRed60),Ot.extend("--ft-chart-6-light","",Nt.colorGreen40),Ot.extend("--ft-chart-6-base","",Nt.colorGreen70),Ot.extend("--ft-chart-7-light","",Nt.colorOrange70),Ot.extend("--ft-chart-7-base","",Nt.colorOrange100),Ot.extend("--ft-chart-8-light","",Nt.colorAvocado70),Ot.extend("--ft-chart-8-base","",Nt.colorAvocado200),Ot.extend("--ft-chart-9-light","",Nt.colorBrown50),Ot.extend("--ft-chart-9-base","",Nt.colorBrown200),Ot.extend("--ft-chart-10-light","",Nt.colorGray50),Ot.extend("--ft-chart-10-base","",Nt.colorGray80),Ot.extend("--ft-chart-monochrome-10","",Nt.colorBrand10),Ot.extend("--ft-chart-monochrome-20","",Nt.colorBrand20),Ot.extend("--ft-chart-monochrome-30","",Nt.colorBrand40),Ot.extend("--ft-chart-monochrome-40","",Nt.colorBrand60),Ot.extend("--ft-chart-monochrome-50","",Nt.colorBrand0),Ot.extend("--ft-chart-monochrome-60","",Nt.colorBrand200),Ot.extend("--ft-chip-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-chip-large-vertical-padding","",Nt.spacing2),Ot.extend("--ft-chip-large-gap","",Nt.spacing1),Ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-large-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-large-border-width","","SIZE","1px"),Ot.extend("--ft-chip-large-icon-size","",Nt.iconSize3),Ot.extend("--ft-chip-medium-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-chip-medium-vertical-padding","",Nt.spacing1),Ot.extend("--ft-chip-medium-gap","",Nt.spacing1),Ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-medium-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-medium-border-width","","SIZE","1px"),Ot.extend("--ft-chip-medium-icon-size","",Nt.iconSize2),Ot.extend("--ft-chip-small-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-chip-small-vertical-padding","",Nt.spacing05),Ot.extend("--ft-chip-small-gap","",Nt.spacing1),Ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-small-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-small-border-width","","SIZE","1px"),Ot.extend("--ft-chip-small-icon-size","",Nt.iconSize1),Ot.extend("--ft-chip-neutral-background-color","",wt.backgroundGlobalOnSurface),Ot.extend("--ft-chip-neutral-color","",wt.contentGlobalPrimary),Ot.extend("--ft-chip-neutral-border-color","",wt.borderGlobalSubtle),Ot.extend("--ft-chip-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-chip-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-chip-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-chip-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-chip-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-chip-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-chip-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-chip-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-chip-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-chip-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-chip-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-chip-error-border-color","",wt.borderErrorPrimary),Ot.create("--ft-notice-border-width","","SIZE","1px"),Ot.extend("--ft-notice-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-notice-vertical-padding","",Nt.spacing1),Ot.extend("--ft-notice-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-notice-gap","",Nt.spacing2),Ot.extend("--ft-notice-icon-size","",Nt.iconSize3),Ot.extend("--ft-notice-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notice-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notice-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notice-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notice-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notice-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-checkbox-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-checkbox-checked-background-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-color","",wt.contentGlobalOnColor),Ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-checked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-unchecked-border-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-checkbox-gap","",Nt.spacing3),Ot.extend("--ft-toggle-off-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-off-background-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-icon-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-on-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-on-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-on-background-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-toggle-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-toggle-gap","",Nt.spacing3),Ot.extend("--ft-radio-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-radio-selected-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-selected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-unselected-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-unselected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-radio-gap","",Nt.spacing3),Ot.extend("--ft-notification-icon-size","",Nt.iconSize4),Ot.extend("--ft-notification-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-notification-vertical-padding","",Nt.spacing4),Ot.extend("--ft-notification-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notification-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notification-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notification-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-notification-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-notification-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-notification-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notification-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-notification-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notification-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-notification-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-notification-error-border-color","",wt.borderErrorPrimary),Ot.extend("--ft-notification-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-notification-border-width","","SIZE","1px"),Ot.extend("--ft-notification-gap-leading","",Nt.spacing2),Ot.extend("--ft-notification-gap-trailing","",Nt.spacing8),Ot.create("--ft-color-primary","","COLOR","#2196F3"),Ot.create("--ft-color-primary-variant","","COLOR","#1976D2"),Ot.create("--ft-color-secondary","","COLOR","#FFCC80"),Ot.create("--ft-color-secondary-variant","","COLOR","#F57C00"),Ot.create("--ft-color-surface","","COLOR","#FFFFFF"),Ot.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-error","","COLOR","#B00020"),Ot.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),Ot.create("--ft-color-opacity-high","","NUMBER","1"),Ot.create("--ft-color-opacity-medium","","NUMBER","0.74"),Ot.create("--ft-color-opacity-disabled","","NUMBER","0.38"),Ot.create("--ft-color-on-primary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),Ot.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),Ot.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),Ot.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),Ot.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),Ot.create("--ft-border-radius-S","","SIZE","4px"),Ot.create("--ft-border-radius-M","","SIZE","8px"),Ot.create("--ft-border-radius-L","","SIZE","12px"),Ot.create("--ft-border-radius-XL","","SIZE","16px"),Ot.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),Ot.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),Ot.create("--ft-transition-duration","","UNKNOWN","250ms"),Ot.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class St extends gt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return v(r,t.elementStyles),r}}var Et,Ct=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};const Rt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends St{constructor(){super(),this[Et]=new n(5),this[xt]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[Rt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ut].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...r).filter(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Et=Ut,Ct([a()],It.prototype,"exportpartsPrefix",void 0),Ct([u([])],It.prototype,"exportpartsPrefixes",void 0),Ct([a()],It.prototype,"customStylesheet",void 0),m`
|
|
55
55
|
.ft-no-text-select {
|
|
56
56
|
-webkit-touch-callout: none;
|
|
57
57
|
-webkit-user-select: none;
|
|
@@ -83,7 +83,7 @@ var yt,bt;let gt=class extends I{constructor(){super(...arguments),this.renderOp
|
|
|
83
83
|
display: inline-block;
|
|
84
84
|
width: 0;
|
|
85
85
|
}
|
|
86
|
-
`;class Lt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var r,e;t=this.resolvePluralKey(t,o);let n=null!==(e=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==e?e:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,o){for(let r of o)if("number"==typeof r){const o=`${String(t)}[\\=${r}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const r=r=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(r):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}function At(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Wt,kt,Kt;const jt=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores");class Mt extends It{constructor(){super(...arguments),this[Wt]=new Map,this[kt]=new Map,this[Kt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ft].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:At(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ft].delete(o)}setupStore(t,o){this[Ft].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ft].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const r=this.constructor.getPropertyOptions(o);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:o)){const r=this.getStore(t.store);r&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[Zt].set(t,o.subscribe((()=>this.updateFromStores()))),At(o)&&o.eventBus&&(null===(r=this.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||o.name===t.store)){const e=t=>this[r](t);o.eventBus.addEventListener(t.eventName,e),this[jt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Pt(t){for(var o=arguments.length,r=Array(o>1?o-1:0),e=1;e<o;e++)r[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Bt(t){return!!t&&!!t[xo]}function Tt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var r=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Uo}(t)||Array.isArray(t)||!!t[Ro]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ro])||Ht(t)||qt(t))}function Dt(t,o,r){void 0===r&&(r=!1),0===_t(t)?(r?Object.keys:Io)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function _t(t){var o=t[xo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Ht(t)?2:qt(t)?3:0}function $t(t,o){return 2===_t(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function zt(t,o,r){var e=_t(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function Gt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Ht(t){return wo&&t instanceof Map}function qt(t){return So&&t instanceof Set}function Yt(t){return t.o||t.t}function Vt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Lo(t);delete o[xo];for(var r=Io(o),e=0;e<r.length;e++){var n=r[e],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Xt(t,o){return void 0===o&&(o=!1),Qt(t)||Bt(t)||!Tt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=Jt),Object.freeze(t),o&&Dt(t,(function(t,o){return Xt(o,!0)}),!0)),t}function Jt(){Pt(2)}function Qt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function to(t){var o=Ao[t];return o||Pt(18,t),o}function oo(){return Oo}function ro(t,o){o&&(to("Patches"),t.u=[],t.s=[],t.v=o)}function eo(t){no(t),t.p.forEach(ao),t.p=null}function no(t){t===Oo&&(Oo=t.l)}function io(t){return Oo={p:[],l:Oo,h:t,m:!0,_:0}}function ao(t){var o=t[xo];0===o.i||1===o.i?o.j():o.g=!0}function co(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||to("ES5").S(o,t,e),e?(r[xo].P&&(eo(o),Pt(4)),Tt(t)&&(t=so(o,t),o.l||fo(o,t)),o.u&&to("Patches").M(r[xo].t,t,o.u,o.s)):t=so(o,r,[]),eo(o),o.u&&o.v(o.u,o.s),t!==Co?t:void 0}function so(t,o,r){if(Qt(o))return o;var e=o[xo];if(!e)return Dt(o,(function(n,i){return lo(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return fo(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Vt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Dt(i,(function(o,i){return lo(t,e,n,o,i,r,a)})),fo(t,n,!1),r&&t.u&&to("Patches").N(e,r,t.u,t.s)}return e.o}function lo(t,o,r,e,n,i,a){if(Bt(n)){var c=so(t,n,i&&o&&3!==o.i&&!$t(o.R,e)?i.concat(e):void 0);if(zt(r,e,c),!Bt(c))return;t.m=!1}else a&&r.add(n);if(Tt(n)&&!Qt(n)){if(!t.h.D&&t._<1)return;so(t,n),o&&o.A.l||fo(t,n)}}function fo(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Xt(o,r)}function uo(t,o){var r=t[xo];return(r?Yt(r):t)[o]}function ho(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var e=Object.getOwnPropertyDescriptor(r,o);if(e)return e;r=Object.getPrototypeOf(r)}}function po(t){t.P||(t.P=!0,t.l&&po(t.l))}function yo(t){t.o||(t.o=Vt(t.t))}function bo(t,o,r){var e=Ht(o)?to("MapSet").F(o,r):qt(o)?to("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:oo(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Wo;r&&(n=[e],i=ko);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return e.k=s,e.j=c,s}(o,r):to("ES5").J(o,r);return(r?r.A:oo()).p.push(e),e}function go(t){return Bt(t)||Pt(22,t),function t(o){if(!Tt(o))return o;var r,e=o[xo],n=_t(o);if(e){if(!e.P&&(e.i<4||!to("ES5").K(e)))return e.t;e.I=!0,r=mo(o,n),e.I=!1}else r=mo(o,n);return Dt(r,(function(o,n){e&&function(t,o){return 2===_t(t)?t.get(o):t[o]}(e.t,o)===n||zt(r,o,t(n))})),3===n?new Set(r):r}(t)}function mo(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Vt(t)}Wt=Zt,kt=Ft,Kt=jt;var vo,Oo,No="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),wo="undefined"!=typeof Map,So="undefined"!=typeof Set,Eo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Co=No?Symbol.for("immer-nothing"):((vo={})["immer-nothing"]=!0,vo),Ro=No?Symbol.for("immer-draftable"):"__$immer_draftable",xo=No?Symbol.for("immer-state"):"__$immer_state",Uo=""+Object.prototype.constructor,Io="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Lo=Object.getOwnPropertyDescriptors||function(t){var o={};return Io(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Ao={},Wo={get:function(t,o){if(o===xo)return t;var r=Yt(t);if(!$t(r,o))return function(t,o,r){var e,n=ho(o,r);return n?"value"in n?n.value:null===(e=n.get)||void 0===e?void 0:e.call(t.k):void 0}(t,r,o);var e=r[o];return t.I||!Tt(e)?e:e===uo(t.t,o)?(yo(t),t.o[o]=bo(t.A.h,e,t)):e},has:function(t,o){return o in Yt(t)},ownKeys:function(t){return Reflect.ownKeys(Yt(t))},set:function(t,o,r){var e=ho(Yt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=uo(Yt(t),o),i=null==n?void 0:n[xo];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(Gt(r,n)&&(void 0!==r||$t(t.t,o)))return!0;yo(t),po(t)}return t.o[o]===r&&(void 0!==r||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==uo(t.t,o)||o in t.t?(t.R[o]=!1,yo(t),po(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=Yt(t),e=Reflect.getOwnPropertyDescriptor(r,o);return e?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:e.enumerable,value:r[o]}:e},defineProperty:function(){Pt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Pt(12)}},ko={};Dt(Wo,(function(t,o){ko[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ko.deleteProperty=function(t,o){return ko.set.call(this,t,o,void 0)},ko.set=function(t,o,r){return Wo.set.call(this,t[0],o,r,t[0])};var Ko=function(){function t(t){var o=this;this.O=Eo,this.D=!0,this.produce=function(t,r,e){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var e=arguments.length,a=Array(e>1?e-1:0),c=1;c<e;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Pt(6),void 0!==e&&"function"!=typeof e&&Pt(7),Tt(t)){var c=io(o),s=bo(o,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?eo(c):no(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ro(c,e),co(t,c)}),(function(t){throw eo(c),t})):(ro(c,e),co(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Co&&(a=void 0),o.D&&Xt(a,!0),e){var f=[],u=[];to("Patches").M(t,a,f,u),e(f,u)}return a}Pt(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o.produceWithPatches(r,(function(o){return t.apply(void 0,[o].concat(n))}))};var e,n,i=o.produce(t,r,(function(t,o){e=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,e,n]})):[i,e,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Tt(t)||Pt(8),Bt(t)&&(t=go(t));var o=io(this),r=bo(this,t,void 0);return r[xo].C=!0,no(o),r},o.finishDraft=function(t,o){var r=(t&&t[xo]).A;return ro(r,o),co(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Eo&&Pt(20),this.O=t},o.applyPatches=function(t,o){var r;for(r=o.length-1;r>=0;r--){var e=o[r];if(0===e.path.length&&"replace"===e.op){t=e.value;break}}r>-1&&(o=o.slice(r+1));var n=to("Patches").$;return Bt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),jo=new Ko,Zo=jo.produce;function Fo(t){return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fo(t)}function Mo(t){var o=function(t,o){if("object"!==Fo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==Fo(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Fo(o)?o:String(o)}function Po(t,o,r){return(o=Mo(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function Bo(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);o&&(e=e.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,e)}return r}function To(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?Bo(Object(r),!0).forEach((function(o){Po(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bo(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Do(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. "}jo.produceWithPatches.bind(jo),jo.setAutoFreeze.bind(jo),jo.setUseProxies.bind(jo),jo.applyPatches.bind(jo),jo.createDraft.bind(jo),jo.finishDraft.bind(jo);var _o="function"==typeof Symbol&&Symbol.observable||"@@observable",$o=function(){return Math.random().toString(36).substring(7).split("").join(".")},zo={INIT:"@@redux/INIT"+$o(),REPLACE:"@@redux/REPLACE"+$o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$o()}};function Go(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Do(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Do(1));return r(Go)(t,o)}if("function"!=typeof t)throw new Error(Do(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Do(3));return i}function u(t){if("function"!=typeof t)throw new Error(Do(4));if(s)throw new Error(Do(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Do(6));o=!1,l();var r=c.indexOf(t);c.splice(r,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Do(7));if(void 0===t.type)throw new Error(Do(8));if(s)throw new Error(Do(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,r=0;r<o.length;r++){(0,o[r])()}return t}return d({type:zo.INIT}),(e={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Do(10));n=t,d({type:zo.REPLACE})}})[_o]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Do(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[_o]=function(){return this},t},e}function Ho(t){for(var o=Object.keys(t),r={},e=0;e<o.length;e++){var n=o[e];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(o){var r=t[o];if(void 0===r(void 0,{type:zo.INIT}))throw new Error(Do(12));if(void 0===r(void 0,{type:zo.PROBE_UNKNOWN_ACTION()}))throw new Error(Do(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},c=0;c<a.length;c++){var s=a[c],l=r[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Do(14));n[s]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function qo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function Yo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),e=function(){throw new Error(Do(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=qo.apply(void 0,i)(r.dispatch),To(To({},r),{},{dispatch:e})}}}function Vo(t){return function(o){var r=o.dispatch,e=o.getState;return function(o){return function(n){return"function"==typeof n?n(r,e,t):o(n)}}}}var Xo=Vo();Xo.withExtraArgument=Vo;var Jo,Qo=Xo,tr=(Jo=function(t,o){return Jo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])},Jo(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}Jo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),or=function(t,o){var r,e,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,e=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},rr=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},er=Object.defineProperty,nr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=function(t,o,r){return o in t?er(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},fr=function(t,o){for(var r in o||(o={}))cr.call(o,r)&&lr(t,r,o[r]);if(ar)for(var e=0,n=ar(o);e<n.length;e++){r=n[e];sr.call(o,r)&&lr(t,r,o[r])}return t},ur=function(t,o){return nr(t,ir(o))},dr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?qo:qo.apply(null,arguments)};var hr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return tr(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array),pr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return tr(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array);function yr(t){return Tt(t)?Zo(t,(function(){})):t}function br(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,r=void 0===o||o;t.immutableCheck,t.serializableCheck;var e=new hr;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(Qo.withExtraArgument(r.extraArgument)):e.push(Qo));return e}(t)}}function gr(t){var o,r=br(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,c=void 0===a?r():a,s=e.devTools,l=void 0===s||s,f=e.preloadedState,u=void 0===f?void 0:f,d=e.enhancers,h=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var r=o;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return o===r}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Ho(i)}var p=c;"function"==typeof p&&(p=p(r));var y=Yo.apply(void 0,p),b=qo;l&&(b=dr(fr({trace:!1},"object"==typeof l&&l)));var g=new pr(y),m=g;return Array.isArray(h)?m=rr([y],h):"function"==typeof h&&(m=h(g)),Go(o,u,b.apply(void 0,m))}function mr(t,o){function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];if(o){var n=o.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return fr(fr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function vr(t){var o,r={},e=[],n={addCase:function(t,o){var e="string"==typeof t?t:t.type;if(e in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[e]=o,n},addMatcher:function(t,o){return e.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[r,e,o]}function Or(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var r,e="function"==typeof t.initialState?t.initialState:yr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?vr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=fr(fr({},n),c);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?vr(o):[o,r,e],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return yr(t())};else{var l=yr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=rr([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[s]),r.reduce((function(t,r){if(r){var e;if(Bt(t))return void 0===(e=r(t,o))?t:e;if(Tt(t))return Zo(t,(function(t){return r(t,o)}));if(void 0===(e=r(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return e}return t}),t)}return f.getInitialState=n,f}(e,(function(t){for(var o in f)t.addCase(o,f[o]);for(var r=0,e=a;r<e.length;r++){var n=e[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,e,i=n[t],l=o+"/"+t;"reducer"in i?(r=i.reducer,e=i.prepare):r=i,a[t]=r,c[l]=r,s[t]=e?mr(l,e):mr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:s,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Nr=["name","message","stack","code"],wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t,o){this.payload=t,this.meta=o},Er=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Nr;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Cr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,r){var e=mr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:ur(fr({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=mr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:ur(fr({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=mr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Er)(t||"Rejected"),meta:ur(fr({},i||{}),{arg:e,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(c,s,l){var f,u=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",r=t;r--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return or(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:s,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new wr(t,o)},fulfillWithValue:function(t,o){return new Sr(t,o)}})).then((function(o){if(o instanceof wr)throw o;return o instanceof Sr?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof wr?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},new Promise((function(t,o){var r=function(t){try{n(y.next(t))}catch(t){o(t)}},e=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(r,e)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:h,requestId:u,arg:t,unwrap:function(){return p.then(Cr)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var Rr="listenerMiddleware";mr(Rr+"/add"),mr(Rr+"/removeAll"),mr(Rr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var r=n[t];return r?r.enumerable=o:n[t]=r={configurable:!0,enumerable:o,get:function(){var o=this[xo];return Wo.get(o,t)},set:function(o){var r=this[xo];Wo.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][xo];if(!n.P)switch(n.i){case 5:e(n)&&po(n);break;case 4:r(n)&&po(n)}}}function r(t){for(var o=t.t,r=t.k,e=Io(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==xo){var a=o[i];if(void 0===a&&!$t(o,i))return!0;var c=r[i],s=c&&c[xo];if(s?s.t!==a:!Gt(c,a))return!0}}var l=!!o[xo];return e.length!==Io(o).length+(l?0:1)}function e(t){var o=t.k;if(o.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(o,o.length-1);if(r&&!r.get)return!0;for(var e=0;e<o.length;e++)if(!o.hasOwnProperty(e))return!0;return!1}var n={};!function(t,o){Ao[t]||(Ao[t]=o)}("ES5",{J:function(o,r){var e=Array.isArray(o),n=function(o,r){if(o){for(var e=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(e,""+n,t(n,!0));return e}var i=Lo(r);delete i[xo];for(var a=Io(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:oo(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,xo,{value:i,writable:!0}),n},S:function(t,r,n){n?Bt(r)&&r[xo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[xo];if(r){var n=r.t,i=r.k,a=r.R,c=r.i;if(4===c)Dt(i,(function(o){o!==xo&&(void 0!==n[o]||$t(n,o)?a[o]||t(i[o]):(a[o]=!0,po(r)))})),Dt(n,(function(t){void 0!==i[t]||$t(i,t)||(a[t]=!1,po(r))}));else if(5===c){if(e(r)&&(po(r),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?r(t):e(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class xr{static get(t){var o;const r="string"==typeof t?t:t.name,e="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(At(n))return n;if(null==e)return;const i=Or({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=gr({reducer:(t,o)=>{var r;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=o.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[e.name]=new xr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,r)=>{const e=o,n=t[e];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[e]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ur,Ir;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ir=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Ir||Ir.toString());
|
|
86
|
+
`;class Lt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var r,e;t=this.resolvePluralKey(t,o);let n=null!==(e=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==e?e:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,o){for(let r of o)if("number"==typeof r){const o=`${String(t)}[\\=${r}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const r=r=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(r):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}function At(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Wt,kt,Kt;const jt=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores");class Mt extends It{constructor(){super(...arguments),this[Wt]=new Map,this[kt]=new Map,this[Kt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ft].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:At(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ft].delete(o)}setupStore(t,o){this[Ft].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ft].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const r=this.constructor.getPropertyOptions(o);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:o)){const r=this.getStore(t.store);r&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[Zt].set(t,o.subscribe((()=>this.updateFromStores()))),At(o)&&o.eventBus&&(null===(r=this.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||o.name===t.store)){const e=t=>this[r](t);o.eventBus.addEventListener(t.eventName,e),this[jt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Tt(t){for(var o=arguments.length,r=Array(o>1?o-1:0),e=1;e<o;e++)r[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[xo]}function Bt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var r=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Uo}(t)||Array.isArray(t)||!!t[Ro]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ro])||Ht(t)||qt(t))}function Dt(t,o,r){void 0===r&&(r=!1),0===_t(t)?(r?Object.keys:Io)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function _t(t){var o=t[xo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Ht(t)?2:qt(t)?3:0}function $t(t,o){return 2===_t(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function zt(t,o,r){var e=_t(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function Gt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Ht(t){return wo&&t instanceof Map}function qt(t){return So&&t instanceof Set}function Yt(t){return t.o||t.t}function Vt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Lo(t);delete o[xo];for(var r=Io(o),e=0;e<r.length;e++){var n=r[e],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Xt(t,o){return void 0===o&&(o=!1),Qt(t)||Pt(t)||!Bt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=Jt),Object.freeze(t),o&&Dt(t,(function(t,o){return Xt(o,!0)}),!0)),t}function Jt(){Tt(2)}function Qt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function to(t){var o=Ao[t];return o||Tt(18,t),o}function oo(){return Oo}function ro(t,o){o&&(to("Patches"),t.u=[],t.s=[],t.v=o)}function eo(t){no(t),t.p.forEach(ao),t.p=null}function no(t){t===Oo&&(Oo=t.l)}function io(t){return Oo={p:[],l:Oo,h:t,m:!0,_:0}}function ao(t){var o=t[xo];0===o.i||1===o.i?o.j():o.g=!0}function co(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||to("ES5").S(o,t,e),e?(r[xo].P&&(eo(o),Tt(4)),Bt(t)&&(t=so(o,t),o.l||fo(o,t)),o.u&&to("Patches").M(r[xo].t,t,o.u,o.s)):t=so(o,r,[]),eo(o),o.u&&o.v(o.u,o.s),t!==Co?t:void 0}function so(t,o,r){if(Qt(o))return o;var e=o[xo];if(!e)return Dt(o,(function(n,i){return lo(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return fo(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Vt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Dt(i,(function(o,i){return lo(t,e,n,o,i,r,a)})),fo(t,n,!1),r&&t.u&&to("Patches").N(e,r,t.u,t.s)}return e.o}function lo(t,o,r,e,n,i,a){if(Pt(n)){var c=so(t,n,i&&o&&3!==o.i&&!$t(o.R,e)?i.concat(e):void 0);if(zt(r,e,c),!Pt(c))return;t.m=!1}else a&&r.add(n);if(Bt(n)&&!Qt(n)){if(!t.h.D&&t._<1)return;so(t,n),o&&o.A.l||fo(t,n)}}function fo(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Xt(o,r)}function uo(t,o){var r=t[xo];return(r?Yt(r):t)[o]}function ho(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var e=Object.getOwnPropertyDescriptor(r,o);if(e)return e;r=Object.getPrototypeOf(r)}}function po(t){t.P||(t.P=!0,t.l&&po(t.l))}function yo(t){t.o||(t.o=Vt(t.t))}function bo(t,o,r){var e=Ht(o)?to("MapSet").F(o,r):qt(o)?to("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:oo(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Wo;r&&(n=[e],i=ko);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return e.k=s,e.j=c,s}(o,r):to("ES5").J(o,r);return(r?r.A:oo()).p.push(e),e}function go(t){return Pt(t)||Tt(22,t),function t(o){if(!Bt(o))return o;var r,e=o[xo],n=_t(o);if(e){if(!e.P&&(e.i<4||!to("ES5").K(e)))return e.t;e.I=!0,r=mo(o,n),e.I=!1}else r=mo(o,n);return Dt(r,(function(o,n){e&&function(t,o){return 2===_t(t)?t.get(o):t[o]}(e.t,o)===n||zt(r,o,t(n))})),3===n?new Set(r):r}(t)}function mo(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Vt(t)}Wt=Zt,kt=Ft,Kt=jt;var vo,Oo,No="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),wo="undefined"!=typeof Map,So="undefined"!=typeof Set,Eo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Co=No?Symbol.for("immer-nothing"):((vo={})["immer-nothing"]=!0,vo),Ro=No?Symbol.for("immer-draftable"):"__$immer_draftable",xo=No?Symbol.for("immer-state"):"__$immer_state",Uo=""+Object.prototype.constructor,Io="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Lo=Object.getOwnPropertyDescriptors||function(t){var o={};return Io(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Ao={},Wo={get:function(t,o){if(o===xo)return t;var r=Yt(t);if(!$t(r,o))return function(t,o,r){var e,n=ho(o,r);return n?"value"in n?n.value:null===(e=n.get)||void 0===e?void 0:e.call(t.k):void 0}(t,r,o);var e=r[o];return t.I||!Bt(e)?e:e===uo(t.t,o)?(yo(t),t.o[o]=bo(t.A.h,e,t)):e},has:function(t,o){return o in Yt(t)},ownKeys:function(t){return Reflect.ownKeys(Yt(t))},set:function(t,o,r){var e=ho(Yt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=uo(Yt(t),o),i=null==n?void 0:n[xo];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(Gt(r,n)&&(void 0!==r||$t(t.t,o)))return!0;yo(t),po(t)}return t.o[o]===r&&(void 0!==r||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==uo(t.t,o)||o in t.t?(t.R[o]=!1,yo(t),po(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=Yt(t),e=Reflect.getOwnPropertyDescriptor(r,o);return e?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:e.enumerable,value:r[o]}:e},defineProperty:function(){Tt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Tt(12)}},ko={};Dt(Wo,(function(t,o){ko[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ko.deleteProperty=function(t,o){return ko.set.call(this,t,o,void 0)},ko.set=function(t,o,r){return Wo.set.call(this,t[0],o,r,t[0])};var Ko=function(){function t(t){var o=this;this.O=Eo,this.D=!0,this.produce=function(t,r,e){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var e=arguments.length,a=Array(e>1?e-1:0),c=1;c<e;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Tt(6),void 0!==e&&"function"!=typeof e&&Tt(7),Bt(t)){var c=io(o),s=bo(o,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?eo(c):no(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ro(c,e),co(t,c)}),(function(t){throw eo(c),t})):(ro(c,e),co(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Co&&(a=void 0),o.D&&Xt(a,!0),e){var f=[],u=[];to("Patches").M(t,a,f,u),e(f,u)}return a}Tt(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o.produceWithPatches(r,(function(o){return t.apply(void 0,[o].concat(n))}))};var e,n,i=o.produce(t,r,(function(t,o){e=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,e,n]})):[i,e,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Bt(t)||Tt(8),Pt(t)&&(t=go(t));var o=io(this),r=bo(this,t,void 0);return r[xo].C=!0,no(o),r},o.finishDraft=function(t,o){var r=(t&&t[xo]).A;return ro(r,o),co(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Eo&&Tt(20),this.O=t},o.applyPatches=function(t,o){var r;for(r=o.length-1;r>=0;r--){var e=o[r];if(0===e.path.length&&"replace"===e.op){t=e.value;break}}r>-1&&(o=o.slice(r+1));var n=to("Patches").$;return Pt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),jo=new Ko,Zo=jo.produce;function Fo(t){return Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fo(t)}function Mo(t){var o=function(t,o){if("object"!==Fo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==Fo(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Fo(o)?o:String(o)}function To(t,o,r){return(o=Mo(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function Po(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);o&&(e=e.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,e)}return r}function Bo(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?Po(Object(r),!0).forEach((function(o){To(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Po(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Do(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. "}jo.produceWithPatches.bind(jo),jo.setAutoFreeze.bind(jo),jo.setUseProxies.bind(jo),jo.applyPatches.bind(jo),jo.createDraft.bind(jo),jo.finishDraft.bind(jo);var _o="function"==typeof Symbol&&Symbol.observable||"@@observable",$o=function(){return Math.random().toString(36).substring(7).split("").join(".")},zo={INIT:"@@redux/INIT"+$o(),REPLACE:"@@redux/REPLACE"+$o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$o()}};function Go(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Do(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Do(1));return r(Go)(t,o)}if("function"!=typeof t)throw new Error(Do(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Do(3));return i}function u(t){if("function"!=typeof t)throw new Error(Do(4));if(s)throw new Error(Do(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Do(6));o=!1,l();var r=c.indexOf(t);c.splice(r,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Do(7));if(void 0===t.type)throw new Error(Do(8));if(s)throw new Error(Do(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,r=0;r<o.length;r++){(0,o[r])()}return t}return d({type:zo.INIT}),(e={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Do(10));n=t,d({type:zo.REPLACE})}})[_o]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Do(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[_o]=function(){return this},t},e}function Ho(t){for(var o=Object.keys(t),r={},e=0;e<o.length;e++){var n=o[e];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(o){var r=t[o];if(void 0===r(void 0,{type:zo.INIT}))throw new Error(Do(12));if(void 0===r(void 0,{type:zo.PROBE_UNKNOWN_ACTION()}))throw new Error(Do(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},c=0;c<a.length;c++){var s=a[c],l=r[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Do(14));n[s]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function qo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function Yo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),e=function(){throw new Error(Do(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=qo.apply(void 0,i)(r.dispatch),Bo(Bo({},r),{},{dispatch:e})}}}function Vo(t){return function(o){var r=o.dispatch,e=o.getState;return function(o){return function(n){return"function"==typeof n?n(r,e,t):o(n)}}}}var Xo=Vo();Xo.withExtraArgument=Vo;var Jo,Qo=Xo,tr=(Jo=function(t,o){return Jo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])},Jo(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function r(){this.constructor=t}Jo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),or=function(t,o){var r,e,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,e=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},rr=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},er=Object.defineProperty,nr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=function(t,o,r){return o in t?er(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},fr=function(t,o){for(var r in o||(o={}))cr.call(o,r)&&lr(t,r,o[r]);if(ar)for(var e=0,n=ar(o);e<n.length;e++){r=n[e];sr.call(o,r)&&lr(t,r,o[r])}return t},ur=function(t,o){return nr(t,ir(o))},dr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?qo:qo.apply(null,arguments)};var hr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return tr(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array),pr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return tr(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array);function yr(t){return Bt(t)?Zo(t,(function(){})):t}function br(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,r=void 0===o||o;t.immutableCheck,t.serializableCheck;var e=new hr;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(Qo.withExtraArgument(r.extraArgument)):e.push(Qo));return e}(t)}}function gr(t){var o,r=br(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,c=void 0===a?r():a,s=e.devTools,l=void 0===s||s,f=e.preloadedState,u=void 0===f?void 0:f,d=e.enhancers,h=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var r=o;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return o===r}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Ho(i)}var p=c;"function"==typeof p&&(p=p(r));var y=Yo.apply(void 0,p),b=qo;l&&(b=dr(fr({trace:!1},"object"==typeof l&&l)));var g=new pr(y),m=g;return Array.isArray(h)?m=rr([y],h):"function"==typeof h&&(m=h(g)),Go(o,u,b.apply(void 0,m))}function mr(t,o){function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];if(o){var n=o.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return fr(fr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function vr(t){var o,r={},e=[],n={addCase:function(t,o){var e="string"==typeof t?t:t.type;if(e in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[e]=o,n},addMatcher:function(t,o){return e.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[r,e,o]}function Or(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var r,e="function"==typeof t.initialState?t.initialState:yr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?vr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=fr(fr({},n),c);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?vr(o):[o,r,e],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return yr(t())};else{var l=yr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=rr([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[s]),r.reduce((function(t,r){if(r){var e;if(Pt(t))return void 0===(e=r(t,o))?t:e;if(Bt(t))return Zo(t,(function(t){return r(t,o)}));if(void 0===(e=r(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return e}return t}),t)}return f.getInitialState=n,f}(e,(function(t){for(var o in f)t.addCase(o,f[o]);for(var r=0,e=a;r<e.length;r++){var n=e[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,e,i=n[t],l=o+"/"+t;"reducer"in i?(r=i.reducer,e=i.prepare):r=i,a[t]=r,c[l]=r,s[t]=e?mr(l,e):mr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:s,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Nr=["name","message","stack","code"],wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t,o){this.payload=t,this.meta=o},Er=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Nr;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Cr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,r){var e=mr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:ur(fr({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=mr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:ur(fr({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=mr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Er)(t||"Rejected"),meta:ur(fr({},i||{}),{arg:e,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(c,s,l){var f,u=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",r=t;r--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return or(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:s,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new wr(t,o)},fulfillWithValue:function(t,o){return new Sr(t,o)}})).then((function(o){if(o instanceof wr)throw o;return o instanceof Sr?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof wr?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},new Promise((function(t,o){var r=function(t){try{n(y.next(t))}catch(t){o(t)}},e=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(r,e)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:h,requestId:u,arg:t,unwrap:function(){return p.then(Cr)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var Rr="listenerMiddleware";mr(Rr+"/add"),mr(Rr+"/removeAll"),mr(Rr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var r=n[t];return r?r.enumerable=o:n[t]=r={configurable:!0,enumerable:o,get:function(){var o=this[xo];return Wo.get(o,t)},set:function(o){var r=this[xo];Wo.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][xo];if(!n.P)switch(n.i){case 5:e(n)&&po(n);break;case 4:r(n)&&po(n)}}}function r(t){for(var o=t.t,r=t.k,e=Io(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==xo){var a=o[i];if(void 0===a&&!$t(o,i))return!0;var c=r[i],s=c&&c[xo];if(s?s.t!==a:!Gt(c,a))return!0}}var l=!!o[xo];return e.length!==Io(o).length+(l?0:1)}function e(t){var o=t.k;if(o.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(o,o.length-1);if(r&&!r.get)return!0;for(var e=0;e<o.length;e++)if(!o.hasOwnProperty(e))return!0;return!1}var n={};!function(t,o){Ao[t]||(Ao[t]=o)}("ES5",{J:function(o,r){var e=Array.isArray(o),n=function(o,r){if(o){for(var e=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(e,""+n,t(n,!0));return e}var i=Lo(r);delete i[xo];for(var a=Io(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:oo(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,xo,{value:i,writable:!0}),n},S:function(t,r,n){n?Pt(r)&&r[xo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[xo];if(r){var n=r.t,i=r.k,a=r.R,c=r.i;if(4===c)Dt(i,(function(o){o!==xo&&(void 0!==n[o]||$t(n,o)?a[o]||t(i[o]):(a[o]=!0,po(r)))})),Dt(n,(function(t){void 0!==i[t]||$t(i,t)||(a[t]=!1,po(r))}));else if(5===c){if(e(r)&&(po(r),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?r(t):e(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class xr{static get(t){var o;const r="string"==typeof t?t:t.name,e="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(At(n))return n;if(null==e)return;const i=Or({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=gr({reducer:(t,o)=>{var r;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=o.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[e.name]=new xr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,r)=>{const e=o,n=t[e];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[e]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ur,Ir;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ir=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Ir||Ir.toString());
|
|
87
87
|
/**
|
|
88
88
|
* @license
|
|
89
89
|
* Copyright 2017 Google LLC
|
|
@@ -94,27 +94,27 @@ const Lr=2;class Ar{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,r)
|
|
|
94
94
|
* @license
|
|
95
95
|
* Copyright 2020 Google LLC
|
|
96
96
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
97
|
-
*/const{I:Wr}=ht,kr=()=>document.createComment(""),Kr=(t,o,r)=>{var e;const n=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===r){const o=n.insertBefore(kr(),i),e=n.insertBefore(kr(),i);r=new Wr(o,e,t,t.options)}else{const o=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let o;null===(e=r._$AQ)||void 0===e||e.call(r,t),r._$AM=t,void 0!==r._$AP&&(o=t._$AU)!==a._$AU&&r._$AP(o)}if(o!==i||c){let t=r._$AA;for(;t!==o;){const o=t.nextSibling;n.insertBefore(t,i),t=o}}}return r},jr=(t,o,r=t)=>(t._$AI(o,r),t),Zr={},Fr=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let r=t._$AA;const e=t._$AB.nextSibling;for(;r!==e;){const t=r.nextSibling;r.remove(),r=t}},Mr=(t,o,r)=>{const e=new Map;for(let n=o;n<=r;n++)e.set(t[n],n);return e},
|
|
98
|
-
|
|
99
|
-
`,Dr=xr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});
|
|
97
|
+
*/const{I:Wr}=ht,kr=()=>document.createComment(""),Kr=(t,o,r)=>{var e;const n=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===r){const o=n.insertBefore(kr(),i),e=n.insertBefore(kr(),i);r=new Wr(o,e,t,t.options)}else{const o=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let o;null===(e=r._$AQ)||void 0===e||e.call(r,t),r._$AM=t,void 0!==r._$AP&&(o=t._$AU)!==a._$AU&&r._$AP(o)}if(o!==i||c){let t=r._$AA;for(;t!==o;){const o=t.nextSibling;n.insertBefore(t,i),t=o}}}return r},jr=(t,o,r=t)=>(t._$AI(o,r),t),Zr={},Fr=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let r=t._$AA;const e=t._$AB.nextSibling;for(;r!==e;){const t=r.nextSibling;r.remove(),r=t}},Mr=(t,o,r)=>{const e=new Map;for(let n=o;n<=r;n++)e.set(t[n],n);return e},Tr=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends Ar{constructor(t){if(super(t),t.type!==Lr)throw Error("repeat() can only be used in text expressions")}dt(t,o,r){let e;void 0===r?r=o:void 0!==o&&(e=o);const n=[],i=[];let a=0;for(const o of t)n[a]=e?e(o,a):a,i[a]=r(o,a),a++;return{values:i,keys:n}}render(t,o,r){return this.dt(t,o,r).values}update(t,[o,r,e]){var n;const i=(t=>t._$AH)(t),{values:a,keys:c}=this.dt(o,r,e);if(!Array.isArray(i))return this.ht=c,a;const s=null!==(n=this.ht)&&void 0!==n?n:this.ht=[],l=[];let f,u,d=0,h=i.length-1,p=0,y=a.length-1;for(;d<=h&&p<=y;)if(null===i[d])d++;else if(null===i[h])h--;else if(s[d]===c[p])l[p]=jr(i[d],a[p]),d++,p++;else if(s[h]===c[y])l[y]=jr(i[h],a[y]),h--,y--;else if(s[d]===c[y])l[y]=jr(i[d],a[y]),Kr(t,l[y+1],i[d]),d++,y--;else if(s[h]===c[p])l[p]=jr(i[h],a[p]),Kr(t,i[d],i[h]),h--,p++;else if(void 0===f&&(f=Mr(c,p,y),u=Mr(s,d,h)),f.has(s[d]))if(f.has(s[h])){const o=u.get(c[p]),r=void 0!==o?i[o]:null;if(null===r){const o=Kr(t,i[d]);jr(o,a[p]),l[p]=o}else l[p]=jr(r,a[p]),Kr(t,i[d],r),i[o]=null;p++}else Fr(i[h]),h--;else Fr(i[d]),d++;for(;p<=y;){const o=Kr(t,l[y+1]);jr(o,a[p]),l[p++]=o}for(;d<=h;){const t=i[d++];null!==t&&Fr(t)}return this.ht=c,((t,o=Zr)=>{t._$AH=o})(t,l),J}}),Pr=m`
|
|
98
|
+
`;
|
|
100
99
|
/**
|
|
101
100
|
* @license
|
|
102
101
|
* Copyright 2017 Google LLC
|
|
103
102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/class _r{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=Dr.getState(),e=null!=t?t:r;if(o&&e&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,e,!0)}static get(t){var o;return null!=t?_r.build(t):null!==(o=_r.API)&&void 0!==o?o:_r.API=_r.build()}static await(t){return new Promise((o=>{let r=_r.get(t);if(r)o(r);else{const e=Dr.subscribe((()=>{r=_r.get(t),r&&(e(),o(r))}))}}))}}var $r;const zr=Symbol("clearAfterUnitTest");class Gr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e,this.listeners={},this.currentUiLocale="",this[$r]=()=>{this.defaultMessages={},this.cache=new e,this.listeners={}},this.currentUiLocale=Dr.getState().uiLocale,Dr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Dr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var r;if(t=t.toLowerCase(),Object.keys(o).length>0){const e={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};l(this.defaultMessages[t],e)||(this.defaultMessages[t]=e,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var e,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(e=this.cache.getNow(t))||void 0===e?void 0:e.messages)&&void 0!==n?n:{};return new Lt(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var r;return t=t.toLowerCase(),this.listeners[t]=null!==(r=this.listeners[t])&&void 0!==r?r:new Set,this.listeners[t].add(o),()=>{var r;return null===(r=this.listeners[t])||void 0===r?void 0:r.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}$r=zr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Gr((async(t,o)=>(await _r.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Gr((async(t,o)=>(await _r.await()).getCustomMessageContext(t,o))));const Hr=window.FluidTopicsI18nService;var qr=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class Yr extends It{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>_r.get(),this.cache=new e,this.cleanSessionDebouncer=new n}render(){return X`
|
|
103
|
+
*/var Br,Dr,_r,$r,zr,Gr,Hr,qr,Yr,Vr,Xr,Jr,Qr,te;!function(t){!function(o){var r={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(r.arrayBuffer)var e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&e.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return r.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,r){t.onload=function(){o(t.result)},t.onerror=function(){r(t.error)}}))}function u(t){var o=new FileReader,r=f(o);return o.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,r=f(o);return o.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),r=new Array(o.length),e=0;e<o.length;e++)r[e]=String.fromCharCode(o[e]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=i(t),o=a(o);var r=this.map[t];this.map[t]=r?r+", "+o:o},s.prototype.delete=function(t){delete this.map[i(t)]},s.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},s.prototype.set=function(t,o){this.map[i(t)]=a(o)},s.prototype.forEach=function(t,o){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),c(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),c(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,r){t.push([r,o])})),c(t)},r.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var r,e,n=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(r=o.method||this.method||"GET",e=r.toUpperCase(),p.indexOf(e)>-1?e:r),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),e=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");o.append(decodeURIComponent(e),decodeURIComponent(n))}})),o}function g(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new g(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var r=Error(t);this.stack=r.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,e){return new Promise((function(n,i){var a=new y(t,e);if(a.signal&&a.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var t,o,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),e=r.shift().trim();if(e){var n=r.join(":").trim();o.append(e,n)}})),o)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var e="response"in c?c.response:c.responseText;n(new g(e,r))},c.onerror=function(){i(new TypeError("Network request failed"))},c.ontimeout=function(){i(new TypeError("Network request failed"))},c.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},c.open(a.method,a.url,!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&r.blob&&(c.responseType="blob"),a.headers.forEach((function(t,o){c.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=g),o.Headers=s,o.Request=y,o.Response=g,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),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"}(_r||(_r={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}($r||($r={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(zr||(zr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Hr||(Hr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(qr||(qr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Yr||(Yr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Vr||(Vr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Qr||(Qr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(te||(te={})),te.PERSONAL_BOOK_SHARE_USER,te.PERSONAL_BOOK_USER,te.HTML_EXPORT_USER,te.PERSONAL_BOOK_USER,te.PDF_EXPORT_USER,te.PERSONAL_BOOK_USER,te.KHUB_ADMIN,te.CONTENT_PUBLISHER,te.ADMIN,te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.DEVELOPER,te.BETA_USER,te.DEBUG_USER;const oe=m`
|
|
104
|
+
`,re=xr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class ee{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=re.getState(),e=null!=t?t:r;if(o&&e&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,e,!0)}static get(t){var o;return null!=t?ee.build(t):null!==(o=ee.API)&&void 0!==o?o:ee.API=ee.build()}static await(t){return new Promise((o=>{let r=ee.get(t);if(r)o(r);else{const e=re.subscribe((()=>{r=ee.get(t),r&&(e(),o(r))}))}}))}}var ne;const ie=Symbol("clearAfterUnitTest");class ae{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e,this.listeners={},this.currentUiLocale="",this[ne]=()=>{this.defaultMessages={},this.cache=new e,this.listeners={}},this.currentUiLocale=re.getState().uiLocale,re.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=re.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var r;if(t=t.toLowerCase(),Object.keys(o).length>0){const e={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};l(this.defaultMessages[t],e)||(this.defaultMessages[t]=e,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var e,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(e=this.cache.getNow(t))||void 0===e?void 0:e.messages)&&void 0!==n?n:{};return new Lt(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var r;return t=t.toLowerCase(),this.listeners[t]=null!==(r=this.listeners[t])&&void 0!==r?r:new Set,this.listeners[t].add(o),()=>{var r;return null===(r=this.listeners[t])||void 0===r?void 0:r.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}ne=ie,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ae((async(t,o)=>(await ee.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ae((async(t,o)=>(await ee.await()).getCustomMessageContext(t,o))));const ce=window.FluidTopicsI18nService;var se=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class le extends It{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>ee.get(),this.cache=new e,this.cleanSessionDebouncer=new n}render(){return X`
|
|
105
105
|
<slot></slot>
|
|
106
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
106
|
+
`}update(t){super.update(t),t.has("baseUrl")&&re.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&re.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&re.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&re.actions.setNoCustom(this.noCustom),t.has("editorMode")&&re.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&re.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&re.actions.setSession(this.session),t.has("availableUiLocales")&&re.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ce.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}le.elementDefinitions={},le.styles=oe,se([a()],le.prototype,"baseUrl",void 0),se([a()],le.prototype,"apiIntegrationIdentifier",void 0),se([a()],le.prototype,"uiLocale",void 0),se([u([])],le.prototype,"availableUiLocales",void 0),se([a({type:Boolean})],le.prototype,"editorMode",void 0),se([a({type:Boolean})],le.prototype,"noCustom",void 0),se([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],le.prototype,"noCustomComponent",void 0),se([a({type:Boolean})],le.prototype,"withManualResources",void 0),se([u([])],le.prototype,"messageContexts",void 0),se([u(void 0)],le.prototype,"session",void 0),se([a({type:Object})],le.prototype,"apiProvider",void 0);class fe{async listMySearches(){var t;return(null===(t=re.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ee.await()).listMySearches(re.getState().session.profile.userId):[]}}const ue=new e;class de{async listMyBookmarks(){return ue.get("bookmarks",(async()=>(await ee.await()).listMyBookmarks(re.getState().session.profile.userId)))}clearCache(){ue.clear("bookmarks")}}const he=xr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=re.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new de,re.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=re.getState();l(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){he.actions.savedSearches(void 0)}clearMyBookmarks(){he.actions.bookmarks(void 0)}async reloadMySearches(){const t=new fe,o=await t.listMySearches();he.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;he.actions.bookmarks(o)}}},f("ft-app-context")(le);class pe extends Event{constructor(){super(pe.eventName)}}pe.eventName="search-context-clear-all-filters";var ye=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class be extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ge=Symbol("registerInterval");class me extends(function(t){var o;class r extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ge]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ge]):this.dispatchEvent(new be)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ge,ye([c()],r.prototype,"stateManager",void 0),r}(Mt)){}const ve=m`
|
|
107
107
|
a {
|
|
108
108
|
color: inherit;
|
|
109
109
|
text-decoration: inherit;
|
|
110
110
|
}
|
|
111
|
-
`;var ae,ce,se,le,fe,ue,de,he,pe,ye,be,ge;!function(t){!function(o){var r={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(r.arrayBuffer)var e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&e.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return r.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,r){t.onload=function(){o(t.result)},t.onerror=function(){r(t.error)}}))}function u(t){var o=new FileReader,r=f(o);return o.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,r=f(o);return o.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),r=new Array(o.length),e=0;e<o.length;e++)r[e]=String.fromCharCode(o[e]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=i(t),o=a(o);var r=this.map[t];this.map[t]=r?r+", "+o:o},s.prototype.delete=function(t){delete this.map[i(t)]},s.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},s.prototype.set=function(t,o){this.map[i(t)]=a(o)},s.prototype.forEach=function(t,o){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),c(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),c(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,r){t.push([r,o])})),c(t)},r.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var r,e,n=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(r=o.method||this.method||"GET",e=r.toUpperCase(),p.indexOf(e)>-1?e:r),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),e=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");o.append(decodeURIComponent(e),decodeURIComponent(n))}})),o}function g(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new g(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var r=Error(t);this.stack=r.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,e){return new Promise((function(n,i){var a=new y(t,e);if(a.signal&&a.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var t,o,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),e=r.shift().trim();if(e){var n=r.join(":").trim();o.append(e,n)}})),o)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var e="response"in c?c.response:c.responseText;n(new g(e,r))},c.onerror=function(){i(new TypeError("Network request failed"))},c.ontimeout=function(){i(new TypeError("Network request failed"))},c.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},c.open(a.method,a.url,!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&r.blob&&(c.responseType="blob"),a.headers.forEach((function(t,o){c.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=g),o.Headers=s,o.Request=y,o.Response=g,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ae||(ae={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ce||(ce={})),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"}(se||(se={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(le||(le={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(fe||(fe={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ue||(ue={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(de||(de={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(he||(he={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(pe||(pe={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ye||(ye={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(be||(be={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ge||(ge={})),ge.PERSONAL_BOOK_SHARE_USER,ge.PERSONAL_BOOK_USER,ge.HTML_EXPORT_USER,ge.PERSONAL_BOOK_USER,ge.PDF_EXPORT_USER,ge.PERSONAL_BOOK_USER,ge.KHUB_ADMIN,ge.CONTENT_PUBLISHER,ge.ADMIN,ge.KHUB_ADMIN,ge.USERS_ADMIN,ge.PORTAL_ADMIN,ge.DEVELOPER,ge.BETA_USER,ge.DEBUG_USER;var me=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class ve extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Oe extends It{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return X`
|
|
111
|
+
`;var Oe=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class Ne extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class we extends It{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return X`
|
|
112
112
|
<a href="${this.url}" @click=${this.onResultClick}>
|
|
113
113
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
114
114
|
</a>
|
|
115
|
-
`}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case
|
|
116
|
-
`}render(){var t;return
|
|
115
|
+
`}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case Jr.MAP:return this.result.map.readerUrl;case Jr.DOCUMENT:return this.result.document.viewerUrl;case Jr.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new Ne(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}we.elementDefinitions={},we.styles=ve,Oe([a({attribute:!1})],we.prototype,"result",void 0),Oe([a()],we.prototype,"index",void 0),f("ft-search-result-context")(we);var Se=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class Ee extends me{constructor(){super(...arguments),this.clusterPolicy="display-first-result",this.renderResult=()=>X`
|
|
116
|
+
`}render(){var t;return Tr((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var o,r,e,n,i;return null!==(n=null!==(r=null===(o=t.document)||void 0===o?void 0:o.documentId)&&void 0!==r?r:null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==n?n:null===(i=t.topic)||void 0===i?void 0:i.tocId}),((t,o)=>X`
|
|
117
117
|
<ft-search-result-context .result=${t} index="${o}">
|
|
118
118
|
${this.renderResult(t,o)}
|
|
119
119
|
</ft-search-result-context>
|
|
120
|
-
`))}}
|
|
120
|
+
`))}}Ee.styles=Pr,Se([a({type:String,attribute:"cluster-policy"})],Ee.prototype,"clusterPolicy",void 0),Se([a({attribute:!1})],Ee.prototype,"renderResult",void 0),Se([(t=>{const o=null!=t?t:{};return(t,r)=>{var e;const n={hasChanged:(t,o)=>!l(t,o),attribute:!1,...o};a(n)(t,r);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(r,{selector:null!==(e=o.selector)&&void 0!==e?e:t=>t[r],store:o.store})}})()],Ee.prototype,"results",void 0),f("ft-search-results")(Ee),t.FtSearchResults=Ee,t.FtSearchResultsCssVariables={},t.styles=Pr}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-results",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.61",
|
|
4
4
|
"description": "Search result list for integrated search component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-search-result-context": "1.0.
|
|
23
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-search-result-context": "1.0.61",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.0.61",
|
|
24
24
|
"lit": "2.7.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@fluid-topics/public-api": "1.0.
|
|
27
|
+
"@fluid-topics/public-api": "1.0.48"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "c2a916c32bd1fe396316800c6afd78662ed27409"
|
|
30
30
|
}
|