@fluid-topics/ft-reader-search-in-document 1.1.75 → 1.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var al=Object.create;var dn=Object.defineProperty;var sl=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var cl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var se=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var dl=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ll(t))!pl.call(o,i)&&i!==r&&dn(o,i,{get:()=>t[i],enumerable:!(n=sl(t,i))||n.enumerable});return o};var f=(o,t,r)=>(r=o!=null?al(cl(o)):{},dl(t||!o||!o.__esModule?dn(r,"default",{value:o,enumerable:!0}):r,o));var v=se((Xl,fn)=>{fn.exports=ftGlobals.wcUtils});var E=se((Ql,un)=>{un.exports=ftGlobals.lit});var Z=se((oc,On)=>{On.exports=ftGlobals.litDecorators});var Ye=se((Pf,gi)=>{gi.exports=ftGlobals.litClassMap});var ko=se(($u,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var es=se(ts=>{(function(o){var t=function(r){var n={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(d){return d&&DataView.prototype.isPrototypeOf(d)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function c(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function u(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var m={next:function(){var R=d.shift();return{done:R===void 0,value:R}}};return n.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,R){this.append(R,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=c(d),m=u(m);var R=this.map[d];this.map[d]=R?R+", "+m:m},b.prototype.delete=function(d){delete this.map[c(d)]},b.prototype.get=function(d){return d=c(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(c(d))},b.prototype.set=function(d,m){this.map[c(d)]=u(m)},b.prototype.forEach=function(d,m){for(var R in this.map)this.map.hasOwnProperty(R)&&d.call(m,this.map[R],R,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,R){d.push(R)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,R){d.push([R,m])}),h(d)},n.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function L(d){return new Promise(function(m,R){d.onload=function(){m(d.result)},d.onerror=function(){R(d.error)}})}function w(d){var m=new FileReader,R=L(m);return m.readAsArrayBuffer(d),R}function P(d){var m=new FileReader,R=L(m);return m.readAsText(d),R}function H(d){for(var m=new Uint8Array(d),R=new Array(m.length),tt=0;tt<m.length;tt++)R[tt]=String.fromCharCode(m[tt]);return R.join("")}function z(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:n.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:n.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():n.arrayBuffer&&n.blob&&i(d)?(this._bodyArrayBuffer=z(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||s(d))?this._bodyArrayBuffer=z(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var d=S(this);if(d)return d;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?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return P(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var V=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ot(d){var m=d.toUpperCase();return V.indexOf(m)>-1?m:d}function it(d,m){m=m||{};var R=m.body;if(d instanceof it){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!R&&d._bodyInit!=null&&(R=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=ot(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})};function J(d){var m=new FormData;return d.trim().split("&").forEach(function(R){if(R){var tt=R.split("="),rt=tt.shift().replace(/\+/g," "),$=tt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(rt),decodeURIComponent($))}}),m}function So(d){var m=new b,R=d.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(tt){var rt=tt.split(":"),$=rt.shift().trim();if($){var vo=rt.join(":").trim();m.append($,vo)}}),m}M.call(it.prototype);function St(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}M.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},St.error=function(){var d=new St(null,{status:0,statusText:""});return d.type="error",d};var pn=[301,302,303,307,308];St.redirect=function(d,m){if(pn.indexOf(m)===-1)throw new RangeError("Invalid status code");return new St(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,R){this.message=m,this.name=R;var tt=Error(m);this.stack=tt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Se(d,m){return new Promise(function(R,tt){var rt=new it(d,m);if(rt.signal&&rt.signal.aborted)return tt(new r.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function vo(){$.abort()}$.onload=function(){var je={status:$.status,statusText:$.statusText,headers:So($.getAllResponseHeaders()||"")};je.url="responseURL"in $?$.responseURL:je.headers.get("X-Request-URL");var dr="response"in $?$.response:$.responseText;R(new St(dr,je))},$.onerror=function(){tt(new TypeError("Network request failed"))},$.ontimeout=function(){tt(new TypeError("Network request failed"))},$.onabort=function(){tt(new r.DOMException("Aborted","AbortError"))},$.open(rt.method,rt.url,!0),rt.credentials==="include"?$.withCredentials=!0:rt.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&n.blob&&($.responseType="blob"),rt.headers.forEach(function(je,dr){$.setRequestHeader(dr,je)}),rt.signal&&(rt.signal.addEventListener("abort",vo),$.onreadystatechange=function(){$.readyState===4&&rt.signal.removeEventListener("abort",vo)}),$.send(typeof rt._bodyInit>"u"?null:rt._bodyInit)})}return Se.polyfill=!0,o.fetch||(o.fetch=Se,o.Headers=b,o.Request=it,o.Response=St),r.Headers=b,r.Request=it,r.Response=St,r.fetch=Se,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:ts)});var Yr=se((ry,Ls)=>{Ls.exports=ftGlobals.litRepeat});var il=f(v());var Et=f(E()),cn=f(v());var Ur=f(E()),O=f(v());var vn=f(E()),T=f(v());var xn=f(E()),q=f(v()),hn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),I={color:hn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",hn),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),gn={color:mn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",mn)},yn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),bn={color:yn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",yn)},Sn=xn.css`
1
+ "use strict";(()=>{var al=Object.create;var dn=Object.defineProperty;var sl=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var cl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var se=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var dl=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ll(t))!pl.call(o,i)&&i!==r&&dn(o,i,{get:()=>t[i],enumerable:!(n=sl(t,i))||n.enumerable});return o};var f=(o,t,r)=>(r=o!=null?al(cl(o)):{},dl(t||!o||!o.__esModule?dn(r,"default",{value:o,enumerable:!0}):r,o));var v=se((Xl,fn)=>{fn.exports=ftGlobals.wcUtils});var E=se((Ql,un)=>{un.exports=ftGlobals.lit});var Z=se((oc,On)=>{On.exports=ftGlobals.litDecorators});var Ye=se((Mf,gi)=>{gi.exports=ftGlobals.litClassMap});var ko=se((zu,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var es=se(ts=>{(function(o){var t=function(r){var n={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function i(d){return d&&DataView.prototype.isPrototypeOf(d)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function p(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function u(d){return typeof d!="string"&&(d=String(d)),d}function h(d){var m={next:function(){var R=d.shift();return{done:R===void 0,value:R}}};return n.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,R){this.append(R,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=p(d),m=u(m);var R=this.map[d];this.map[d]=R?R+", "+m:m},b.prototype.delete=function(d){delete this.map[p(d)]},b.prototype.get=function(d){return d=p(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(p(d))},b.prototype.set=function(d,m){this.map[p(d)]=u(m)},b.prototype.forEach=function(d,m){for(var R in this.map)this.map.hasOwnProperty(R)&&d.call(m,this.map[R],R,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,R){d.push(R)}),h(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),h(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,R){d.push([R,m])}),h(d)},n.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function L(d){return new Promise(function(m,R){d.onload=function(){m(d.result)},d.onerror=function(){R(d.error)}})}function w(d){var m=new FileReader,R=L(m);return m.readAsArrayBuffer(d),R}function P(d){var m=new FileReader,R=L(m);return m.readAsText(d),R}function H(d){for(var m=new Uint8Array(d),R=new Array(m.length),tt=0;tt<m.length;tt++)R[tt]=String.fromCharCode(m[tt]);return R.join("")}function z(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:n.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:n.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():n.arrayBuffer&&n.blob&&i(d)?(this._bodyArrayBuffer=z(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||l(d))?this._bodyArrayBuffer=z(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var d=S(this);if(d)return d;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?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return P(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(J)}),this.json=function(){return this.text().then(JSON.parse)},this}var V=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ot(d){var m=d.toUpperCase();return V.indexOf(m)>-1?m:d}function it(d,m){m=m||{};var R=m.body;if(d instanceof it){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!R&&d._bodyInit!=null&&(R=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=ot(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}it.prototype.clone=function(){return new it(this,{body:this._bodyInit})};function J(d){var m=new FormData;return d.trim().split("&").forEach(function(R){if(R){var tt=R.split("="),rt=tt.shift().replace(/\+/g," "),$=tt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(rt),decodeURIComponent($))}}),m}function So(d){var m=new b,R=d.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(tt){var rt=tt.split(":"),$=rt.shift().trim();if($){var vo=rt.join(":").trim();m.append($,vo)}}),m}M.call(it.prototype);function St(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}M.call(St.prototype),St.prototype.clone=function(){return new St(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},St.error=function(){var d=new St(null,{status:0,statusText:""});return d.type="error",d};var pn=[301,302,303,307,308];St.redirect=function(d,m){if(pn.indexOf(m)===-1)throw new RangeError("Invalid status code");return new St(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,R){this.message=m,this.name=R;var tt=Error(m);this.stack=tt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Se(d,m){return new Promise(function(R,tt){var rt=new it(d,m);if(rt.signal&&rt.signal.aborted)return tt(new r.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function vo(){$.abort()}$.onload=function(){var je={status:$.status,statusText:$.statusText,headers:So($.getAllResponseHeaders()||"")};je.url="responseURL"in $?$.responseURL:je.headers.get("X-Request-URL");var dr="response"in $?$.response:$.responseText;R(new St(dr,je))},$.onerror=function(){tt(new TypeError("Network request failed"))},$.ontimeout=function(){tt(new TypeError("Network request failed"))},$.onabort=function(){tt(new r.DOMException("Aborted","AbortError"))},$.open(rt.method,rt.url,!0),rt.credentials==="include"?$.withCredentials=!0:rt.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&n.blob&&($.responseType="blob"),rt.headers.forEach(function(je,dr){$.setRequestHeader(dr,je)}),rt.signal&&(rt.signal.addEventListener("abort",vo),$.onreadystatechange=function(){$.readyState===4&&rt.signal.removeEventListener("abort",vo)}),$.send(typeof rt._bodyInit>"u"?null:rt._bodyInit)})}return Se.polyfill=!0,o.fetch||(o.fetch=Se,o.Headers=b,o.Request=it,o.Response=St),r.Headers=b,r.Request=it,r.Response=St,r.fetch=Se,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:ts)});var Yr=se((py,Ls)=>{Ls.exports=ftGlobals.litRepeat});var il=f(v());var Et=f(E()),cn=f(v());var Ur=f(E()),O=f(v());var vn=f(E()),T=f(v());var xn=f(E()),q=f(v()),hn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),I={color:hn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",hn),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),gn={color:mn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",mn)},yn=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),bn={color:yn,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",yn)},Sn=xn.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -188,8 +188,8 @@
188
188
  #action {
189
189
  grid-area: actions;
190
190
  }
191
- `;var Aa=f(E()),B=f(v());var kr=f(v());var co=f(Z()),Ca=f(v());var hi=f(E()),A=f(v());var Rt=f(E()),y=f(v());var Wt=f(E(),1),Qt=o=>typeof o=="string"?(0,Wt.unsafeCSS)(o):o,e=class{static create(t,r,n,i){let a=c=>Qt(c??i),s=Wt.css`var(${Qt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Wt.css`var(${Qt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=c=>n.get(c??i),s=Wt.css`var(${Qt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Wt.css`var(${Qt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Qt(a??t.lastResortDefaultValue()),i=Wt.css`var(${Qt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Wt.css`var(${Qt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var l={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},En={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Rn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},An={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},wn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},fl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},_n={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Dn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Co={display:En,"title-1":Rn,"title-2":An,"title-3":wn,"body-1-regular":Nn,"body-1-medium":In,"body-1-semibold":Ln,"body-2-regular":Tn,"body-2-medium":Pn,"body-2-medium-underline":fl,"body-2-semibold":_n,"label-1-medium":kn,"label-1-semibold":Bn,"label-1-bold":$n,"label-2-medium":Un,"label-2-semibold":Dn,"label-2-bold":Mn,"caption-1-medium":Fn,"caption-1-semibold":Wn,"caption-1-bold":Hn,"caption-2-medium":zn,"caption-2-semibold":Gn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":jn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
192
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var x={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:e.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:e.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var gc={iconSize:e.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly)};var vc={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:e.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Ac={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Tc={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:e.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",l.borderRadiusM)};var $c={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Wc={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Vc={backgroundColor:e.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Xc={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var op={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var sp={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var fp={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",l.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",l.shadowElevation02)};var yp={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:e.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:e.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:e.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Cp={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",l.iconSize3)};var wp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:e.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Tp={color1Light:e.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",l.colorRed40),color5Base:e.extend("--ft-chart-5-base","",l.colorRed60),color6Light:e.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",l.colorGray50),color10Base:e.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var $p={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:e.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:e.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Fp={infoBorderColor:e.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var Kp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:e.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:e.extend("--ft-notice-gap","",l.spacing2),iconSize:e.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Yp={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",l.spacing3)};var ed={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",l.spacing3)};var ad={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",l.spacing3)};var dd={iconSize:e.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",l.spacing8)};var gd={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:e.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",l.spacing05)};var Oo=f(E());function qn(o){let t=Co[o];return Oo.css`
191
+ `;var Aa=f(E()),B=f(v());var kr=f(v());var co=f(Z()),Ca=f(v());var hi=f(E()),A=f(v());var Rt=f(E()),y=f(v());var Wt=f(E(),1),Qt=o=>typeof o=="string"?(0,Wt.unsafeCSS)(o):o,e=class{static create(t,r,n,i){let a=p=>Qt(p??i),l=Wt.css`var(${Qt(t)}, ${a(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.get=p=>Wt.css`var(${Qt(t)}, ${a(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let a=p=>n.get(p??i),l=Wt.css`var(${Qt(t)}, ${a(i)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=a,l.get=p=>Wt.css`var(${Qt(t)}, ${a(p)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Qt(a??t.lastResortDefaultValue()),i=Wt.css`var(${Qt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Wt.css`var(${Qt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var s={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},En={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Rn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},An={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},wn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},fl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},_n={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Dn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Co={display:En,"title-1":Rn,"title-2":An,"title-3":wn,"body-1-regular":Nn,"body-1-medium":In,"body-1-semibold":Ln,"body-2-regular":Tn,"body-2-medium":Pn,"body-2-medium-underline":fl,"body-2-semibold":_n,"label-1-medium":kn,"label-1-semibold":Bn,"label-1-bold":$n,"label-2-medium":Un,"label-2-semibold":Dn,"label-2-bold":Mn,"caption-1-medium":Fn,"caption-1-semibold":Wn,"caption-1-bold":Hn,"caption-2-medium":zn,"caption-2-semibold":Gn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":jn};var c={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
192
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var x={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:e.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing3),smallGap:e.extend("--ft-button-small-gap","",s.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",c.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",c.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",c.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",c.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",c.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",c.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",c.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",c.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",c.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",c.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",c.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",c.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",c.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",c.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var gc={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",c.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",c.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",c.contentInfoPrimary)};var vc={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var Ac={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:e.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",c.contentActionPrimary)};var Tc={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",c.contentGlobalSubtle)};var $c={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",c.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",c.contentGlobalSecondary)};var Wc={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",c.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:e.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Vc={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Xc={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var op={backgroundColor:e.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var sp={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface)};var fp={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var yp={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var Cp={backgroundColor:e.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),iconColor:e.extend("--ft-popover-icon-color","",c.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",s.iconSize2),titleColor:e.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",c.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",c.contentActionPrimary),gap:e.extend("--ft-popover-gap","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var wp={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Pp={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:e.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Up={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:e.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:e.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:e.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Wp={color1Light:e.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",s.colorRed40),color5Base:e.extend("--ft-chart-5-base","",s.colorRed60),color6Light:e.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",s.colorGray50),color10Base:e.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var Vp={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",s.spacing2),largeGap:e.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",s.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",s.spacing05),smallGap:e.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Xp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:e.extend("--ft-notice-gap","",s.spacing2),iconSize:e.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",c.contentSuccessIconOnly)};var od={color:e.extend("--ft-checkbox-color","",c.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",s.spacing3)};var sd={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:e.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",s.spacing3)};var fd={color:e.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",s.spacing3)};var yd={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",s.spacing8)};var Cd={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:e.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:e.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",s.spacing05)};var Oo=f(E());function qn(o){let t=Co[o];return Oo.css`
193
193
  .ft-typography--${(0,Oo.unsafeCSS)(o)} {
194
194
  font-family: ${t.fontFamily};
195
195
  font-size: ${t.fontSize};
@@ -546,7 +546,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
546
546
  ${(0,A.setVariable)(ft.size,G.iconSize)};
547
547
  ${(0,A.setVariable)(ft.color,"var(--ft-button-internal-color)")};
548
548
  }
549
- `,A.noTextSelect];var $e=f(v());var xi=f(v());var yi=f(E()),nt=f(Z()),bi=f(Ye()),Xe=f(v());var ht=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},U=class extends Xe.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Xe.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Xe.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return yi.html`
549
+ `,A.noTextSelect];var $e=f(v());var xi=f(v());var yi=f(E()),nt=f(Z()),bi=f(Ye()),Xe=f(v());var ht=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},U=class extends Xe.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Xe.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Xe.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(a!=null?a-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return yi.html`
550
550
  <style>
551
551
  .ft-ripple .ft-ripple--effect {
552
552
  left: ${this.originX}px;
@@ -557,9 +557,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
557
557
  <div class="ft-ripple--background"></div>
558
558
  <div class="ft-ripple--effect"></div>
559
559
  </div>
560
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>u=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=Sn;ht([(0,nt.property)({type:Boolean})],U.prototype,"primary",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"secondary",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"unbounded",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"activated",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"selected",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"disabled",void 0);ht([(0,nt.state)()],U.prototype,"hovered",void 0);ht([(0,nt.state)()],U.prototype,"focused",void 0);ht([(0,nt.state)()],U.prototype,"pressed",void 0);ht([(0,nt.state)()],U.prototype,"rippling",void 0);ht([(0,nt.state)()],U.prototype,"originX",void 0);ht([(0,nt.state)()],U.prototype,"originY",void 0);ht([(0,nt.query)(".ft-ripple")],U.prototype,"ripple",void 0);ht([(0,nt.query)(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);(0,xi.customElement)("ft-ripple")(U);var fa=f(v());var da=f(E()),Q=f(Z()),so=f(v());var Mi=f(v());var xr=globalThis,Ro=xr.trustedTypes,Si=Ro?Ro.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ai="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,wi="?"+Jt,ul=`<${wi}>`,pe=document,Ao=()=>pe.createComment(""),Je=o=>o===null||typeof o!="object"&&typeof o!="function",Ni=Array.isArray,hl=o=>Ni(o)||typeof o?.[Symbol.iterator]=="function",ur=`[
560
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>u=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",i,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",a,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",i,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",a,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};U.elementDefinitions={};U.styles=Sn;ht([(0,nt.property)({type:Boolean})],U.prototype,"primary",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"secondary",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"unbounded",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"activated",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"selected",void 0);ht([(0,nt.property)({type:Boolean})],U.prototype,"disabled",void 0);ht([(0,nt.state)()],U.prototype,"hovered",void 0);ht([(0,nt.state)()],U.prototype,"focused",void 0);ht([(0,nt.state)()],U.prototype,"pressed",void 0);ht([(0,nt.state)()],U.prototype,"rippling",void 0);ht([(0,nt.state)()],U.prototype,"originX",void 0);ht([(0,nt.state)()],U.prototype,"originY",void 0);ht([(0,nt.query)(".ft-ripple")],U.prototype,"ripple",void 0);ht([(0,nt.query)(".ft-ripple--effect")],U.prototype,"rippleEffect",void 0);(0,xi.customElement)("ft-ripple")(U);var fa=f(v());var da=f(E()),Q=f(Z()),so=f(v());var Mi=f(v());var xr=globalThis,Ro=xr.trustedTypes,Si=Ro?Ro.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ai="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,wi="?"+Jt,ul=`<${wi}>`,pe=document,Ao=()=>pe.createComment(""),Je=o=>o===null||typeof o!="object"&&typeof o!="function",Ni=Array.isArray,hl=o=>Ni(o)||typeof o?.[Symbol.iterator]=="function",ur=`[
561
561
  \f\r]`,Qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vi=/-->/g,Ci=/>/g,le=RegExp(`>|${ur}(?:([^\\s"'>=/]+)(${ur}*=${ur}*(?:[^
562
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Oi=/'/g,Ei=/"/g,Ii=/^(?:script|style|textarea|title)$/i,Li=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Ti=Li(1),Pi=Li(2),to=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Ri=new WeakMap,ce=pe.createTreeWalker(pe,129);function _i(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Si!==void 0?Si.createHTML(t):t}var ml=(o,t)=>{let r=o.length-1,n=[],i,a=t===2?"<svg>":"",s=Qe;for(let c=0;c<r;c++){let u=o[c],h,b,S=-1,L=0;for(;L<u.length&&(s.lastIndex=L,b=s.exec(u),b!==null);)L=s.lastIndex,s===Qe?b[1]==="!--"?s=vi:b[1]!==void 0?s=Ci:b[2]!==void 0?(Ii.test(b[2])&&(i=RegExp("</"+b[2],"g")),s=le):b[3]!==void 0&&(s=le):s===le?b[0]===">"?(s=i??Qe,S=-1):b[1]===void 0?S=-2:(S=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?le:b[3]==='"'?Ei:Oi):s===Ei||s===Oi?s=le:s===vi||s===Ci?s=Qe:(s=le,i=void 0);let w=s===le&&o[c+1].startsWith("/>")?" ":"";a+=s===Qe?u+ul:S>=0?(n.push(h),u.slice(0,S)+Ai+u.slice(S)+Jt+w):u+Jt+(S===-2?c:w)}return[_i(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),n]},eo=class o{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,u=this.parts,[h,b]=ml(t,r);if(this.el=o.createElement(h,n),ce.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(i=ce.nextNode())!==null&&u.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let S of i.getAttributeNames())if(S.endsWith(Ai)){let L=b[s++],w=i.getAttribute(S).split(Jt),P=/([.?@])?(.*)/.exec(L);u.push({type:1,index:a,name:P[2],strings:w,ctor:P[1]==="."?mr:P[1]==="?"?gr:P[1]==="@"?yr:Te}),i.removeAttribute(S)}else S.startsWith(Jt)&&(u.push({type:6,index:a}),i.removeAttribute(S));if(Ii.test(i.tagName)){let S=i.textContent.split(Jt),L=S.length-1;if(L>0){i.textContent=Ro?Ro.emptyScript:"";for(let w=0;w<L;w++)i.append(S[w],Ao()),ce.nextNode(),u.push({type:2,index:++a});i.append(S[L],Ao())}}}else if(i.nodeType===8)if(i.data===wi)u.push({type:2,index:a});else{let S=-1;for(;(S=i.data.indexOf(Jt,S+1))!==-1;)u.push({type:7,index:a}),S+=Jt.length-1}a++}}static createElement(t,r){let n=pe.createElement("template");return n.innerHTML=t,n}};function Le(o,t,r=o,n){if(t===to)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Je(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Le(o,i._$AS(o,t.values),i,n)),t}var hr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??pe).importNode(r,!0);ce.currentNode=i;let a=ce.nextNode(),s=0,c=0,u=n[0];for(;u!==void 0;){if(s===u.index){let h;u.type===2?h=new wo(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new br(a,this,t)),this._$AV.push(h),u=n[++c]}s!==u?.index&&(a=ce.nextNode(),s++)}return ce.currentNode=pe,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},wo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Le(this,t,r),Je(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==to&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):hl(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!==Y&&Je(this._$AH)?this._$AA.nextSibling.data=t:this.$(pe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=eo.createElement(_i(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new hr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Ri.get(t.strings);return r===void 0&&Ri.set(t.strings,r=new eo(t)),r}T(t){Ni(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new o(this.k(Ao()),this.k(Ao()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Y}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Le(this,t,r,0),s=!Je(t)||t!==this._$AH&&t!==to,s&&(this._$AH=t);else{let c=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Le(this,c[n+u],r,u),h===to&&(h=this._$AH[u]),s||=!Je(h)||h!==this._$AH[u],h===Y?t=Y:t!==Y&&(t+=(h??"")+a[u+1]),this._$AH[u]=h}s&&!i&&this.O(t)}O(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mr=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Y?void 0:t}},gr=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}},yr=class extends Te{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=Le(this,t,r,0)??Y)===to)return;let n=this._$AH,i=t===Y&&n!==Y||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Y&&(n===Y||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},br=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Le(this,t)}};var gl=xr.litHtmlPolyfillSupport;gl?.(eo,wo),(xr.litHtmlVersions??=[]).push("3.1.0");var Bi=Symbol.for(""),yl=o=>{if(o?.r===Bi)return o?._$litStatic$},Sr=o=>({_$litStatic$:o,r:Bi});var ki=new Map,$i=o=>(t,...r)=>{let n=r.length,i,a,s=[],c=[],u,h=0,b=!1;for(;h<n;){for(u=t[h];h<n&&(a=r[h],(i=yl(a))!==void 0);)u+=i+t[++h],b=!0;h!==n&&c.push(a),s.push(u),h++}if(h===n&&s.push(t[n]),b){let S=s.join("$$lit$$");(t=ki.get(S))===void 0&&(s.raw=s,ki.set(S,t=s)),r=c}return o(t,...r)},vr=$i(Ti),Hf=$i(Pi);var Cr=f(Z()),Di=f(v());var de;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(de||(de={}));var Ui=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=class extends Di.FtLitElement{constructor(){super(...arguments),this.variant=de.body1}render(){return this.element?vr`
562
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Oi=/'/g,Ei=/"/g,Ii=/^(?:script|style|textarea|title)$/i,Li=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Ti=Li(1),Pi=Li(2),to=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Ri=new WeakMap,ce=pe.createTreeWalker(pe,129);function _i(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Si!==void 0?Si.createHTML(t):t}var ml=(o,t)=>{let r=o.length-1,n=[],i,a=t===2?"<svg>":"",l=Qe;for(let p=0;p<r;p++){let u=o[p],h,b,S=-1,L=0;for(;L<u.length&&(l.lastIndex=L,b=l.exec(u),b!==null);)L=l.lastIndex,l===Qe?b[1]==="!--"?l=vi:b[1]!==void 0?l=Ci:b[2]!==void 0?(Ii.test(b[2])&&(i=RegExp("</"+b[2],"g")),l=le):b[3]!==void 0&&(l=le):l===le?b[0]===">"?(l=i??Qe,S=-1):b[1]===void 0?S=-2:(S=l.lastIndex-b[2].length,h=b[1],l=b[3]===void 0?le:b[3]==='"'?Ei:Oi):l===Ei||l===Oi?l=le:l===vi||l===Ci?l=Qe:(l=le,i=void 0);let w=l===le&&o[p+1].startsWith("/>")?" ":"";a+=l===Qe?u+ul:S>=0?(n.push(h),u.slice(0,S)+Ai+u.slice(S)+Jt+w):u+Jt+(S===-2?p:w)}return[_i(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),n]},eo=class o{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,l=0,p=t.length-1,u=this.parts,[h,b]=ml(t,r);if(this.el=o.createElement(h,n),ce.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(i=ce.nextNode())!==null&&u.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let S of i.getAttributeNames())if(S.endsWith(Ai)){let L=b[l++],w=i.getAttribute(S).split(Jt),P=/([.?@])?(.*)/.exec(L);u.push({type:1,index:a,name:P[2],strings:w,ctor:P[1]==="."?mr:P[1]==="?"?gr:P[1]==="@"?yr:Te}),i.removeAttribute(S)}else S.startsWith(Jt)&&(u.push({type:6,index:a}),i.removeAttribute(S));if(Ii.test(i.tagName)){let S=i.textContent.split(Jt),L=S.length-1;if(L>0){i.textContent=Ro?Ro.emptyScript:"";for(let w=0;w<L;w++)i.append(S[w],Ao()),ce.nextNode(),u.push({type:2,index:++a});i.append(S[L],Ao())}}}else if(i.nodeType===8)if(i.data===wi)u.push({type:2,index:a});else{let S=-1;for(;(S=i.data.indexOf(Jt,S+1))!==-1;)u.push({type:7,index:a}),S+=Jt.length-1}a++}}static createElement(t,r){let n=pe.createElement("template");return n.innerHTML=t,n}};function Le(o,t,r=o,n){if(t===to)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Je(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Le(o,i._$AS(o,t.values),i,n)),t}var hr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??pe).importNode(r,!0);ce.currentNode=i;let a=ce.nextNode(),l=0,p=0,u=n[0];for(;u!==void 0;){if(l===u.index){let h;u.type===2?h=new wo(a,a.nextSibling,this,t):u.type===1?h=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(h=new br(a,this,t)),this._$AV.push(h),u=n[++p]}l!==u?.index&&(a=ce.nextNode(),l++)}return ce.currentNode=pe,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},wo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Le(this,t,r),Je(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==to&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):hl(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!==Y&&Je(this._$AH)?this._$AA.nextSibling.data=t:this.$(pe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=eo.createElement(_i(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new hr(i,this),l=a.u(this.options);a.p(r),this.$(l),this._$AH=a}}_$AC(t){let r=Ri.get(t.strings);return r===void 0&&Ri.set(t.strings,r=new eo(t)),r}T(t){Ni(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new o(this.k(Ao()),this.k(Ao()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Y}_$AI(t,r=this,n,i){let a=this.strings,l=!1;if(a===void 0)t=Le(this,t,r,0),l=!Je(t)||t!==this._$AH&&t!==to,l&&(this._$AH=t);else{let p=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Le(this,p[n+u],r,u),h===to&&(h=this._$AH[u]),l||=!Je(h)||h!==this._$AH[u],h===Y?t=Y:t!==Y&&(t+=(h??"")+a[u+1]),this._$AH[u]=h}l&&!i&&this.O(t)}O(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mr=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Y?void 0:t}},gr=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}},yr=class extends Te{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=Le(this,t,r,0)??Y)===to)return;let n=this._$AH,i=t===Y&&n!==Y||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Y&&(n===Y||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},br=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Le(this,t)}};var gl=xr.litHtmlPolyfillSupport;gl?.(eo,wo),(xr.litHtmlVersions??=[]).push("3.1.0");var Bi=Symbol.for(""),yl=o=>{if(o?.r===Bi)return o?._$litStatic$},Sr=o=>({_$litStatic$:o,r:Bi});var ki=new Map,$i=o=>(t,...r)=>{let n=r.length,i,a,l=[],p=[],u,h=0,b=!1;for(;h<n;){for(u=t[h];h<n&&(a=r[h],(i=yl(a))!==void 0);)u+=i+t[++h],b=!0;h!==n&&p.push(a),l.push(u),h++}if(h===n&&l.push(t[n]),b){let S=l.join("$$lit$$");(t=ki.get(S))===void 0&&(l.raw=l,ki.set(S,t=l)),r=p}return o(t,...r)},vr=$i(Ti),qf=$i(Pi);var Cr=f(Z()),Di=f(v());var de;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(de||(de={}));var Ui=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=class extends Di.FtLitElement{constructor(){super(...arguments),this.variant=de.body1}render(){return this.element?vr`
563
563
  <${Sr(this.element)}
564
564
  part="text"
565
565
  class="ft-typography ft-typography--${this.variant}">
@@ -596,7 +596,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
596
596
  position: relative;
597
597
  word-break: break-word;
598
598
  }
599
- `;var zi=["top","right","bottom","left"],Hi=["start","end"],Er=zi.reduce((o,t)=>o.concat(t,t+"-"+Hi[0],t+"-"+Hi[1]),[]),oo=Math.min,ee=Math.max,ro=Math.round;var Kt=o=>({x:o,y:o}),bl={left:"right",right:"left",bottom:"top",top:"bottom"},xl={start:"end",end:"start"};function Rr(o,t,r){return ee(o,oo(t,r))}function No(o,t){return typeof o=="function"?o(t):o}function Pe(o){return o.split("-")[0]}function oe(o){return o.split("-")[1]}function Ar(o){return o==="x"?"y":"x"}function wr(o){return o==="y"?"height":"width"}function Io(o){return["top","bottom"].includes(Pe(o))?"y":"x"}function Nr(o){return Ar(Io(o))}function Gi(o,t,r){r===void 0&&(r=!1);let n=oe(o),i=Nr(o),a=wr(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Or(s)),[s,Or(s)]}function Ki(o){return o.replace(/start|end/g,t=>xl[t])}function Or(o){return o.replace(/left|right|bottom|top/g,t=>bl[t])}function Sl(o){return{top:0,right:0,bottom:0,left:0,...o}}function Vi(o){return typeof o!="number"?Sl(o):{top:o,right:o,bottom:o,left:o}}function fe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Zi(o,t,r){let{reference:n,floating:i}=o,a=Io(t),s=Nr(t),c=wr(s),u=Pe(t),h=a==="y",b=n.x+n.width/2-i.width/2,S=n.y+n.height/2-i.height/2,L=n[c]/2-i[c]/2,w;switch(u){case"top":w={x:b,y:n.y-i.height};break;case"bottom":w={x:b,y:n.y+n.height};break;case"right":w={x:n.x+n.width,y:S};break;case"left":w={x:n.x-i.width,y:S};break;default:w={x:n.x,y:n.y}}switch(oe(t)){case"start":w[s]-=L*(r&&h?-1:1);break;case"end":w[s]+=L*(r&&h?-1:1);break}return w}var ji=async(o,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t)),h=await s.getElementRects({reference:o,floating:t,strategy:i}),{x:b,y:S}=Zi(h,n,u),L=n,w={},P=0;for(let H=0;H<c.length;H++){let{name:z,fn:M}=c[H],{x:V,y:ot,data:it,reset:J}=await M({x:b,y:S,initialPlacement:n,placement:L,strategy:i,middlewareData:w,rects:h,platform:s,elements:{reference:o,floating:t}});if(b=V??b,S=ot??S,w={...w,[z]:{...w[z],...it}},J&&P<=50){P++,typeof J=="object"&&(J.placement&&(L=J.placement),J.rects&&(h=J.rects===!0?await s.getElementRects({reference:o,floating:t,strategy:i}):J.rects),{x:b,y:S}=Zi(h,L,u)),H=-1;continue}}return{x:b,y:S,placement:L,strategy:i,middlewareData:w}};async function Ir(o,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:u}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=No(t,o),P=Vi(w),z=c[L?S==="floating"?"reference":"floating":S],M=fe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(z)))==null||r?z:z.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:u})),V=S==="floating"?{...s.floating,x:n,y:i}:s.reference,ot=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),it=await(a.isElement==null?void 0:a.isElement(ot))?await(a.getScale==null?void 0:a.getScale(ot))||{x:1,y:1}:{x:1,y:1},J=fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:V,offsetParent:ot,strategy:u}):V);return{top:(M.top-J.top+P.top)/it.y,bottom:(J.bottom-M.bottom+P.bottom)/it.y,left:(M.left-J.left+P.left)/it.x,right:(J.right-M.right+P.right)/it.x}}function vl(o,t,r){return(o?[...r.filter(i=>oe(i)===o),...r.filter(i=>oe(i)!==o)]:r.filter(i=>Pe(i)===i)).filter(i=>o?oe(i)===o||(t?Ki(i)!==i:!1):!0)}var Lr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:u,elements:h}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Er,autoAlignment:w=!0,...P}=No(o,t),H=S!==void 0||L===Er?vl(S||null,w,L):L,z=await Ir(t,P),M=((r=s.autoPlacement)==null?void 0:r.index)||0,V=H[M];if(V==null)return{};let ot=Gi(V,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(c!==V)return{reset:{placement:H[0]}};let it=[z[Pe(V)],z[ot[0]],z[ot[1]]],J=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:V,overflows:it}],So=H[M+1];if(So)return{data:{index:M+1,overflows:J},reset:{placement:So}};let St=J.map(d=>{let m=oe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((R,tt)=>R+tt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Se=((i=St.filter(d=>d[2].slice(0,oe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||St[0][0];return Se!==c?{data:{index:M+1,overflows:J},reset:{placement:Se}}:{}}}};var Tr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:z=>{let{x:M,y:V}=z;return{x:M,y:V}}},...u}=No(o,t),h={x:r,y:n},b=await Ir(t,u),S=Io(Pe(i)),L=Ar(S),w=h[L],P=h[S];if(a){let z=L==="y"?"top":"left",M=L==="y"?"bottom":"right",V=w+b[z],ot=w-b[M];w=Rr(V,w,ot)}if(s){let z=S==="y"?"top":"left",M=S==="y"?"bottom":"right",V=P+b[z],ot=P-b[M];P=Rr(V,P,ot)}let H=c.fn({...t,[L]:w,[S]:P});return{...H,data:{x:H.x-r,y:H.y-n}}}}};function Vt(o){return Yi(o)?(o.nodeName||"").toLowerCase():"#document"}function mt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(o){var t;return(t=(Yi(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Yi(o){return o instanceof Node||o instanceof mt(o).Node}function Bt(o){return o instanceof Element||o instanceof mt(o).Element}function Nt(o){return o instanceof HTMLElement||o instanceof mt(o).HTMLElement}function qi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof mt(o).ShadowRoot}function _e(o){let{overflow:t,overflowX:r,overflowY:n,display:i}=vt(o);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Xi(o){return["table","td","th"].includes(Vt(o))}function To(o){let t=Po(),r=vt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Qi(o){let t=ue(o);for(;Nt(t)&&!no(t);){if(To(t))return t;t=ue(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(o){return["html","body","#document"].includes(Vt(o))}function vt(o){return mt(o).getComputedStyle(o)}function io(o){return Bt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ue(o){if(Vt(o)==="html")return o;let t=o.assignedSlot||o.parentNode||qi(o)&&o.host||Zt(o);return qi(t)?t.host:t}function Ji(o){let t=ue(o);return no(t)?o.ownerDocument?o.ownerDocument.body:o.body:Nt(t)&&_e(t)?t:Ji(t)}function Lo(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Ji(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=mt(i);return a?t.concat(s,s.visualViewport||[],_e(i)?i:[],s.frameElement&&r?Lo(s.frameElement):[]):t.concat(i,Lo(i,[],r))}function oa(o){let t=vt(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Nt(o),a=i?o.offsetWidth:r,s=i?o.offsetHeight:n,c=ro(r)!==a||ro(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function ra(o){return Bt(o)?o:o.contextElement}function ke(o){let t=ra(o);if(!Nt(t))return Kt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=oa(t),s=(a?ro(r.width):r.width)/n,c=(a?ro(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Cl=Kt(0);function na(o){let t=mt(o);return!Po()||!t.visualViewport?Cl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ol(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==mt(o)?!1:t}function ao(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=ra(o),s=Kt(1);t&&(n?Bt(n)&&(s=ke(n)):s=ke(o));let c=Ol(a,r,n)?na(a):Kt(0),u=(i.left+c.x)/s.x,h=(i.top+c.y)/s.y,b=i.width/s.x,S=i.height/s.y;if(a){let L=mt(a),w=n&&Bt(n)?mt(n):n,P=L.frameElement;for(;P&&n&&w!==L;){let H=ke(P),z=P.getBoundingClientRect(),M=vt(P),V=z.left+(P.clientLeft+parseFloat(M.paddingLeft))*H.x,ot=z.top+(P.clientTop+parseFloat(M.paddingTop))*H.y;u*=H.x,h*=H.y,b*=H.x,S*=H.y,u+=V,h+=ot,P=mt(P).frameElement}}return fe({width:b,height:S,x:u,y:h})}function El(o){let{rect:t,offsetParent:r,strategy:n}=o,i=Nt(r),a=Zt(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=Kt(1),u=Kt(0);if((i||!i&&n!=="fixed")&&((Vt(r)!=="body"||_e(a))&&(s=io(r)),Nt(r))){let h=ao(r);c=ke(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+u.x,y:t.y*c.y-s.scrollTop*c.y+u.y}}function Rl(o){return Array.from(o.getClientRects())}function ia(o){return ao(Zt(o)).left+io(o).scrollLeft}function Al(o){let t=Zt(o),r=io(o),n=o.ownerDocument.body,i=ee(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ee(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ia(o),c=-r.scrollTop;return vt(n).direction==="rtl"&&(s+=ee(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function wl(o,t){let r=mt(o),n=Zt(o),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,u=0;if(i){a=i.width,s=i.height;let h=Po();(!h||h&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:c,y:u}}function Nl(o,t){let r=ao(o,!0,t==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=Nt(o)?ke(o):Kt(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,u=i*a.x,h=n*a.y;return{width:s,height:c,x:u,y:h}}function ta(o,t,r){let n;if(t==="viewport")n=wl(o,r);else if(t==="document")n=Al(Zt(o));else if(Bt(t))n=Nl(t,r);else{let i=na(o);n={...t,x:t.x-i.x,y:t.y-i.y}}return fe(n)}function aa(o,t){let r=ue(o);return r===t||!Bt(r)||no(r)?!1:vt(r).position==="fixed"||aa(r,t)}function Il(o,t){let r=t.get(o);if(r)return r;let n=Lo(o,[],!1).filter(c=>Bt(c)&&Vt(c)!=="body"),i=null,a=vt(o).position==="fixed",s=a?ue(o):o;for(;Bt(s)&&!no(s);){let c=vt(s),u=To(s);!u&&c.position==="fixed"&&(i=null),(a?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_e(s)&&!u&&aa(o,s))?n=n.filter(b=>b!==s):i=c,s=ue(s)}return t.set(o,n),n}function Ll(o){let{element:t,boundary:r,rootBoundary:n,strategy:i}=o,s=[...r==="clippingAncestors"?Il(t,this._c):[].concat(r),n],c=s[0],u=s.reduce((h,b)=>{let S=ta(t,b,i);return h.top=ee(S.top,h.top),h.right=oo(S.right,h.right),h.bottom=oo(S.bottom,h.bottom),h.left=ee(S.left,h.left),h},ta(t,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Tl(o){return oa(o)}function Pl(o,t,r){let n=Nt(t),i=Zt(t),a=r==="fixed",s=ao(o,!0,a,t),c={scrollLeft:0,scrollTop:0},u=Kt(0);if(n||!n&&!a)if((Vt(t)!=="body"||_e(i))&&(c=io(t)),n){let h=ao(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else i&&(u.x=ia(i));return{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function ea(o,t){return!Nt(o)||vt(o).position==="fixed"?null:t?t(o):o.offsetParent}function sa(o,t){let r=mt(o);if(!Nt(o))return r;let n=ea(o,t);for(;n&&Xi(n)&&vt(n).position==="static";)n=ea(n,t);return n&&(Vt(n)==="html"||Vt(n)==="body"&&vt(n).position==="static"&&!To(n))?r:n||Qi(o)||r}var _l=async function(o){let{reference:t,floating:r,strategy:n}=o,i=this.getOffsetParent||sa,a=this.getDimensions;return{reference:Pl(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function kl(o){return vt(o).direction==="rtl"}var _o={convertOffsetParentRelativeRectToViewportRelativeRect:El,getDocumentElement:Zt,getClippingRect:Ll,getOffsetParent:sa,getElementRects:_l,getClientRects:Rl,getDimensions:Tl,getScale:ke,isElement:Bt,isRTL:kl};var la=(o,t,r)=>{let n=new Map,i={platform:_o,...r},a={...i.platform,_c:n};return ji(o,t,{...i,platform:a})};function ca(o){return Bl(o)}function Pr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Bl(o){for(let t=o;t;t=Pr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Pr(o);t;t=Pr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function pa(o,t,r){return la(o,t,{platform:{..._o,getOffsetParent:n=>_o.getOffsetParent(n,ca)},middleware:[Tr({crossAxis:!0}),Lr({allowedPlacements:[r]})]})}var gt=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},K=class extends so.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new so.Debouncer,this.revealDebouncer=new so.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return da.html`
599
+ `;var zi=["top","right","bottom","left"],Hi=["start","end"],Er=zi.reduce((o,t)=>o.concat(t,t+"-"+Hi[0],t+"-"+Hi[1]),[]),oo=Math.min,ee=Math.max,ro=Math.round;var Kt=o=>({x:o,y:o}),bl={left:"right",right:"left",bottom:"top",top:"bottom"},xl={start:"end",end:"start"};function Rr(o,t,r){return ee(o,oo(t,r))}function No(o,t){return typeof o=="function"?o(t):o}function Pe(o){return o.split("-")[0]}function oe(o){return o.split("-")[1]}function Ar(o){return o==="x"?"y":"x"}function wr(o){return o==="y"?"height":"width"}function Io(o){return["top","bottom"].includes(Pe(o))?"y":"x"}function Nr(o){return Ar(Io(o))}function Gi(o,t,r){r===void 0&&(r=!1);let n=oe(o),i=Nr(o),a=wr(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=Or(l)),[l,Or(l)]}function Ki(o){return o.replace(/start|end/g,t=>xl[t])}function Or(o){return o.replace(/left|right|bottom|top/g,t=>bl[t])}function Sl(o){return{top:0,right:0,bottom:0,left:0,...o}}function Vi(o){return typeof o!="number"?Sl(o):{top:o,right:o,bottom:o,left:o}}function fe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Zi(o,t,r){let{reference:n,floating:i}=o,a=Io(t),l=Nr(t),p=wr(l),u=Pe(t),h=a==="y",b=n.x+n.width/2-i.width/2,S=n.y+n.height/2-i.height/2,L=n[p]/2-i[p]/2,w;switch(u){case"top":w={x:b,y:n.y-i.height};break;case"bottom":w={x:b,y:n.y+n.height};break;case"right":w={x:n.x+n.width,y:S};break;case"left":w={x:n.x-i.width,y:S};break;default:w={x:n.x,y:n.y}}switch(oe(t)){case"start":w[l]-=L*(r&&h?-1:1);break;case"end":w[l]+=L*(r&&h?-1:1);break}return w}var ji=async(o,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:l}=r,p=a.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(t)),h=await l.getElementRects({reference:o,floating:t,strategy:i}),{x:b,y:S}=Zi(h,n,u),L=n,w={},P=0;for(let H=0;H<p.length;H++){let{name:z,fn:M}=p[H],{x:V,y:ot,data:it,reset:J}=await M({x:b,y:S,initialPlacement:n,placement:L,strategy:i,middlewareData:w,rects:h,platform:l,elements:{reference:o,floating:t}});if(b=V??b,S=ot??S,w={...w,[z]:{...w[z],...it}},J&&P<=50){P++,typeof J=="object"&&(J.placement&&(L=J.placement),J.rects&&(h=J.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:i}):J.rects),{x:b,y:S}=Zi(h,L,u)),H=-1;continue}}return{x:b,y:S,placement:L,strategy:i,middlewareData:w}};async function Ir(o,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:l,elements:p,strategy:u}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=No(t,o),P=Vi(w),z=p[L?S==="floating"?"reference":"floating":S],M=fe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(z)))==null||r?z:z.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(p.floating)),boundary:h,rootBoundary:b,strategy:u})),V=S==="floating"?{...l.floating,x:n,y:i}:l.reference,ot=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p.floating)),it=await(a.isElement==null?void 0:a.isElement(ot))?await(a.getScale==null?void 0:a.getScale(ot))||{x:1,y:1}:{x:1,y:1},J=fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:V,offsetParent:ot,strategy:u}):V);return{top:(M.top-J.top+P.top)/it.y,bottom:(J.bottom-M.bottom+P.bottom)/it.y,left:(M.left-J.left+P.left)/it.x,right:(J.right-M.right+P.right)/it.x}}function vl(o,t,r){return(o?[...r.filter(i=>oe(i)===o),...r.filter(i=>oe(i)!==o)]:r.filter(i=>Pe(i)===i)).filter(i=>o?oe(i)===o||(t?Ki(i)!==i:!1):!0)}var Lr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,i;let{rects:a,middlewareData:l,placement:p,platform:u,elements:h}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Er,autoAlignment:w=!0,...P}=No(o,t),H=S!==void 0||L===Er?vl(S||null,w,L):L,z=await Ir(t,P),M=((r=l.autoPlacement)==null?void 0:r.index)||0,V=H[M];if(V==null)return{};let ot=Gi(V,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(p!==V)return{reset:{placement:H[0]}};let it=[z[Pe(V)],z[ot[0]],z[ot[1]]],J=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:V,overflows:it}],So=H[M+1];if(So)return{data:{index:M+1,overflows:J},reset:{placement:So}};let St=J.map(d=>{let m=oe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((R,tt)=>R+tt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Se=((i=St.filter(d=>d[2].slice(0,oe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||St[0][0];return Se!==p?{data:{index:M+1,overflows:J},reset:{placement:Se}}:{}}}};var Tr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:p={fn:z=>{let{x:M,y:V}=z;return{x:M,y:V}}},...u}=No(o,t),h={x:r,y:n},b=await Ir(t,u),S=Io(Pe(i)),L=Ar(S),w=h[L],P=h[S];if(a){let z=L==="y"?"top":"left",M=L==="y"?"bottom":"right",V=w+b[z],ot=w-b[M];w=Rr(V,w,ot)}if(l){let z=S==="y"?"top":"left",M=S==="y"?"bottom":"right",V=P+b[z],ot=P-b[M];P=Rr(V,P,ot)}let H=p.fn({...t,[L]:w,[S]:P});return{...H,data:{x:H.x-r,y:H.y-n}}}}};function Vt(o){return Yi(o)?(o.nodeName||"").toLowerCase():"#document"}function mt(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function Zt(o){var t;return(t=(Yi(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Yi(o){return o instanceof Node||o instanceof mt(o).Node}function Bt(o){return o instanceof Element||o instanceof mt(o).Element}function Nt(o){return o instanceof HTMLElement||o instanceof mt(o).HTMLElement}function qi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof mt(o).ShadowRoot}function _e(o){let{overflow:t,overflowX:r,overflowY:n,display:i}=vt(o);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Xi(o){return["table","td","th"].includes(Vt(o))}function To(o){let t=Po(),r=vt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Qi(o){let t=ue(o);for(;Nt(t)&&!no(t);){if(To(t))return t;t=ue(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(o){return["html","body","#document"].includes(Vt(o))}function vt(o){return mt(o).getComputedStyle(o)}function io(o){return Bt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function ue(o){if(Vt(o)==="html")return o;let t=o.assignedSlot||o.parentNode||qi(o)&&o.host||Zt(o);return qi(t)?t.host:t}function Ji(o){let t=ue(o);return no(t)?o.ownerDocument?o.ownerDocument.body:o.body:Nt(t)&&_e(t)?t:Ji(t)}function Lo(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Ji(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),l=mt(i);return a?t.concat(l,l.visualViewport||[],_e(i)?i:[],l.frameElement&&r?Lo(l.frameElement):[]):t.concat(i,Lo(i,[],r))}function oa(o){let t=vt(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Nt(o),a=i?o.offsetWidth:r,l=i?o.offsetHeight:n,p=ro(r)!==a||ro(n)!==l;return p&&(r=a,n=l),{width:r,height:n,$:p}}function ra(o){return Bt(o)?o:o.contextElement}function ke(o){let t=ra(o);if(!Nt(t))return Kt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=oa(t),l=(a?ro(r.width):r.width)/n,p=(a?ro(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var Cl=Kt(0);function na(o){let t=mt(o);return!Po()||!t.visualViewport?Cl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ol(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==mt(o)?!1:t}function ao(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=ra(o),l=Kt(1);t&&(n?Bt(n)&&(l=ke(n)):l=ke(o));let p=Ol(a,r,n)?na(a):Kt(0),u=(i.left+p.x)/l.x,h=(i.top+p.y)/l.y,b=i.width/l.x,S=i.height/l.y;if(a){let L=mt(a),w=n&&Bt(n)?mt(n):n,P=L.frameElement;for(;P&&n&&w!==L;){let H=ke(P),z=P.getBoundingClientRect(),M=vt(P),V=z.left+(P.clientLeft+parseFloat(M.paddingLeft))*H.x,ot=z.top+(P.clientTop+parseFloat(M.paddingTop))*H.y;u*=H.x,h*=H.y,b*=H.x,S*=H.y,u+=V,h+=ot,P=mt(P).frameElement}}return fe({width:b,height:S,x:u,y:h})}function El(o){let{rect:t,offsetParent:r,strategy:n}=o,i=Nt(r),a=Zt(r);if(r===a)return t;let l={scrollLeft:0,scrollTop:0},p=Kt(1),u=Kt(0);if((i||!i&&n!=="fixed")&&((Vt(r)!=="body"||_e(a))&&(l=io(r)),Nt(r))){let h=ao(r);p=ke(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+u.x,y:t.y*p.y-l.scrollTop*p.y+u.y}}function Rl(o){return Array.from(o.getClientRects())}function ia(o){return ao(Zt(o)).left+io(o).scrollLeft}function Al(o){let t=Zt(o),r=io(o),n=o.ownerDocument.body,i=ee(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ee(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+ia(o),p=-r.scrollTop;return vt(n).direction==="rtl"&&(l+=ee(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:p}}function wl(o,t){let r=mt(o),n=Zt(o),i=r.visualViewport,a=n.clientWidth,l=n.clientHeight,p=0,u=0;if(i){a=i.width,l=i.height;let h=Po();(!h||h&&t==="fixed")&&(p=i.offsetLeft,u=i.offsetTop)}return{width:a,height:l,x:p,y:u}}function Nl(o,t){let r=ao(o,!0,t==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=Nt(o)?ke(o):Kt(1),l=o.clientWidth*a.x,p=o.clientHeight*a.y,u=i*a.x,h=n*a.y;return{width:l,height:p,x:u,y:h}}function ta(o,t,r){let n;if(t==="viewport")n=wl(o,r);else if(t==="document")n=Al(Zt(o));else if(Bt(t))n=Nl(t,r);else{let i=na(o);n={...t,x:t.x-i.x,y:t.y-i.y}}return fe(n)}function aa(o,t){let r=ue(o);return r===t||!Bt(r)||no(r)?!1:vt(r).position==="fixed"||aa(r,t)}function Il(o,t){let r=t.get(o);if(r)return r;let n=Lo(o,[],!1).filter(p=>Bt(p)&&Vt(p)!=="body"),i=null,a=vt(o).position==="fixed",l=a?ue(o):o;for(;Bt(l)&&!no(l);){let p=vt(l),u=To(l);!u&&p.position==="fixed"&&(i=null),(a?!u&&!i:!u&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_e(l)&&!u&&aa(o,l))?n=n.filter(b=>b!==l):i=p,l=ue(l)}return t.set(o,n),n}function Ll(o){let{element:t,boundary:r,rootBoundary:n,strategy:i}=o,l=[...r==="clippingAncestors"?Il(t,this._c):[].concat(r),n],p=l[0],u=l.reduce((h,b)=>{let S=ta(t,b,i);return h.top=ee(S.top,h.top),h.right=oo(S.right,h.right),h.bottom=oo(S.bottom,h.bottom),h.left=ee(S.left,h.left),h},ta(t,p,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Tl(o){return oa(o)}function Pl(o,t,r){let n=Nt(t),i=Zt(t),a=r==="fixed",l=ao(o,!0,a,t),p={scrollLeft:0,scrollTop:0},u=Kt(0);if(n||!n&&!a)if((Vt(t)!=="body"||_e(i))&&(p=io(t)),n){let h=ao(t,!0,a,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else i&&(u.x=ia(i));return{x:l.left+p.scrollLeft-u.x,y:l.top+p.scrollTop-u.y,width:l.width,height:l.height}}function ea(o,t){return!Nt(o)||vt(o).position==="fixed"?null:t?t(o):o.offsetParent}function sa(o,t){let r=mt(o);if(!Nt(o))return r;let n=ea(o,t);for(;n&&Xi(n)&&vt(n).position==="static";)n=ea(n,t);return n&&(Vt(n)==="html"||Vt(n)==="body"&&vt(n).position==="static"&&!To(n))?r:n||Qi(o)||r}var _l=async function(o){let{reference:t,floating:r,strategy:n}=o,i=this.getOffsetParent||sa,a=this.getDimensions;return{reference:Pl(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function kl(o){return vt(o).direction==="rtl"}var _o={convertOffsetParentRelativeRectToViewportRelativeRect:El,getDocumentElement:Zt,getClippingRect:Ll,getOffsetParent:sa,getElementRects:_l,getClientRects:Rl,getDimensions:Tl,getScale:ke,isElement:Bt,isRTL:kl};var la=(o,t,r)=>{let n=new Map,i={platform:_o,...r},a={...i.platform,_c:n};return ji(o,t,{...i,platform:a})};function ca(o){return Bl(o)}function Pr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Bl(o){for(let t=o;t;t=Pr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Pr(o);t;t=Pr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function pa(o,t,r){return la(o,t,{platform:{..._o,getOffsetParent:n=>_o.getOffsetParent(n,ca)},middleware:[Tr({crossAxis:!0}),Lr({allowedPlacements:[r]})]})}var gt=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},K=class extends so.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new so.Debouncer,this.revealDebouncer=new so.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return da.html`
600
600
  <div part="container"
601
601
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
602
602
  @mouseenter=${this.onHover}
@@ -614,7 +614,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
614
614
  </div>
615
615
  </div>
616
616
  </div>
617
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};K.elementDefinitions={"ft-typography":F};K.styles=Wi;gt([(0,Q.property)()],K.prototype,"text",void 0);gt([(0,Q.property)({type:Boolean})],K.prototype,"manual",void 0);gt([(0,Q.property)({type:Boolean})],K.prototype,"inline",void 0);gt([(0,Q.property)({type:Number})],K.prototype,"delay",void 0);gt([(0,Q.property)()],K.prototype,"position",void 0);gt([(0,Q.queryAssignedNodes)()],K.prototype,"slotNodes",void 0);gt([(0,Q.query)(".ft-tooltip--container")],K.prototype,"container",void 0);gt([(0,Q.query)(".ft-tooltip")],K.prototype,"tooltip",void 0);gt([(0,Q.query)(".ft-tooltip--content")],K.prototype,"tooltipContent",void 0);gt([(0,Q.state)()],K.prototype,"visible",void 0);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onTouch",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onHover",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onOut",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onClick",null);(0,fa.customElement)("ft-tooltip")(K);var ya=f(v());var lo=f(E()),he=f(Z()),ma=f(v()),ga=f(ko());var re;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(re||(re={}));var g;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(g||(g={}));var _r=new Map([...["abw"].map(o=>[o,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(o=>[o,g.AUDIO]),...["avi"].map(o=>[o,g.AVI]),...["chm","xhs"].map(o=>[o,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(o=>[o,g.CODE]),...["csv"].map(o=>[o,g.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,g.DITA]),...["epub"].map(o=>[o,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,g.EXCEL]),...["flac"].map(o=>[o,g.FLAC]),...["gif"].map(o=>[o,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,g.GZIP]),...["html","htm","xhtml"].map(o=>[o,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,g.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,g.JPEG]),...["json"].map(o=>[o,g.JSON]),...["m4a","m4p"].map(o=>[o,g.M4A]),...["mov","qt"].map(o=>[o,g.MOV]),...["mp3"].map(o=>[o,g.MP3]),...["mp4","m4v"].map(o=>[o,g.MP4]),...["ogg","oga"].map(o=>[o,g.OGG]),...["pdf","ps"].map(o=>[o,g.PDF]),...["png"].map(o=>[o,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,g.POWERPOINT]),...["rar"].map(o=>[o,g.RAR]),...["stp"].map(o=>[o,g.STP]),...["txt","rtf","md","mdown"].map(o=>[o,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(o=>[o,g.VIDEO]),...["wav"].map(o=>[o,g.WAV]),...["wma"].map(o=>[o,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,g.WORD]),...["xml","xsl","rdf"].map(o=>[o,g.XML]),...["yaml","yml","x-yaml"].map(o=>[o,g.YAML]),...["zip"].map(o=>[o,g.ZIP])]),$l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ha(o,t){var r,n,i,a;o=(o??"").toLowerCase(),t=(t??"").toLowerCase();let[s,c]=(((r=$l.get(o))!==null&&r!==void 0?r:o)+"/").split("/");return(a=(i=(n=_r.get(c))!==null&&n!==void 0?n:_r.get(t))!==null&&i!==void 0?i:_r.get(s))!==null&&a!==void 0?a:g.UNKNOWN}var Uu={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var It;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(It||(It={}));var Bo=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},yt=class extends ma.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=lo.nothing}render(){let t=this.variant&&Object.values(It).includes(this.variant)?this.variant:It.fluid_topics,r=t!==It.material||!!this.value;return lo.html`
617
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};K.elementDefinitions={"ft-typography":F};K.styles=Wi;gt([(0,Q.property)()],K.prototype,"text",void 0);gt([(0,Q.property)({type:Boolean})],K.prototype,"manual",void 0);gt([(0,Q.property)({type:Boolean})],K.prototype,"inline",void 0);gt([(0,Q.property)({type:Number})],K.prototype,"delay",void 0);gt([(0,Q.property)()],K.prototype,"position",void 0);gt([(0,Q.queryAssignedNodes)()],K.prototype,"slotNodes",void 0);gt([(0,Q.query)(".ft-tooltip--container")],K.prototype,"container",void 0);gt([(0,Q.query)(".ft-tooltip")],K.prototype,"tooltip",void 0);gt([(0,Q.query)(".ft-tooltip--content")],K.prototype,"tooltipContent",void 0);gt([(0,Q.state)()],K.prototype,"visible",void 0);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onTouch",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onHover",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onOut",null);gt([(0,Q.eventOptions)({passive:!0})],K.prototype,"onClick",null);(0,fa.customElement)("ft-tooltip")(K);var ya=f(v());var lo=f(E()),he=f(Z()),ma=f(v()),ga=f(ko());var re;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(re||(re={}));var g;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(g||(g={}));var _r=new Map([...["abw"].map(o=>[o,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(o=>[o,g.AUDIO]),...["avi"].map(o=>[o,g.AVI]),...["chm","xhs"].map(o=>[o,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(o=>[o,g.CODE]),...["csv"].map(o=>[o,g.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,g.DITA]),...["epub"].map(o=>[o,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,g.EXCEL]),...["flac"].map(o=>[o,g.FLAC]),...["gif"].map(o=>[o,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,g.GZIP]),...["html","htm","xhtml"].map(o=>[o,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,g.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,g.JPEG]),...["json"].map(o=>[o,g.JSON]),...["m4a","m4p"].map(o=>[o,g.M4A]),...["mov","qt"].map(o=>[o,g.MOV]),...["mp3"].map(o=>[o,g.MP3]),...["mp4","m4v"].map(o=>[o,g.MP4]),...["ogg","oga"].map(o=>[o,g.OGG]),...["pdf","ps"].map(o=>[o,g.PDF]),...["png"].map(o=>[o,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,g.POWERPOINT]),...["rar"].map(o=>[o,g.RAR]),...["stp"].map(o=>[o,g.STP]),...["txt","rtf","md","mdown"].map(o=>[o,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(o=>[o,g.VIDEO]),...["wav"].map(o=>[o,g.WAV]),...["wma"].map(o=>[o,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,g.WORD]),...["xml","xsl","rdf"].map(o=>[o,g.XML]),...["yaml","yml","x-yaml"].map(o=>[o,g.YAML]),...["zip"].map(o=>[o,g.ZIP])]),$l=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function ha(o,t){var r,n,i,a;o=(o??"").toLowerCase(),t=(t??"").toLowerCase();let[l,p]=(((r=$l.get(o))!==null&&r!==void 0?r:o)+"/").split("/");return(a=(i=(n=_r.get(p))!==null&&n!==void 0?n:_r.get(t))!==null&&i!==void 0?i:_r.get(l))!==null&&a!==void 0?a:g.UNKNOWN}var Gu={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var It;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(It||(It={}));var Bo=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},yt=class extends ma.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=lo.nothing}render(){let t=this.variant&&Object.values(It).includes(this.variant)?this.variant:It.fluid_topics,r=t!==It.material||!!this.value;return lo.html`
618
618
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
619
619
  ${(0,ga.unsafeHTML)(this.resolvedIcon)}
620
620
  <slot ?hidden=${r}></slot>
@@ -626,7 +626,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
626
626
  <div></div>
627
627
  <div></div>
628
628
  </div>
629
- `}};me.styles=ci;(0,Sa.customElement)("ft-loader")(me);var Be=f(E()),va=f(Ye()),st=f(Z()),Ct=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},X=class extends(0,$e.toFtFormComponent)($e.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Be.html`
629
+ `}};me.styles=ci;(0,Sa.customElement)("ft-loader")(me);var Be=f(E()),va=f(Ye()),st=f(Z()),Ct=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},X=class extends(0,$e.toFtFormComponent)($e.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(Be.html`
630
630
  <button part="button"
631
631
  class="${(0,va.classMap)(this.buttonClasses)}"
632
632
  aria-label="${this.getLabel()}"
@@ -652,7 +652,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
652
652
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
653
653
  `:Be.html`
654
654
  <slot part="icon" name="icon"></slot>
655
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};X.elementDefinitions={"ft-ripple":U,"ft-tooltip":K,"ft-typography":F,"ft-icon":yt,"ft-loader":me};Ct([(0,st.property)({type:String,reflect:!0})],X.prototype,"role",void 0);Ct([(0,st.property)()],X.prototype,"type",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"disabled",void 0);Ct([(0,st.property)()],X.prototype,"label",void 0);Ct([(0,st.property)()],X.prototype,"icon",void 0);Ct([(0,st.property)()],X.prototype,"iconVariant",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"loading",void 0);Ct([(0,st.property)()],X.prototype,"tooltipPosition",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"hideTooltip",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"forceTooltip",void 0);Ct([(0,st.query)(".ft-button")],X.prototype,"button",void 0);Ct([(0,st.query)(".ft-button--label slot")],X.prototype,"slottedContent",void 0);var $o=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},lt=class extends X{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};lt.styles=[Ca.safariEllipsisFix,mi];$o([(0,co.property)({type:Boolean})],lt.prototype,"primary",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"outlined",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"dense",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"round",void 0);var Ue=f(Z());var Ra=f(v());var Oa=f(E()),_=f(v());var Ea=[Oa.css`
655
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};X.elementDefinitions={"ft-ripple":U,"ft-tooltip":K,"ft-typography":F,"ft-icon":yt,"ft-loader":me};Ct([(0,st.property)({type:String,reflect:!0})],X.prototype,"role",void 0);Ct([(0,st.property)()],X.prototype,"type",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"disabled",void 0);Ct([(0,st.property)()],X.prototype,"label",void 0);Ct([(0,st.property)()],X.prototype,"icon",void 0);Ct([(0,st.property)()],X.prototype,"iconVariant",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"loading",void 0);Ct([(0,st.property)()],X.prototype,"tooltipPosition",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"hideTooltip",void 0);Ct([(0,st.property)({type:Boolean})],X.prototype,"forceTooltip",void 0);Ct([(0,st.query)(".ft-button")],X.prototype,"button",void 0);Ct([(0,st.query)(".ft-button--label slot")],X.prototype,"slottedContent",void 0);var $o=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},lt=class extends X{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};lt.styles=[Ca.safariEllipsisFix,mi];$o([(0,co.property)({type:Boolean})],lt.prototype,"primary",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"outlined",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"dense",void 0);$o([(0,co.property)({type:Boolean})],lt.prototype,"round",void 0);var Ue=f(Z());var Ra=f(v());var Oa=f(E()),_=f(v());var Ea=[Oa.css`
656
656
  :host {
657
657
  display: inline-block;
658
658
  max-width: 100%;
@@ -870,7 +870,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
870
870
  width: ${x.smallIconOnlyWidth};
871
871
  padding: unset;
872
872
  }
873
- `,_.noTextSelect];var po=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$t=class extends X{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?de.caption1medium:de.body2medium}};$t.styles=[Ra.safariEllipsisFix,Ea];po([(0,Ue.property)({type:Boolean})],$t.prototype,"primary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"secondary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"tertiary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"neutral",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"small",void 0);(0,kr.customElement)("ft-button")(lt);(0,kr.customElement)("ftds-button")($t);var D={height:B.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:B.FtCssVariableFactory.extend("--ft-search-input-border-radius","",B.designSystemVariables.borderRadiusS),desktopFiltersHeight:B.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:B.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:B.FtCssVariableFactory.extend("--ft-search-input-background-color","",B.designSystemVariables.colorSurface),colorOnSurface:B.FtCssVariableFactory.extend("--ft-search-input-color","",B.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:B.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",B.designSystemVariables.colorOnSurfaceMedium),colorOutline:B.FtCssVariableFactory.extend("--ft-search-input-outline-color","",B.designSystemVariables.colorOutline),elevation02:B.FtCssVariableFactory.extend("--ft-search-input-elevation","",B.designSystemVariables.elevation02),focusOutlineColor:B.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",B.designSystemVariables.colorPrimary),buttonColor:B.FtCssVariableFactory.extend("--ft-search-input-button-color","",B.designSystemVariables.colorPrimary),buttonRippleColor:B.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",B.designSystemVariables.colorPrimary)},wa=Aa.css`
873
+ `,_.noTextSelect];var po=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$t=class extends X{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?de.caption1medium:de.body2medium}};$t.styles=[Ra.safariEllipsisFix,Ea];po([(0,Ue.property)({type:Boolean})],$t.prototype,"primary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"secondary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"tertiary",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"neutral",void 0);po([(0,Ue.property)({type:Boolean})],$t.prototype,"small",void 0);(0,kr.customElement)("ft-button")(lt);(0,kr.customElement)("ftds-button")($t);var D={height:B.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:B.FtCssVariableFactory.extend("--ft-search-input-border-radius","",B.designSystemVariables.borderRadiusS),desktopFiltersHeight:B.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:B.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:B.FtCssVariableFactory.extend("--ft-search-input-background-color","",B.designSystemVariables.colorSurface),colorOnSurface:B.FtCssVariableFactory.extend("--ft-search-input-color","",B.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:B.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",B.designSystemVariables.colorOnSurfaceMedium),colorOutline:B.FtCssVariableFactory.extend("--ft-search-input-outline-color","",B.designSystemVariables.colorOutline),elevation02:B.FtCssVariableFactory.extend("--ft-search-input-elevation","",B.designSystemVariables.elevation02),focusOutlineColor:B.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",B.designSystemVariables.colorPrimary),buttonColor:B.FtCssVariableFactory.extend("--ft-search-input-button-color","",B.designSystemVariables.colorPrimary),buttonRippleColor:B.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",B.designSystemVariables.colorPrimary)},wa=Aa.css`
874
874
  * {
875
875
  box-sizing: border-box;
876
876
  ${(0,B.setVariable)(G.color,D.buttonColor)};
@@ -1042,18 +1042,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1042
1042
  }
1043
1043
  `;var qa=f(v());var Ko=f(E()),Vo=f(Z()),Zo=f(v());var $a=f(E());var Ua=$a.css`
1044
1044
  `;var Go=f(v());var Va=f(v());var za=f(E()),At=f(Z()),Lt=f(v());var Da=f(E());var Ma=Da.css`
1045
- `;var Fa=f(v()),Ul="ft-app-info",Dl={},N=Fa.FtReduxStore.get({name:Ul,reducers:Dl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ne=f(v());var Dr=f(v());var ge=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=N.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=o.get(t);if(n)r(n);else{let i=N.subscribe(()=>{n=o.get(t),n&&(i(),r(n))})}})}};var Ut=class{constructor(t=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Dr.CacheRegistry,this.cache=t?i.commonCache:new Dr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ge.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ge.await()}clearCache(){this.cache.clearAll()}};var Wa,Ml=Symbol("clearAfterUnitTest"),Uo=class extends Ut{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Wa]=()=>{this.defaultMessages={},this.cache=new ne.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,ne.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new ne.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(r,...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(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,ne.delay)(0).then(()=>r()).catch(()=>null)))}};Wa=Ml;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var De=window.FluidTopicsI18nService,Ha=window.FluidTopicsCustomI18nService;var ct=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Lt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ge.get(),this.messageContexts=[],this.cache=new Lt.CacheRegistry,this.cleanSessionDebouncer=new Lt.Debouncer}render(){return za.html`
1045
+ `;var Fa=f(v()),Ul="ft-app-info",Dl={},N=Fa.FtReduxStore.get({name:Ul,reducers:Dl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ne=f(v());var Dr=f(v());var ge=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=N.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=o.get(t);if(n)r(n);else{let i=N.subscribe(()=>{n=o.get(t),n&&(i(),r(n))})}})}};var Ut=class{constructor(t=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Dr.CacheRegistry,this.cache=t?i.commonCache:new Dr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ge.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ge.await()}clearCache(){this.cache.clearAll()}};var Wa,Ml=Symbol("clearAfterUnitTest"),Uo=class extends Ut{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Wa]=()=>{this.defaultMessages={},this.cache=new ne.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,ne.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...n){var i,a,l;t=t.toLowerCase(),this.fetchContext(t);let p=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new ne.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},p).resolve(r,...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(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,ne.delay)(0).then(()=>r()).catch(()=>null)))}};Wa=Ml;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var De=window.FluidTopicsI18nService,Ha=window.FluidTopicsCustomI18nService;var ct=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Lt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>ge.get(),this.messageContexts=[],this.cache=new Lt.CacheRegistry,this.cleanSessionDebouncer=new Lt.Debouncer}render(){return za.html`
1046
1046
  <slot></slot>
1047
- `}update(t){super.update(t),t.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&N.actions.noCustom(this.noCustom),t.has("editorMode")&&N.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.session(this.session),t.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>De.addContext(r)),t.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Ma;ct([(0,At.property)()],j.prototype,"baseUrl",void 0);ct([(0,At.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ct([(0,At.property)()],j.prototype,"uiLocale",void 0);ct([(0,Lt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ct([(0,Lt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"editorMode",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"noCustom",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ct([(0,At.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ct([(0,At.property)({type:Object})],j.prototype,"apiProvider",void 0);ct([(0,Lt.jsonProperty)([])],j.prototype,"messageContexts",void 0);ct([(0,Lt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Wo=f(v());var Do=class extends Ut{async listMySearches(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Mo=class extends Ut{async listMyBookmarks(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Fl="ft-user-assets",Fo=Wo.FtReduxStore.get({name:Fl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mr=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mo,this.savedSearchesService=new Do,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=N.getState();(0,Wo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Fo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Fo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Fo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Fo.actions.bookmarks(r)}}},Ga=new Mr;var Fr=class{addCommand(t,r=!1){N.commands.add(t,r)}consumeCommand(t){return N.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Fr;var Ka=f(v()),Wr=class{highlightHtml(t,r){(0,Ka.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Wr;(0,Va.customElement)("ft-app-context")(j);var ja=f(Z()),Wl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Hr=Symbol("i18nAttributes"),Ho=Symbol("i18nProperties"),fo=Symbol("i18nUnsubs");function wt(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Ha:De}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let u=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var a,s;(a=this[Hr])===null||a===void 0||a.forEach((c,u)=>{var h;let b=this.getI18nAttributeValue(u);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(u,b,c)}),(s=this[Ho])===null||s===void 0||s.forEach((c,u)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Hr])===null||a===void 0||a.forEach((c,u)=>{let h=this.getI18nAttributeValue(u);h?.context&&h.key&&(i.has(u)||c.argsProvider!=null)&&(i.has(u)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(u,h,c))}),(s=this[Ho])===null||s===void 0||s.forEach((c,u)=>{c.argsProvider!=null&&(this[u]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[Ho])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[Hr])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(i,a){i=i.toLowerCase(),this[fo].has(i)||this[fo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[fo].forEach(i=>i()),this[fo].clear()}}return t=fo,Wl([(0,ja.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Za=class extends wt(Go.FtLitElement){},zo=class extends wt(Go.FtLitElementRedux){};var uo=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Tt=class extends zo{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ko.nothing:Ko.html`
1047
+ `}update(t){super.update(t),t.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&N.actions.noCustom(this.noCustom),t.has("editorMode")&&N.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.session(this.session),t.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>De.addContext(r)),t.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Ma;ct([(0,At.property)()],j.prototype,"baseUrl",void 0);ct([(0,At.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ct([(0,At.property)()],j.prototype,"uiLocale",void 0);ct([(0,Lt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ct([(0,Lt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"editorMode",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"noCustom",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ct([(0,At.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ct([(0,At.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ct([(0,At.property)({type:Object})],j.prototype,"apiProvider",void 0);ct([(0,Lt.jsonProperty)([])],j.prototype,"messageContexts",void 0);ct([(0,Lt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Wo=f(v());var Do=class extends Ut{async listMySearches(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Mo=class extends Ut{async listMyBookmarks(){let t=N.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Fl="ft-user-assets",Fo=Wo.FtReduxStore.get({name:Fl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mr=class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mo,this.savedSearchesService=new Do,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=N.getState();(0,Wo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Fo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Fo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Fo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Fo.actions.bookmarks(r)}}},Ga=new Mr;var Fr=class{addCommand(t,r=!1){N.commands.add(t,r)}consumeCommand(t){return N.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Fr;var Ka=f(v()),Wr=class{highlightHtml(t,r){(0,Ka.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Wr;(0,Va.customElement)("ft-app-context")(j);var ja=f(Z()),Wl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Hr=Symbol("i18nAttributes"),Ho=Symbol("i18nProperties"),fo=Symbol("i18nUnsubs");function wt(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Ha:De}i18n(i,a,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...l);let u=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var a,l;(a=this[Hr])===null||a===void 0||a.forEach((p,u)=>{var h;let b=this.getI18nAttributeValue(u);((h=b?.context)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(u,b,p)}),(l=this[Ho])===null||l===void 0||l.forEach((p,u)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,l){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...l})}}update(i){var a,l;super.update(i),(a=this[Hr])===null||a===void 0||a.forEach((p,u)=>{let h=this.getI18nAttributeValue(u);h?.context&&h.key&&(i.has(u)||p.argsProvider!=null)&&(i.has(u)&&this.addI18nContext(h.context),this.updateI18nAttributeMessage(u,h,p))}),(l=this[Ho])===null||l===void 0||l.forEach((p,u)=>{p.argsProvider!=null&&(this[u]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,l,p;super.connectedCallback(),new Set([...(a=(i=this[Ho])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(p=(l=this[Hr])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(u=>this.getI18nAttributeValue(u))].map(u=>u?.context)).forEach(u=>u&&this.addI18nMessages(u))}addI18nMessages(i,a){i=i.toLowerCase(),this[fo].has(i)||this[fo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[fo].forEach(i=>i()),this[fo].clear()}}return t=fo,Wl([(0,ja.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Za=class extends wt(Go.FtLitElement){},zo=class extends wt(Go.FtLitElementRedux){};var uo=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Tt=class extends zo{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ko.nothing:Ko.html`
1048
1048
  <span class="ft-i18n">
1049
1049
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1050
1050
  </span>
1051
1051
  `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Tt.elementDefinitions={};Tt.styles=Ua;uo([(0,Zo.redux)()],Tt.prototype,"editorMode",void 0);uo([(0,Vo.property)()],Tt.prototype,"context",void 0);uo([(0,Vo.property)()],Tt.prototype,"key",void 0);uo([(0,Zo.jsonProperty)([])],Tt.prototype,"args",void 0);uo([(0,Vo.property)()],Tt.prototype,"defaultMessage",void 0);var Dt=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>De.resolveMessage(this.name,n,...i)})}};(0,qa.customElement)("ft-i18n")(Tt);var xs=f(v());var bs=f(E()),qt=f(Z()),Pt=f(v());var Ya=f(E());var Xa=Ya.css`
1052
- `;var gs=f(v()),ys=f(Z());var jt=f(v());var Qa=f(v()),Hl={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ja=o=>Qa.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Hl});var cg=f(es(),1);var os;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(os||(os={}));var rs;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(rs||(rs={}));var ns;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(ns||(ns={}));var is;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(is||(is={}));var as;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(as||(as={}));var ss;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(ss||(ss={}));var ls;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(ls||(ls={}));var cs;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(cs||(cs={}));var ps;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(ps||(ps={}));var ds;(function(o){o.ASC="ASC",o.DESC="DESC"})(ds||(ds={}));var fs;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(fs||(fs={}));var Me;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Me||(Me={}));var us;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(us||(us={}));var jo;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(jo||(jo={}));var hs;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(hs||(hs={}));var Fe;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(Fe||(Fe={}));var We;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(We||(We={}));var et;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(et||(et={}));var ms;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(ms||(ms={}));var ig={[et.PERSONAL_BOOK_SHARE_USER]:[et.PERSONAL_BOOK_USER],[et.HTML_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.PDF_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.KHUB_ADMIN]:[et.CONTENT_PUBLISHER],[et.ADMIN]:[et.KHUB_ADMIN,et.USERS_ADMIN,et.PORTAL_ADMIN],[et.DEVELOPER]:[et.BETA_USER,et.DEBUG_USER]};var qo=class extends Ut{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var zl=o=>o.request.virtualField===Me.TITLE_ONLY&&o.request.scope===We.DOCUMENTS,Yo=class o extends Event{constructor(){super(o.eventName)}};Yo.eventName="search-context-clear-all-filters";var ho=class o{static build(t,r){return new o(Ja(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new jt.Debouncer(100),this.suggestDebouncer=new jt.Debouncer(300),this.service=r??new qo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(t!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(t)||(t=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Me.TITLE_ONLY),this.store.actions.setRequestScope(We.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Me.EVERYWHERE),this.store.actions.setRequestScope(We.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return zl(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Yo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let n=this.facetIds.filter(i=>i!=t);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let n=[...new Set(t)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(t,r){let n=this.store.getState().request.filters,i={key:t,values:r,negative:!1},a=[...n.filter(s=>s.key!==t),i];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,jt.cancelable)(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof jt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,jt.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof jt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var Gl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Gr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},zr=Symbol("registerInterval");function Kl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[zr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[zr]):this.dispatchEvent(new Gr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=zr,Gl([(0,ys.state)()],r.prototype,"stateManager",void 0),r}var bt=class extends Kl(gs.FtLitElementRedux){};var pt=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Kr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Vr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Zr=class extends CustomEvent{constructor(t,r,n){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:n}})}},W=class extends Pt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=ho.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(N)}render(){return bs.html`
1052
+ `;var gs=f(v()),ys=f(Z());var jt=f(v());var Qa=f(v()),Hl={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ja=o=>Qa.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Hl});var gg=f(es(),1);var os;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(os||(os={}));var rs;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(rs||(rs={}));var ns;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(ns||(ns={}));var is;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(is||(is={}));var as;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(as||(as={}));var ss;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(ss||(ss={}));var ls;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(ls||(ls={}));var cs;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(cs||(cs={}));var ps;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(ps||(ps={}));var ds;(function(o){o.ASC="ASC",o.DESC="DESC"})(ds||(ds={}));var fs;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(fs||(fs={}));var Me;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Me||(Me={}));var us;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(us||(us={}));var jo;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(jo||(jo={}));var hs;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(hs||(hs={}));var Fe;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(Fe||(Fe={}));var We;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(We||(We={}));var et;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(et||(et={}));var ms;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(ms||(ms={}));var fg={[et.PERSONAL_BOOK_SHARE_USER]:[et.PERSONAL_BOOK_USER],[et.HTML_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.PDF_EXPORT_USER]:[et.PERSONAL_BOOK_USER],[et.KHUB_ADMIN]:[et.CONTENT_PUBLISHER],[et.ADMIN]:[et.KHUB_ADMIN,et.USERS_ADMIN,et.PORTAL_ADMIN],[et.DEVELOPER]:[et.BETA_USER,et.DEBUG_USER]};var qo=class extends Ut{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var zl=o=>o.request.virtualField===Me.TITLE_ONLY&&o.request.scope===We.DOCUMENTS,Yo=class o extends Event{constructor(){super(o.eventName)}};Yo.eventName="search-context-clear-all-filters";var ho=class o{static build(t,r){return new o(Ja(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new jt.Debouncer(100),this.suggestDebouncer=new jt.Debouncer(300),this.service=r??new qo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(t!=n){if(r){let i=a=>r.some(l=>l.lang==a);i(t)||(t=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Me.TITLE_ONLY),this.store.actions.setRequestScope(We.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Me.EVERYWHERE),this.store.actions.setRequestScope(We.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return zl(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Yo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let n=this.facetIds.filter(i=>i!=t);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let n=[...new Set(t)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(t,r){let n=this.store.getState().request.filters,i={key:t,values:r,negative:!1},a=[...n.filter(l=>l.key!==t),i];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,jt.cancelable)(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof jt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,jt.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof jt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var Gl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Gr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},zr=Symbol("registerInterval");function Kl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[zr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[zr]):this.dispatchEvent(new Gr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=zr,Gl([(0,ys.state)()],r.prototype,"stateManager",void 0),r}var bt=class extends Kl(gs.FtLitElementRedux){};var pt=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Kr=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},Vr=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},Zr=class extends CustomEvent{constructor(t,r,n){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:n}})}},W=class extends Pt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=ho.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(N)}render(){return bs.html`
1053
1053
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1054
- `}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Vr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Zr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Kr(t))}reloadSavedSearches(){Ga.clearMySearches()}clear(){this.stateManager.clear()}};W.elementDefinitions={};W.styles=Xa;pt([(0,qt.property)()],W.prototype,"query",void 0);pt([(0,qt.property)()],W.prototype,"contentLocale",void 0);pt([(0,qt.property)({type:Number})],W.prototype,"pageSize",void 0);pt([(0,qt.property)({type:Boolean})],W.prototype,"searchInDocumentTitlesOnly",void 0);pt([(0,qt.property)()],W.prototype,"periodFilter",void 0);pt([(0,qt.property)()],W.prototype,"scope",void 0);pt([(0,qt.property)({type:Boolean})],W.prototype,"ignoreEmptyQuery",void 0);pt([(0,Pt.redux)({store:N.name})],W.prototype,"openExternalDocumentInNewTab",void 0);pt([(0,Pt.jsonProperty)([])],W.prototype,"filters",void 0);pt([(0,Pt.jsonProperty)([])],W.prototype,"sort",void 0);pt([(0,Pt.redux)({store:"search"})],W.prototype,"request",void 0);pt([(0,Pt.redux)({store:"search"})],W.prototype,"paging",void 0);pt([(0,Pt.redux)({store:"search",selector:o=>o.spellcheck})],W.prototype,"autocorrect",void 0);pt([(0,Pt.redux)({store:N.name})],W.prototype,"session",void 0);pt([(0,qt.property)({attribute:!1})],W.prototype,"searchServiceProvider",void 0);(0,xs.customElement)("ft-search-context")(W);var vs=f(v()),Cs=f(Z());var Ss;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ss||(Ss={}));var Vl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},qr=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},jr=Symbol("registerInterval");function Zl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[jr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[jr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=jr,Vl([(0,Cs.state)()],r.prototype,"stateManager",void 0),r}var Xo=class extends Zl(vs.FtLitElementRedux){};var ws=f(v());var Qo=f(E()),As=f(v());var Os=f(E());var Es=Os.css`
1054
+ `}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Vr(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Zr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Kr(t))}reloadSavedSearches(){Ga.clearMySearches()}clear(){this.stateManager.clear()}};W.elementDefinitions={};W.styles=Xa;pt([(0,qt.property)()],W.prototype,"query",void 0);pt([(0,qt.property)()],W.prototype,"contentLocale",void 0);pt([(0,qt.property)({type:Number})],W.prototype,"pageSize",void 0);pt([(0,qt.property)({type:Boolean})],W.prototype,"searchInDocumentTitlesOnly",void 0);pt([(0,qt.property)()],W.prototype,"periodFilter",void 0);pt([(0,qt.property)()],W.prototype,"scope",void 0);pt([(0,qt.property)({type:Boolean})],W.prototype,"ignoreEmptyQuery",void 0);pt([(0,Pt.redux)({store:N.name})],W.prototype,"openExternalDocumentInNewTab",void 0);pt([(0,Pt.jsonProperty)([])],W.prototype,"filters",void 0);pt([(0,Pt.jsonProperty)([])],W.prototype,"sort",void 0);pt([(0,Pt.redux)({store:"search"})],W.prototype,"request",void 0);pt([(0,Pt.redux)({store:"search"})],W.prototype,"paging",void 0);pt([(0,Pt.redux)({store:"search",selector:o=>o.spellcheck})],W.prototype,"autocorrect",void 0);pt([(0,Pt.redux)({store:N.name})],W.prototype,"session",void 0);pt([(0,qt.property)({attribute:!1})],W.prototype,"searchServiceProvider",void 0);(0,xs.customElement)("ft-search-context")(W);var vs=f(v()),Cs=f(Z());var Ss;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ss||(Ss={}));var Vl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},qr=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},jr=Symbol("registerInterval");function Zl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[jr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[jr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=jr,Vl([(0,Cs.state)()],r.prototype,"stateManager",void 0),r}var Xo=class extends Zl(vs.FtLitElementRedux){};var ws=f(v());var Qo=f(E()),As=f(v());var Os=f(E());var Es=Os.css`
1055
1055
 
1056
- `;var He=Dt.build("searchResultsNumber"),Rs={results:"{0} results","results[\\=1]":"1 result"};var jl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Yt=class extends wt(bt){constructor(){super(),this.addI18nContext(He,Rs)}render(){return this.paging==null?Qo.nothing:Qo.html`
1056
+ `;var He=Dt.build("searchResultsNumber"),Rs={results:"{0} results","results[\\=1]":"1 result"};var jl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Yt=class extends wt(bt){constructor(){super(),this.addI18nContext(He,Rs)}render(){return this.paging==null?Qo.nothing:Qo.html`
1057
1057
  <ft-typography variant="body1">
1058
1058
  ${He.messages.results(this.paging.totalClustersCount)}
1059
1059
  </ft-typography>
@@ -1099,7 +1099,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1099
1099
  flex-grow: 1;
1100
1100
  flex-shrink: 1;
1101
1101
  }
1102
- `;var _s=f(Yr());var Ts=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Xr=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}},ye=class extends bt{render(){return Jo.html`
1102
+ `;var _s=f(Yr());var Ts=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Xr=class extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}},ye=class extends bt{render(){return Jo.html`
1103
1103
  <div class="ft-search-input-suggestion ft-word-wrap"
1104
1104
  part="container"
1105
1105
  @keydown=${t=>this.onSuggestKeyDown(t)}>
@@ -1115,9 +1115,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1115
1115
  </a>
1116
1116
  `)}
1117
1117
  </div>
1118
- `}onSuggestKeyDown(t){var r,n,i,a,s,c;switch(t.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),t.preventDefault(),t.stopPropagation();break}}onSuggestKeyUp(t,r){(t.key==="Enter"||t.key===" ")&&this.onSuggestSelected(t,r)}onSuggestSelected(t,r){t.preventDefault(),this.dispatchEvent(new Xr(r))}getIcon(t){let r=t.type==="DOCUMENT"?It.file_format:It.fluid_topics,n;switch(t.type){case"MAP":n=t.editorialType==="BOOK"?re.BOOK:re.ARTICLE;break;case"DOCUMENT":n=ha(t.mimeType,t.filenameExtension);break;case"TOPIC":n=re.TOPICS;break}return Jo.html`
1118
+ `}onSuggestKeyDown(t){var r,n,i,a,l,p;switch(t.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":(p=(l=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l:this.getFirstSuggestionElement())===null||p===void 0||p.focus(),t.preventDefault(),t.stopPropagation();break}}onSuggestKeyUp(t,r){(t.key==="Enter"||t.key===" ")&&this.onSuggestSelected(t,r)}onSuggestSelected(t,r){t.preventDefault(),this.dispatchEvent(new Xr(r))}getIcon(t){let r=t.type==="DOCUMENT"?It.file_format:It.fluid_topics,n;switch(t.type){case"MAP":n=t.editorialType==="BOOK"?re.BOOK:re.ARTICLE;break;case"DOCUMENT":n=ha(t.mimeType,t.filenameExtension);break;case"TOPIC":n=re.TOPICS;break}return Jo.html`
1119
1119
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1120
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;(t=this.getFirstSuggestionElement())===null||t===void 0||t.focus()}};ye.elementDefinitions={"ft-ripple":U,"ft-typography":F,"ft-icon":yt};ye.styles=[tr.wordWrap,Is];Ts([(0,tr.redux)()],ye.prototype,"suggestResults",void 0);ye=Ts([(0,Ps.customElement)("ft-search-input-suggestion")],ye);var be=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends wt(bt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=mo.messages.placeholder(),this.addI18nContext(mo)}render(){var t,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(t=this.suggestResults)===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return Qr.html`
1120
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;(t=this.getFirstSuggestionElement())===null||t===void 0||t.focus()}};ye.elementDefinitions={"ft-ripple":U,"ft-typography":F,"ft-icon":yt};ye.styles=[tr.wordWrap,Is];Ts([(0,tr.redux)()],ye.prototype,"suggestResults",void 0);ye=Ts([(0,Ps.customElement)("ft-search-input-suggestion")],ye);var be=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends wt(bt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=mo.messages.placeholder(),this.addI18nContext(mo)}render(){var t,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(t=this.suggestResults)===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return Qr.html`
1121
1121
  <div class="${(0,ks.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1122
1122
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1123
1123
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -1165,9 +1165,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1165
1165
  color: inherit;
1166
1166
  text-decoration: inherit;
1167
1167
  }
1168
- `;var or=class{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,r){this.cluster=t,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}};var tn=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Jr=class extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}},Xt=class extends Ws.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new or(t=>this.onResultSelected(t))}render(){return Fs.html`
1168
+ `;var or=class{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,r){this.cluster=t,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}};var tn=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Jr=class extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}},Xt=class extends Ws.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new or(t=>this.onResultSelected(t))}render(){return Fs.html`
1169
1169
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1170
- `}onResultSelected(t){this.result=t,this.dispatchEvent(new Jr(this.result))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Xt.elementDefinitions={};Xt.styles=Ms;tn([(0,go.property)({attribute:!1})],Xt.prototype,"cluster",void 0);tn([(0,go.state)()],Xt.prototype,"result",void 0);tn([(0,go.property)()],Xt.prototype,"index",void 0);(0,Hs.customElement)("ft-search-result-context")(Xt);var Zs=f(v());var ir=f(E());var rr=f(Z()),en=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},rn=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},on=Symbol("registerInterval");function ql(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[on]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[on]):this.dispatchEvent(new rn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return t=on,en([(0,rr.property)({attribute:!1})],r.prototype,"cluster",void 0),en([(0,rr.property)({attribute:!1})],r.prototype,"result",void 0),en([(0,rr.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var ze=class extends ql(bt){};var Vs=f(ko());var zs=o=>o??Y;function Gs(o){var t,r,n,i,a;return((i=(r=(t=o.map)===null||t===void 0?void 0:t.openMode)!==null&&r!==void 0?r:(n=o.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=o.document)===null||a===void 0?void 0:a.openMode)===jo.EXTERNAL}function nr(o){var t,r,n,i,a;if(Gs(o))return(i=(r=(t=o.map)===null||t===void 0?void 0:t.originUrl)!==null&&r!==void 0?r:(n=o.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=o.document)===null||a===void 0?void 0:a.originUrl;switch(o.type){case Fe.MAP:return o.map.readerUrl;case Fe.DOCUMENT:return o.document.viewerUrl;case Fe.TOPIC:return o.topic.readerUrl}return""}function Ks(o,t){return zs(t&&Gs(o)?"_blank":void 0)}var Ge=class extends CustomEvent{constructor(t,r){super("ft-search-result-click",{detail:{result:t,rank:r},bubbles:!0,composed:!0})}};var Ke=class extends ze{render(){var t;return this.result?ir.html`
1170
+ `}onResultSelected(t){this.result=t,this.dispatchEvent(new Jr(this.result))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Xt.elementDefinitions={};Xt.styles=Ms;tn([(0,go.property)({attribute:!1})],Xt.prototype,"cluster",void 0);tn([(0,go.state)()],Xt.prototype,"result",void 0);tn([(0,go.property)()],Xt.prototype,"index",void 0);(0,Hs.customElement)("ft-search-result-context")(Xt);var Zs=f(v());var ir=f(E());var rr=f(Z()),en=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},rn=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},on=Symbol("registerInterval");function ql(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[on]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[on]):this.dispatchEvent(new rn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return t=on,en([(0,rr.property)({attribute:!1})],r.prototype,"cluster",void 0),en([(0,rr.property)({attribute:!1})],r.prototype,"result",void 0),en([(0,rr.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var ze=class extends ql(bt){};var Vs=f(ko());var zs=o=>o??Y;function Gs(o){var t,r,n,i,a;return((i=(r=(t=o.map)===null||t===void 0?void 0:t.openMode)!==null&&r!==void 0?r:(n=o.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=o.document)===null||a===void 0?void 0:a.openMode)===jo.EXTERNAL}function nr(o){var t,r,n,i,a;if(Gs(o))return(i=(r=(t=o.map)===null||t===void 0?void 0:t.originUrl)!==null&&r!==void 0?r:(n=o.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=o.document)===null||a===void 0?void 0:a.originUrl;switch(o.type){case Fe.MAP:return o.map.readerUrl;case Fe.DOCUMENT:return o.document.viewerUrl;case Fe.TOPIC:return o.topic.readerUrl}return""}function Ks(o,t){return zs(t&&Gs(o)?"_blank":void 0)}var Ge=class extends CustomEvent{constructor(t,r){super("ft-search-result-click",{detail:{result:t,rank:r},bubbles:!0,composed:!0})}};var Ke=class extends ze{render(){var t;return this.result?ir.html`
1171
1171
  <a href="${this.result?nr(this.result):""}" @click=${this.onResultClick} target="${Ks(this.result,(t=this.stateManager)===null||t===void 0?void 0:t.openExternalDocumentInNewTab)}">
1172
1172
  <ft-typography variant="title" part="text">${(0,Vs.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
1173
1173
  </a>
@@ -1179,7 +1179,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1179
1179
  display: none !important;
1180
1180
  }
1181
1181
  </style>
1182
- `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}};Ve.elementDefinitions={"ft-typography":F};Ve.styles=La;(0,qs.customElement)("ft-search-result-abstract")(Ve);var Ze=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ot=class extends wt(bt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ar.html`
1182
+ `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}};Ve.elementDefinitions={"ft-typography":F};Ve.styles=La;(0,qs.customElement)("ft-search-result-abstract")(Ve);var Ze=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ot=class extends wt(bt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ar.html`
1183
1183
  <ft-search-result-title></ft-search-result-title>
1184
1184
  <ft-search-result-abstract></ft-search-result-abstract>
1185
1185
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(He)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return ar.html`
@@ -1189,7 +1189,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1189
1189
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1190
1190
  ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1191
1191
  </ft-search-result-context>
1192
- `})}update(t){var r;super.update(t),(t.has("clusterSortCriterion")||t.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(t,r){this.selectedResultByCluster[t]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var t,r;return(r=(t=this.results)===null||t===void 0?void 0:t.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var t,r;let n=(r=(t=this.results)===null||t===void 0?void 0:t.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(t){var r,n,i,a,s;return(a=(n=(r=t.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=t.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=t.document)===null||s===void 0?void 0:s.documentId}};Ot.styles=Us;Ze([(0,sr.property)({type:String,attribute:"cluster-policy"})],Ot.prototype,"clusterPolicy",void 0);Ze([(0,sr.property)({type:Boolean})],Ot.prototype,"displayNoResultsMessage",void 0);Ze([(0,sr.property)({attribute:!1})],Ot.prototype,"renderResult",void 0);Ze([(0,yo.jsonProperty)([])],Ot.prototype,"clusterSortCriterion",void 0);Ze([(0,yo.redux)()],Ot.prototype,"request",void 0);Ze([(0,yo.redux)()],Ot.prototype,"results",void 0);(0,Xs.customElement)("ft-search-results")(Ot);var tl=f(v());var bo=f(E()),xo=f(Z()),Qs=f(v());var Js=f(Ye()),lr=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Mt=class extends Qs.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return bo.html`
1192
+ `})}update(t){var r;super.update(t),(t.has("clusterSortCriterion")||t.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(t,r){this.selectedResultByCluster[t]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var t,r;return(r=(t=this.results)===null||t===void 0?void 0:t.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var t,r;let n=(r=(t=this.results)===null||t===void 0?void 0:t.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(t){var r,n,i,a,l;return(a=(n=(r=t.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=t.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(l=t.document)===null||l===void 0?void 0:l.documentId}};Ot.styles=Us;Ze([(0,sr.property)({type:String,attribute:"cluster-policy"})],Ot.prototype,"clusterPolicy",void 0);Ze([(0,sr.property)({type:Boolean})],Ot.prototype,"displayNoResultsMessage",void 0);Ze([(0,sr.property)({attribute:!1})],Ot.prototype,"renderResult",void 0);Ze([(0,yo.jsonProperty)([])],Ot.prototype,"clusterSortCriterion",void 0);Ze([(0,yo.redux)()],Ot.prototype,"request",void 0);Ze([(0,yo.redux)()],Ot.prototype,"results",void 0);(0,Xs.customElement)("ft-search-results")(Ot);var tl=f(v());var bo=f(E()),xo=f(Z()),Qs=f(v());var Js=f(Ye()),lr=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Mt=class extends Qs.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let t={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return bo.html`
1193
1193
  <div id="container" part="container" class=${(0,Js.classMap)(t)}>
1194
1194
  ${this.clickable?bo.html`
1195
1195
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -1208,11 +1208,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1208
1208
  </div>
1209
1209
  </div>
1210
1210
  `}};Mt.elementDefinitions={"ft-ripple":U,"ft-typography":F};Mt.styles=Cn;lr([(0,xo.property)()],Mt.prototype,"title",void 0);lr([(0,xo.property)({type:Boolean})],Mt.prototype,"clickable",void 0);lr([(0,xo.property)({type:Boolean})],Mt.prototype,"selected",void 0);lr([(0,xo.property)({type:Boolean})],Mt.prototype,"noHeader",void 0);(0,tl.customElement)("ft-card")(Mt);var ae=f(Z());var nl=f(v());var cr=f(E()),sn=f(v());var el=f(E());var ol=el.css`
1211
- `;var an=Dt.fromGwt("designedActionBlockAriaLabels");var rl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ft=class extends wt(bt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(an)}render(){return this.isLastPage?cr.nothing:cr.html`
1211
+ `;var an=Dt.fromGwt("designedActionBlockAriaLabels");var rl=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ft=class extends wt(bt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(an)}render(){return this.isLastPage?cr.nothing:cr.html`
1212
1212
  <ft-button @click="${this.loadMore}">
1213
1213
  ${an.messages.searchPageLoadMore()}
1214
1214
  </ft-button>
1215
- `}loadMore(){var t;(t=this.stateManager)===null||t===void 0||t.setPageNumber(this.currentPage+1)}};Ft.elementDefinitions={"ft-button":lt};Ft.styles=ol;rl([(0,sn.redux)({store:"search",selector:o=>{var t,r;return(r=(t=o.paging)===null||t===void 0?void 0:t.currentPage)!==null&&r!==void 0?r:1}})],Ft.prototype,"currentPage",void 0);rl([(0,sn.redux)({store:"search",selector:o=>{var t,r;return(r=(t=o.paging)===null||t===void 0?void 0:t.isLastPage)!==null&&r!==void 0?r:!0}})],Ft.prototype,"isLastPage",void 0);(0,nl.customElement)("ft-search-load-more-button")(Ft);var pr=class extends CustomEvent{constructor(t){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:t})}};var ln=Dt.build("designedReaderSearchInDocument");var ie=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xt=class extends wt(Xo){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(ln)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,r){var n;return Et.html`
1215
+ `}loadMore(){var t;(t=this.stateManager)===null||t===void 0||t.setPageNumber(this.currentPage+1)}};Ft.elementDefinitions={"ft-button":lt};Ft.styles=ol;rl([(0,sn.redux)({store:"search",selector:o=>{var t,r;return(r=(t=o.paging)===null||t===void 0?void 0:t.currentPage)!==null&&r!==void 0?r:1}})],Ft.prototype,"currentPage",void 0);rl([(0,sn.redux)({store:"search",selector:o=>{var t,r;return(r=(t=o.paging)===null||t===void 0?void 0:t.isLastPage)!==null&&r!==void 0?r:!0}})],Ft.prototype,"isLastPage",void 0);(0,nl.customElement)("ft-search-load-more-button")(Ft);var pr=class extends CustomEvent{constructor(t){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:t})}};var ln=Dt.build("designedReaderSearchInDocument");var ie=function(o,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,n);else for(var p=o.length-1;p>=0;p--)(l=o[p])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},xt=class extends wt(Xo){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(ln)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(t,r){var n;return Et.html`
1216
1216
  <style> ${Ba}</style>
1217
1217
  <a href="${nr(t)}" @click="${()=>this.onLinkClick(t,r)} }">
1218
1218
  <ft-card clickable noheader>