@fluid-topics/ft-reader-search-in-document 1.1.81 → 1.1.83

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 ll=Object.create;var dn=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var pl=Object.getOwnPropertyNames;var dl=Object.getPrototypeOf,fl=Object.prototype.hasOwnProperty;var se=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var ul=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pl(t))!fl.call(o,i)&&i!==r&&dn(o,i,{get:()=>t[i],enumerable:!(n=cl(t,i))||n.enumerable});return o};var f=(o,t,r)=>(r=o!=null?ll(dl(o)):{},ul(t||!o||!o.__esModule?dn(r,"default",{value:o,enumerable:!0}):r,o));var v=se((Jl,fn)=>{fn.exports=ftGlobals.wcUtils});var E=se((tc,un)=>{un.exports=ftGlobals.lit});var Z=se((nc,On)=>{On.exports=ftGlobals.litDecorators});var Ye=se((zf,bi)=>{bi.exports=ftGlobals.litClassMap});var ko=se((Zu,ma)=>{ma.exports=ftGlobals.litUnsafeHTML});var rs=se(os=>{(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 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 I(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=I(m);return m.readAsArrayBuffer(d),R}function P(d){var m=new FileReader,R=I(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:os)});var Yr=se((hy,Ps)=>{Ps.exports=ftGlobals.litRepeat});var sl=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),L={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 Rf=Object.create;var kn=Object.defineProperty;var Nf=Object.getOwnPropertyDescriptor;var Pf=Object.getOwnPropertyNames;var Tf=Object.getPrototypeOf,If=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Lt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_t=(t,e)=>{for(var o in e)kn(t,o,{get:e[o],enumerable:!0})},Lf=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pf(e))!If.call(t,i)&&i!==o&&kn(t,i,{get:()=>e[i],enumerable:!(n=Nf(e,i))||n.enumerable});return t};var y=(t,e,o)=>(o=t!=null?Rf(Tf(t)):{},Lf(e||!t||!t.__esModule?kn(o,"default",{value:t,enumerable:!0}):o,t));var A=Lt((sm,os)=>{os.exports=ftGlobals.wcUtils});var k=Lt((lm,ns)=>{ns.exports=ftGlobals.lit});var us,ie,is,U,as,ss,ls,cs,ds,kt=f(()=>{"use strict";us=y(k()),ie=y(A()),is=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorContent),U={color:is,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",is),opacityContentOnSurfacePressed:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ie.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},as=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorPrimary),ss={color:as,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",as)},ls=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorSecondary),cs={color:ls,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",ls)},ds=us.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  .ft-ripple:not(.ft-ripple--unbounded) {
13
13
  overflow: hidden;
14
- border-radius: ${L.borderRadius};
14
+ border-radius: ${U.borderRadius};
15
15
  }
16
16
 
17
17
  .ft-ripple .ft-ripple--background,
@@ -45,27 +45,27 @@
45
45
  }
46
46
 
47
47
  .ft-ripple .ft-ripple--background {
48
- background-color: ${L.backgroundColor};
48
+ background-color: ${U.backgroundColor};
49
49
  }
50
50
 
51
51
  .ft-ripple .ft-ripple--effect {
52
- background-color: ${L.color};
52
+ background-color: ${U.color};
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${bn.backgroundColor};
56
+ background-color: ${cs.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${bn.color};
60
+ background-color: ${cs.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${gn.backgroundColor};
64
+ background-color: ${ss.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${gn.color};
68
+ background-color: ${ss.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -95,205 +95,127 @@
95
95
  }
96
96
 
97
97
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
98
- opacity: ${L.opacityContentOnSurfaceHover};
98
+ opacity: ${U.opacityContentOnSurfaceHover};
99
99
  }
100
100
 
101
101
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
102
- opacity: ${L.opacityContentOnSurfaceSelected};
102
+ opacity: ${U.opacityContentOnSurfaceSelected};
103
103
  }
104
104
 
105
105
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
106
- opacity: ${L.opacityContentOnSurfaceFocused};
106
+ opacity: ${U.opacityContentOnSurfaceFocused};
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
110
- opacity: ${L.opacityContentOnSurfacePressed};
110
+ opacity: ${U.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `;var k={padding:T.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:T.FtCssVariableFactory.extend("--ft-card-border-radius","",T.designSystemVariables.borderRadiusM),borderStyle:T.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:T.FtCssVariableFactory.extend("--ft-card-border-color","",T.designSystemVariables.colorOutline),hoverBorderColor:T.FtCssVariableFactory.extend("--ft-card-hover-border-color","",T.designSystemVariables.colorPrimary),outlineStyle:T.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:T.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:T.FtCssVariableFactory.extend("--ft-card-outline-color","",T.designSystemVariables.colorPrimary),selectedOutlineStyle:T.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:T.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:T.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",T.designSystemVariables.colorPrimary),selectedBorderRadius:T.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",T.designSystemVariables.borderRadiusM),colorSurface:T.FtCssVariableFactory.extend("--ft-card-background-color","",T.designSystemVariables.colorSurface),colorOnSurfaceMedium:T.FtCssVariableFactory.extend("--ft-card-content-color","",T.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:T.FtCssVariableFactory.extend("--ft-card-title-color","",T.designSystemVariables.colorOnSurfaceHigh),elevation02:T.FtCssVariableFactory.extend("--ft-card-elevation","",T.designSystemVariables.elevation02),elevation04:T.FtCssVariableFactory.extend("--ft-card-selected-elevation","",T.designSystemVariables.elevation04)},Cn=vn.css`
114
- :host {
115
- display: block;
116
- }
117
-
118
- #container {
119
- padding: ${k.padding};
120
- outline-style: ${k.outlineStyle};
121
- outline-width: ${k.outlineWidth};
122
- outline-color: ${k.outlineColor};
123
- border-color: ${k.borderColor};
124
- border-style: ${k.borderStyle};
125
- border-width: 1px;
126
- border-radius: ${k.borderRadius};
127
- ${(0,T.setVariable)(L.borderRadius,k.borderRadius)};
128
- box-shadow: ${k.elevation02};
129
- position: relative;
130
- width: 100%;
131
- height: 100%;
132
- display: grid;
133
- grid-template:
134
- "header actions"
135
- "content content";
136
- grid-template-columns: minmax(0, 1fr) max-content;
137
- grid-template-rows: max-content minmax(0, 1fr);
138
- grid-gap: 8px;
139
- box-sizing: border-box;
140
- background-color: ${k.colorSurface};
141
- transition: box-shadow 0.2s linear, color 0.2s linear;
142
- }
143
-
144
- #container.no-header {
145
- grid-template: "content";
146
- }
147
-
148
- #container.no-header #header, #container.no-header #action {
149
- display: none;
150
- }
151
-
152
- #container.selected {
153
- outline-style: ${k.selectedOutlineStyle};
154
- outline-width: ${k.selectedOutlineWidth};
155
- outline-color: ${k.selectedOutlineColor};
156
- border-radius: ${k.selectedBorderRadius};
157
- ${(0,T.setVariable)(L.borderRadius,k.selectedBorderRadius)};
158
- box-shadow: ${k.elevation04};
159
- }
160
-
161
- #container.clickable {
162
- cursor: pointer;
163
- }
164
-
165
- #container.clickable:hover {
166
- box-shadow: ${k.elevation04};
167
- border-color: ${k.hoverBorderColor};
168
- }
169
-
170
- #header {
171
- grid-area: header;
172
- }
173
-
174
- .title {
175
- text-overflow: ellipsis;
176
- overflow: hidden;
177
- word-break: break-word;
178
- color: ${k.colorOnSurfaceHigh};
179
- }
180
-
181
- #content {
182
- word-break: break-word;
183
- min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
184
- grid-area: content;
185
- color: ${k.colorOnSurfaceMedium};
186
- }
187
-
188
- #action {
189
- grid-area: actions;
190
- }
191
- `;var Na=f(E()),B=f(v());var kr=f(v());var co=f(Z()),Ea=f(v());var gi=f(E()),A=f(v());var Rt=f(E()),y=f(v());var Ft=f(E(),1),Qt=o=>typeof o=="string"?(0,Ft.unsafeCSS)(o):o,e=class{static create(t,r,n,i){let a=c=>Qt(c??i),l=Ft.css`var(${Qt(t)}, ${a(i)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=a,l.get=c=>Ft.css`var(${Qt(t)}, ${a(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,r,n,i){let a=c=>n.get(c??i),l=Ft.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=c=>Ft.css`var(${Qt(t)}, ${a(c)})`,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=Ft.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=>Ft.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")},Ln={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")},In={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")},hl={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")},Wn={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")},Fn={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":Ln,"body-1-semibold":In,"body-2-regular":Tn,"body-2-medium":Pn,"body-2-medium-underline":hl,"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":Wn,"caption-1-semibold":Fn,"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.",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"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:e.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",s.iconSize1),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","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",s.borderRadiusPill),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","",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","",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","",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","",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","",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","",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","",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 bc={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",s.spacing1),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),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",s.spacing05),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),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-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","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),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 Oc={focusOpacity:e.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Nc={iconSize:e.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:e.extend("--ft-banner-right-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","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var _c={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","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Dc={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","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var zc={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","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var jc={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","",p.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","",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","",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 Jc={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:e.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.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","",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","",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","",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","",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 np={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","",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","",s.opacity40)};var cp={backgroundColor:e.extend("--ft-text-area-background-color","",s.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","",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 hp={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","",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","",s.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","",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","",p.backgroundGlobalOnSurface)};var xp={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","",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","",s.opacity40)};var Ep={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",s.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","",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 Lp={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",s.spacing6),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","",s.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",s.shadowElevation02)};var kp={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),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),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","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity0),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.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","",p.borderActionFocusRing)};var Mp={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","",p.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","",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","",s.iconSize3)};var Gp={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","",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","",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","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.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","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.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","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var jp={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 Jp={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","",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 nd={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","",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","",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","",s.spacing3)};var cd={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","",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","",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","",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","",s.spacing3)};var hd={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","",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","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.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","",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","",s.spacing3)};var xd={iconSize:e.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",s.spacing3),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","",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 Ed={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","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.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 qn;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(qn||(qn={}));var Yn;(function(o){o.large="large",o.medium="medium",o.small="small"})(Yn||(Yn={}));var Oo=f(E());function Xn(o){let t=Co[o];return Oo.css`
193
- .ft-typography--${(0,Oo.unsafeCSS)(o)} {
194
- font-family: ${t.fontFamily};
195
- font-size: ${t.fontSize};
196
- font-weight: ${t.fontWeight};
197
- letter-spacing: ${t.letterSpacing};
198
- line-height: ${t.lineHeight};
199
- text-transform: ${t.textCase};
113
+ `});var X=Lt((pm,hs)=>{hs.exports=ftGlobals.litDecorators});var ot,ht,r,H=f(()=>{ot=y(k(),1),ht=t=>typeof t=="string"?(0,ot.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>ht(c??i),s=ot.css`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>ot.css`var(${ht(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=ot.css`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>ot.css`var(${ht(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ht(a??e.lastResortDefaultValue()),i=ot.css`var(${ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>ot.css`var(${ht(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,ms,ys,gs,bs,xs,vs,Ss,Os,Cs,_f,Es,ws,As,Rs,Ns,Ps,Ts,Is,Ls,_s,ks,Ds,Ms,Bs,Us,$s,fo,j=f(()=>{H();l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},ms={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ys={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},gs={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},bs={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},xs={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},vs={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ss={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Os={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Cs={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},_f={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Es={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ws={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},As={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Rs={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ns={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ps={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ts={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Is={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ls={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},_s={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ks={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ds={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ms={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Bs={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Us={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$s={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},fo={display:ms,"title-1":ys,"title-2":gs,"title-3":bs,"body-1-regular":xs,"body-1-medium":vs,"body-1-semibold":Ss,"body-2-regular":Os,"body-2-medium":Cs,"body-2-medium-underline":_f,"body-2-semibold":Es,"label-1-medium":ws,"label-1-semibold":As,"label-1-bold":Rs,"label-2-medium":Ns,"label-2-semibold":Ps,"label-2-bold":Ts,"caption-1-medium":Is,"caption-1-semibold":Ls,"caption-1-bold":_s,"caption-2-medium":ks,"caption-2-semibold":Ds,"caption-2-bold":Ms,"caption-3-medium":Bs,"caption-3-semibold":Us,"caption-3-bold":$s}});var u,q=f(()=>{H();j();u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)}});var w,Fs=f(()=>{H();j();q();w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)}});var Am,Ws=f(()=>{H();j();q();Am={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Im,zs=f(()=>{H();j();q();Im={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)}});var Mm,Hs=f(()=>{H();j();q();Mm={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var Wm,js=f(()=>{H();j();q();Wm={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var Gm,Vs=f(()=>{H();j();q();Gm={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Xm,Gs=f(()=>{H();j();q();Xm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)}});var ry,Ks=f(()=>{H();j();q();ry={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var sy,Zs=f(()=>{H();j();q();sy={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var py,qs=f(()=>{H();j();q();py={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var gy,Ys=f(()=>{H();j();q();gy={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Oy,Xs=f(()=>{H();j();q();Oy={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)}});var Ry,Qs=f(()=>{H();j();q();Ry={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var Ly,Js=f(()=>{H();j();q();Ly={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var By,el=f(()=>{H();j();q();By={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)}});var zy,tl=f(()=>{H();j();q();zy={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var Ky,rl=f(()=>{H();j();q();Ky={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Qy,ol=f(()=>{H();j();q();Qy={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var rg,nl=f(()=>{H();j();rg={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)}});var sg,il=f(()=>{H();j();q();sg={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)}});var pg,al=f(()=>{H();j();q();pg={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)}});var gg,sl=f(()=>{H();j();q();gg={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)}});var Og,ll=f(()=>{H();j();q();Og={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)}});var Rg,cl=f(()=>{H();j();q();Rg={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Lg,ul=f(()=>{H();j();q();Lg={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)}});var dl=f(()=>{j();q();Fs();Ws();zs();Hs();js();Vs();Gs();Ks();Zs();qs();Ys();Xs();Qs();Js();el();tl();rl();ol();nl();il();al();sl();ll();cl();ul()});var pl,fl,hl=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(pl||(pl={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(fl||(fl={}))});var W=f(()=>{H();dl();hl()});function ml(t){let e=fo[t];return ho.css`
115
+ .ft-typography--${(0,ho.unsafeCSS)(t)} {
116
+ font-family: ${e.fontFamily};
117
+ font-size: ${e.fontSize};
118
+ font-weight: ${e.fontWeight};
119
+ letter-spacing: ${e.letterSpacing};
120
+ line-height: ${e.lineHeight};
121
+ text-transform: ${e.textCase};
200
122
  }
201
- `}var Qn=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.titleFont),Ht=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.contentFont),C={fontFamily:Ht,fontSize:y.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:y.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:y.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:y.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:y.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ve={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qn),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit")},Ce={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qn),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit")},Oe={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit")},Ee={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit")},Re={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit")},Ae={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit")},we={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit")},Ne={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit")},Le={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase")},_t={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ht),fontSize:y.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},Jn=Rt.css`
123
+ `}var ho,yl=f(()=>{"use strict";ho=y(k());W()});var ke,E,gl,nt,I,qt,Yt,Xt,Qt,Jt,er,tr,rr,or,Ke,bl,xl,vl,Sl,Ol,mo,Cl,El,wl,Al,Rl,Nl,yo=f(()=>{"use strict";ke=y(k()),E=y(A());W();yl();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();gl=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),nt=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),I={fontFamily:nt,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},qt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",gl),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},Yt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",gl),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Xt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},Qt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},Jt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},er={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},tr={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},rr={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},or={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Ke={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",nt),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},bl=ke.css`
202
124
  .ft-typography--title {
203
- font-family: ${ve.fontFamily};
204
- font-size: ${ve.fontSize};
205
- font-weight: ${ve.fontWeight};
206
- letter-spacing: ${ve.letterSpacing};
207
- line-height: ${ve.lineHeight};
208
- text-transform: ${ve.textTransform};
209
- }
210
- `,ti=Rt.css`
125
+ font-family: ${qt.fontFamily};
126
+ font-size: ${qt.fontSize};
127
+ font-weight: ${qt.fontWeight};
128
+ letter-spacing: ${qt.letterSpacing};
129
+ line-height: ${qt.lineHeight};
130
+ text-transform: ${qt.textTransform};
131
+ }
132
+ `,xl=ke.css`
211
133
  .ft-typography--title-dense {
212
- font-family: ${Ce.fontFamily};
213
- font-size: ${Ce.fontSize};
214
- font-weight: ${Ce.fontWeight};
215
- letter-spacing: ${Ce.letterSpacing};
216
- line-height: ${Ce.lineHeight};
217
- text-transform: ${Ce.textTransform};
218
- }
219
- `,ei=Rt.css`
134
+ font-family: ${Yt.fontFamily};
135
+ font-size: ${Yt.fontSize};
136
+ font-weight: ${Yt.fontWeight};
137
+ letter-spacing: ${Yt.letterSpacing};
138
+ line-height: ${Yt.lineHeight};
139
+ text-transform: ${Yt.textTransform};
140
+ }
141
+ `,vl=ke.css`
220
142
  .ft-typography--subtitle1 {
221
- font-family: ${Oe.fontFamily};
222
- font-size: ${Oe.fontSize};
223
- font-weight: ${Oe.fontWeight};
224
- letter-spacing: ${Oe.letterSpacing};
225
- line-height: ${Oe.lineHeight};
226
- text-transform: ${Oe.textTransform};
227
- }
228
- `,oi=Rt.css`
143
+ font-family: ${Xt.fontFamily};
144
+ font-size: ${Xt.fontSize};
145
+ font-weight: ${Xt.fontWeight};
146
+ letter-spacing: ${Xt.letterSpacing};
147
+ line-height: ${Xt.lineHeight};
148
+ text-transform: ${Xt.textTransform};
149
+ }
150
+ `,Sl=ke.css`
229
151
  .ft-typography--subtitle2 {
230
- font-family: ${Ee.fontFamily};
231
- font-size: ${Ee.fontSize};
232
- font-weight: ${Ee.fontWeight};
233
- letter-spacing: ${Ee.letterSpacing};
234
- line-height: ${Ee.lineHeight};
235
- text-transform: ${Ee.textTransform};
152
+ font-family: ${Qt.fontFamily};
153
+ font-size: ${Qt.fontSize};
154
+ font-weight: ${Qt.fontWeight};
155
+ letter-spacing: ${Qt.letterSpacing};
156
+ line-height: ${Qt.lineHeight};
157
+ text-transform: ${Qt.textTransform};
236
158
  }
237
159
 
238
- `,ri=Rt.css`
160
+ `,Ol=ke.css`
239
161
  .ft-typography--body1 {
240
- font-family: ${Re.fontFamily};
241
- font-size: ${Re.fontSize};
242
- font-weight: ${Re.fontWeight};
243
- letter-spacing: ${Re.letterSpacing};
244
- line-height: ${Re.lineHeight};
245
- text-transform: ${Re.textTransform};
246
- }
247
- `,Eo=Rt.css`
162
+ font-family: ${Jt.fontFamily};
163
+ font-size: ${Jt.fontSize};
164
+ font-weight: ${Jt.fontWeight};
165
+ letter-spacing: ${Jt.letterSpacing};
166
+ line-height: ${Jt.lineHeight};
167
+ text-transform: ${Jt.textTransform};
168
+ }
169
+ `,mo=ke.css`
248
170
  .ft-typography--body2 {
249
- font-family: ${Ae.fontFamily};
250
- font-size: ${Ae.fontSize};
251
- font-weight: ${Ae.fontWeight};
252
- letter-spacing: ${Ae.letterSpacing};
253
- line-height: ${Ae.lineHeight};
254
- text-transform: ${Ae.textTransform};
255
- }
256
- `,ni=Rt.css`
171
+ font-family: ${er.fontFamily};
172
+ font-size: ${er.fontSize};
173
+ font-weight: ${er.fontWeight};
174
+ letter-spacing: ${er.letterSpacing};
175
+ line-height: ${er.lineHeight};
176
+ text-transform: ${er.textTransform};
177
+ }
178
+ `,Cl=ke.css`
257
179
  .ft-typography--caption {
258
- font-family: ${we.fontFamily};
259
- font-size: ${we.fontSize};
260
- font-weight: ${we.fontWeight};
261
- letter-spacing: ${we.letterSpacing};
262
- line-height: ${we.lineHeight};
263
- text-transform: ${we.textTransform};
264
- }
265
- `,ii=Rt.css`
180
+ font-family: ${tr.fontFamily};
181
+ font-size: ${tr.fontSize};
182
+ font-weight: ${tr.fontWeight};
183
+ letter-spacing: ${tr.letterSpacing};
184
+ line-height: ${tr.lineHeight};
185
+ text-transform: ${tr.textTransform};
186
+ }
187
+ `,El=ke.css`
266
188
  .ft-typography--breadcrumb {
267
- font-family: ${Ne.fontFamily};
268
- font-size: ${Ne.fontSize};
269
- font-weight: ${Ne.fontWeight};
270
- letter-spacing: ${Ne.letterSpacing};
271
- line-height: ${Ne.lineHeight};
272
- text-transform: ${Ne.textTransform};
273
- }
274
- `,ai=Rt.css`
189
+ font-family: ${rr.fontFamily};
190
+ font-size: ${rr.fontSize};
191
+ font-weight: ${rr.fontWeight};
192
+ letter-spacing: ${rr.letterSpacing};
193
+ line-height: ${rr.lineHeight};
194
+ text-transform: ${rr.textTransform};
195
+ }
196
+ `,wl=ke.css`
275
197
  .ft-typography--overline {
276
- font-family: ${Le.fontFamily};
277
- font-size: ${Le.fontSize};
278
- font-weight: ${Le.fontWeight};
279
- letter-spacing: ${Le.letterSpacing};
280
- line-height: ${Le.lineHeight};
281
- text-transform: ${Le.textTransform};
282
- }
283
- `,si=Rt.css`
198
+ font-family: ${or.fontFamily};
199
+ font-size: ${or.fontSize};
200
+ font-weight: ${or.fontWeight};
201
+ letter-spacing: ${or.letterSpacing};
202
+ line-height: ${or.lineHeight};
203
+ text-transform: ${or.textTransform};
204
+ }
205
+ `,Al=ke.css`
284
206
  .ft-typography--button {
285
- font-family: ${_t.fontFamily};
286
- font-size: ${_t.fontSize};
287
- font-weight: ${_t.fontWeight};
288
- letter-spacing: ${_t.letterSpacing};
289
- line-height: ${_t.lineHeight};
290
- text-transform: ${_t.textTransform};
291
- }
292
- `,li=Rt.css`
207
+ font-family: ${Ke.fontFamily};
208
+ font-size: ${Ke.fontSize};
209
+ font-weight: ${Ke.fontWeight};
210
+ letter-spacing: ${Ke.letterSpacing};
211
+ line-height: ${Ke.lineHeight};
212
+ text-transform: ${Ke.textTransform};
213
+ }
214
+ `,Rl=ke.css`
293
215
  .ft-typography {
294
216
  vertical-align: inherit;
295
217
  }
296
- `,ci=[Object.keys(Co).map(o=>Xn(o))];var pi=f(E()),qe=f(v()),ft={color:qe.FtCssVariableFactory.extend("--ft-loader-color","",qe.designSystemVariables.colorPrimary),size:qe.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},di=pi.css`
218
+ `,Nl=[Object.keys(fo).map(t=>ml(t))]});var Pl,Tr,xe,Tl,Ir=f(()=>{"use strict";Pl=y(k()),Tr=y(A()),xe={color:Tr.FtCssVariableFactory.extend("--ft-loader-color","",Tr.designSystemVariables.colorPrimary),size:Tr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tl=Pl.css`
297
219
  :host {
298
220
  line-height: 0;
299
221
  }
@@ -302,8 +224,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
302
224
  display: inline-block;
303
225
  position: relative;
304
226
 
305
- width: ${ft.size};
306
- height: ${ft.size};
227
+ width: ${xe.size};
228
+ height: ${xe.size};
307
229
  }
308
230
 
309
231
  .ft-loader div {
@@ -312,7 +234,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
312
234
  width: 25%;
313
235
  height: 25%;
314
236
  border-radius: 50%;
315
- background: ${ft.color};
237
+ background: ${xe.color};
316
238
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
317
239
  }
318
240
 
@@ -359,10 +281,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
359
281
  transform: translate(0, 0);
360
282
  }
361
283
  100% {
362
- transform: translate(calc(0.35 * ${ft.size}), 0);
284
+ transform: translate(calc(0.35 * ${xe.size}), 0);
363
285
  }
364
286
  }
365
- `;var fi=f(E()),zt=f(v()),ut={size:zt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:zt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",zt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:zt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ui=fi.css`
287
+ `});var Il,it,ve,Ll,Lr=f(()=>{"use strict";Il=y(k()),it=y(A()),ve={size:it.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:it.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:it.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:it.FtCssVariableFactory.extend("--ft-icon-material-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:it.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ll=Il.css`
366
288
  :host, i.ft-icon {
367
289
  display: inline-flex;
368
290
  align-items: center;
@@ -371,14 +293,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
371
293
  }
372
294
 
373
295
  :host {
374
- width: ${ut.size};
375
- height: ${ut.size};
296
+ width: ${ve.size};
297
+ height: ${ve.size};
376
298
  }
377
299
 
378
300
  i.ft-icon {
379
301
  width: 100%;
380
302
  height: 100%;
381
- font-size: ${ut.size};
303
+ font-size: ${ve.size};
382
304
  line-height: 1;
383
305
  font-weight: normal;
384
306
  text-transform: none;
@@ -389,28 +311,28 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
389
311
  text-rendering: auto;
390
312
  -webkit-font-smoothing: antialiased;
391
313
  -moz-osx-font-smoothing: grayscale;
392
- vertical-align: ${ut.verticalAlign};
314
+ vertical-align: ${ve.verticalAlign};
393
315
  }
394
316
 
395
317
  i.ft-icon.ft-icon--fluid-topics {
396
- font-family: ${ut.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
318
+ font-family: ${ve.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
397
319
 
398
320
  /* Ugly fix because font is broken */
399
- font-size: calc(0.75 * ${ut.size});
400
- line-height: ${ut.size};
321
+ font-size: calc(0.75 * ${ve.size});
322
+ line-height: ${ve.size};
401
323
  position: relative;
402
324
  top: -4%;
403
325
  justify-content: center;
404
326
  }
405
327
 
406
328
  .ft-icon--file-format {
407
- font-family: ${ut.fileFormatFontFamily}, ft-mime, sans-serif;
329
+ font-family: ${ve.fileFormatFontFamily}, ft-mime, sans-serif;
408
330
  }
409
331
 
410
332
  .ft-icon--material {
411
- font-family: ${ut.materialFontFamily}, "Material Icons", sans-serif;
333
+ font-family: ${ve.materialFontFamily}, "Material Icons", sans-serif;
412
334
  }
413
- `;var hi=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),G={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:hi,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",_t.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",hi),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},mi=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),fr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:mi,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",mi)},kt={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},yi=[gi.css`
335
+ `});var Dl,B,_l,te,kl,Dn,Ze,Ml,Mn=f(()=>{"use strict";Dl=y(k()),B=y(A());kt();yo();Ir();Lr();_l=B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorPrimary),te={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorSurface),borderRadius:B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusL),color:_l,fontSize:B.FtCssVariableFactory.extend("--ft-button-font-size","",Ke.fontSize),iconSize:B.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:B.FtCssVariableFactory.extend("--ft-button-ripple-color","",_l),verticalPadding:B.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},kl=B.FtCssVariableFactory.extend("--ft-button-primary-color","",B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorOnPrimary)),Dn={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-primary-background-color","",B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorPrimary)),color:kl,rippleColor:B.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",kl)},Ze={borderRadius:B.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusM)),verticalPadding:B.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ml=[Dl.css`
414
336
  :host {
415
337
  display: inline-block;
416
338
  max-width: 100%;
@@ -421,7 +343,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
421
343
  box-shadow: 0px 0px 0px transparent;
422
344
  border: 0px solid transparent;
423
345
  text-shadow: 0px 0px 0px transparent;
424
- font-size: ${G.fontSize};
346
+ font-size: ${te.fontSize};
425
347
  }
426
348
 
427
349
  button:hover {
@@ -450,31 +372,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
450
372
  border: none;
451
373
  pointer-events: auto;
452
374
 
453
- --ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
454
- --ft-button-internal-color: ${G.color};
455
- ${(0,A.setVariable)(ut.size,G.iconSize)};
456
- ${(0,A.setVariable)(L.color,G.rippleColor)};
375
+ --ft-button-internal-line-height: max(calc(${te.fontSize} + 2px), ${te.iconSize});
376
+ --ft-button-internal-color: ${te.color};
377
+ ${(0,B.setVariable)(ve.size,te.iconSize)};
378
+ ${(0,B.setVariable)(U.color,te.rippleColor)};
457
379
 
458
- border-radius: ${G.borderRadius};
459
- padding: ${G.verticalPadding} ${G.horizontalPadding};
460
- background-color: ${G.backgroundColor};
380
+ border-radius: ${te.borderRadius};
381
+ padding: ${te.verticalPadding} ${te.horizontalPadding};
382
+ background-color: ${te.backgroundColor};
461
383
  color: var(--ft-button-internal-color);
462
384
  -webkit-mask-image: radial-gradient(white, black);
463
385
  }
464
386
 
465
387
  .ft-button.ft-button--outlined {
466
388
  border: 1px solid var(--ft-button-internal-color);
467
- padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
389
+ padding: calc(${te.verticalPadding} - 1px) calc(${te.horizontalPadding} - 1px);
468
390
  }
469
391
 
470
392
  .ft-button.ft-button--dense {
471
- padding: ${kt.verticalPadding} ${kt.horizontalPadding};
472
- border-radius: ${kt.borderRadius};
473
- gap: ${kt.iconPadding};
393
+ padding: ${Ze.verticalPadding} ${Ze.horizontalPadding};
394
+ border-radius: ${Ze.borderRadius};
395
+ gap: ${Ze.iconPadding};
474
396
  }
475
397
 
476
398
  .ft-button.ft-button--dense.ft-button--outlined {
477
- padding: calc(${kt.verticalPadding} - 1px) calc(${kt.horizontalPadding} - 1px);
399
+ padding: calc(${Ze.verticalPadding} - 1px) calc(${Ze.horizontalPadding} - 1px);
478
400
  }
479
401
 
480
402
  .ft-button:not([disabled]):hover {
@@ -482,22 +404,22 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
482
404
  }
483
405
 
484
406
  .ft-button--round {
485
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
407
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te.verticalPadding});
486
408
  }
487
409
 
488
410
  .ft-button--round.ft-button--dense {
489
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${kt.verticalPadding});
411
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ze.verticalPadding});
490
412
  }
491
413
 
492
414
  .ft-button[disabled] {
493
415
  filter: grayscale(1);
494
- opacity: ${G.opacityDisabled};
416
+ opacity: ${te.opacityDisabled};
495
417
  }
496
418
 
497
419
  .ft-button.ft-button--primary {
498
- background-color: ${fr.backgroundColor};
499
- --ft-button-internal-color: ${fr.color};
500
- ${(0,A.setVariable)(L.color,fr.rippleColor)};
420
+ background-color: ${Dn.backgroundColor};
421
+ --ft-button-internal-color: ${Dn.color};
422
+ ${(0,B.setVariable)(U.color,Dn.rippleColor)};
501
423
  }
502
424
 
503
425
  .ft-button:focus {
@@ -510,13 +432,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
510
432
  white-space: nowrap;
511
433
  text-overflow: ellipsis;
512
434
  display: block;
513
- margin: 0 ${G.iconPadding};
514
- ${(0,A.setVariable)(_t.fontSize,"1em")};
515
- ${(0,A.setVariable)(_t.lineHeight,"var(--ft-button-internal-line-height)")};
435
+ margin: 0 ${te.iconPadding};
436
+ ${(0,B.setVariable)(Ke.fontSize,"1em")};
437
+ ${(0,B.setVariable)(Ke.lineHeight,"var(--ft-button-internal-line-height)")};
516
438
  }
517
439
 
518
440
  .ft-button--dense .ft-button--label {
519
- margin: 0 ${kt.iconPadding};
441
+ margin: 0 ${Ze.iconPadding};
520
442
  }
521
443
 
522
444
  .ft-button--label[hidden] {
@@ -529,13 +451,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
529
451
  }
530
452
 
531
453
  .ft-button--label[hidden] + [part="icon"] {
532
- margin: 0 calc(${G.horizontalPadding} * -1);
533
- padding: 0 ${G.verticalPadding};
454
+ margin: 0 calc(${te.horizontalPadding} * -1);
455
+ padding: 0 ${te.verticalPadding};
534
456
  }
535
457
 
536
458
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
537
- margin: 0 calc(${kt.horizontalPadding} * -1);
538
- padding: 0 ${kt.verticalPadding};
459
+ margin: 0 calc(${Ze.horizontalPadding} * -1);
460
+ padding: 0 ${Ze.verticalPadding};
539
461
  }
540
462
 
541
463
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -543,31 +465,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
543
465
  }
544
466
 
545
467
  ft-loader {
546
- ${(0,A.setVariable)(ft.size,G.iconSize)};
547
- ${(0,A.setVariable)(ft.color,"var(--ft-button-internal-color)")};
468
+ ${(0,B.setVariable)(xe.size,te.iconSize)};
469
+ ${(0,B.setVariable)(xe.color,"var(--ft-button-internal-color)")};
548
470
  }
549
- `,A.noTextSelect];var $e=f(v());var vi=f(v());var xi=f(E()),nt=f(Z()),Si=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 xi.html`
471
+ `,B.noTextSelect]});var _r=Lt((Yb,Bl)=>{Bl.exports=ftGlobals.litClassMap});var Ul,pe,$l,kr,Se,Y,Bn=f(()=>{"use strict";Ul=y(k()),pe=y(X()),$l=y(_r()),kr=y(A());kt();Se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Y=class extends kr.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 kr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new kr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 Ul.html`
550
472
  <style>
551
473
  .ft-ripple .ft-ripple--effect {
552
474
  left: ${this.originX}px;
553
475
  top: ${this.originY}px;
554
476
  }
555
477
  </style>
556
- <div class="${(0,Si.classMap)(t)}">
478
+ <div class="${(0,$l.classMap)(e)}">
557
479
  <div class="ft-ripple--background"></div>
558
480
  <div class="ft-ripple--effect"></div>
559
481
  </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)},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,vi.customElement)("ft-ripple")(U);var ha=f(v());var ua=f(E()),Q=f(Z()),so=f(v());var Fi=f(v());var xr=globalThis,Ro=xr.trustedTypes,Ci=Ro?Ro.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ni="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,Li="?"+Jt,ml=`<${Li}>`,pe=document,Ao=()=>pe.createComment(""),Je=o=>o===null||typeof o!="object"&&typeof o!="function",Ii=Array.isArray,gl=o=>Ii(o)||typeof o?.[Symbol.iterator]=="function",ur=`[
561
- \f\r]`,Qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Oi=/-->/g,Ei=/>/g,le=RegExp(`>|${ur}(?:([^\\s"'>=/]+)(${ur}*=${ur}*(?:[^
562
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ri=/'/g,Ai=/"/g,Ti=/^(?:script|style|textarea|title)$/i,Pi=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),_i=Pi(1),ki=Pi(2),to=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),wi=new WeakMap,ce=pe.createTreeWalker(pe,129);function Bi(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ci!==void 0?Ci.createHTML(t):t}var yl=(o,t)=>{let r=o.length-1,n=[],i,a=t===2?"<svg>":"",l=Qe;for(let c=0;c<r;c++){let u=o[c],h,b,S=-1,I=0;for(;I<u.length&&(l.lastIndex=I,b=l.exec(u),b!==null);)I=l.lastIndex,l===Qe?b[1]==="!--"?l=Oi:b[1]!==void 0?l=Ei:b[2]!==void 0?(Ti.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]==='"'?Ai:Ri):l===Ai||l===Ri?l=le:l===Oi||l===Ei?l=Qe:(l=le,i=void 0);let w=l===le&&o[c+1].startsWith("/>")?" ":"";a+=l===Qe?u+ml:S>=0?(n.push(h),u.slice(0,S)+Ni+u.slice(S)+Jt+w):u+Jt+(S===-2?c:w)}return[Bi(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,c=t.length-1,u=this.parts,[h,b]=yl(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(Ni)){let I=b[l++],w=i.getAttribute(S).split(Jt),P=/([.?@])?(.*)/.exec(I);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(Ti.test(i.tagName)){let S=i.textContent.split(Jt),I=S.length-1;if(I>0){i.textContent=Ro?Ro.emptyScript:"";for(let w=0;w<I;w++)i.append(S[w],Ao()),ce.nextNode(),u.push({type:2,index:++a});i.append(S[I],Ao())}}}else if(i.nodeType===8)if(i.data===Li)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 Ie(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=Ie(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,c=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[++c]}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=Ie(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):gl(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(Bi(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=wi.get(t.strings);return r===void 0&&wi.set(t.strings,r=new eo(t)),r}T(t){Ii(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=Ie(this,t,r,0),l=!Je(t)||t!==this._$AH&&t!==to,l&&(this._$AH=t);else{let c=t,u,h;for(t=a[0],u=0;u<a.length-1;u++)h=Ie(this,c[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=Ie(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){Ie(this,t)}};var bl=xr.litHtmlPolyfillSupport;bl?.(eo,wo),(xr.litHtmlVersions??=[]).push("3.1.0");var Ui=Symbol.for(""),xl=o=>{if(o?.r===Ui)return o?._$litStatic$},Sr=o=>({_$litStatic$:o,r:Ui});var $i=new Map,Di=o=>(t,...r)=>{let n=r.length,i,a,l=[],c=[],u,h=0,b=!1;for(;h<n;){for(u=t[h];h<n&&(a=r[h],(i=xl(a))!==void 0);)u+=i+t[++h],b=!0;h!==n&&c.push(a),l.push(u),h++}if(h===n&&l.push(t[n]),b){let S=l.join("$$lit$$");(t=$i.get(S))===void 0&&(l.raw=l,$i.set(S,t=l)),r=c}return o(t,...r)},vr=Di(_i),Jf=Di(ki);var Cr=f(Z()),Wi=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 Mi=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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},W=class extends Wi.FtLitElement{constructor(){super(...arguments),this.variant=de.body1}render(){return this.element?vr`
563
- <${Sr(this.element)}
482
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=ds;Se([(0,pe.property)({type:Boolean})],Y.prototype,"primary",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"secondary",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"unbounded",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"activated",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"selected",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"disabled",void 0);Se([(0,pe.state)()],Y.prototype,"hovered",void 0);Se([(0,pe.state)()],Y.prototype,"focused",void 0);Se([(0,pe.state)()],Y.prototype,"pressed",void 0);Se([(0,pe.state)()],Y.prototype,"rippling",void 0);Se([(0,pe.state)()],Y.prototype,"originX",void 0);Se([(0,pe.state)()],Y.prototype,"originY",void 0);Se([(0,pe.query)(".ft-ripple")],Y.prototype,"ripple",void 0);Se([(0,pe.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0)});var Fl=f(()=>{"use strict"});var Wl,go=f(()=>{"use strict";Wl=y(A());Bn();Bn();kt();Fl();(0,Wl.customElement)("ft-ripple")(Y)});function tc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return zl!==void 0?zl.createHTML(e):e}function nr(t,e,o=t,n){if(e===Br)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Mr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=nr(t,i._$AS(t,e.values),i,n)),e}var jn,bo,zl,Zl,mt,ql,kf,Bt,xo,Mr,Yl,Df,Un,Dr,Hl,jl,Dt,Vl,Gl,Xl,Ql,Jl,ec,Br,ae,Kl,Mt,Mf,Ur,$n,vo,ir,Fn,Wn,zn,Hn,Bf,Vn=f(()=>{jn=globalThis,bo=jn.trustedTypes,zl=bo?bo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Zl="$lit$",mt=`lit$${(Math.random()+"").slice(9)}$`,ql="?"+mt,kf=`<${ql}>`,Bt=document,xo=()=>Bt.createComment(""),Mr=t=>t===null||typeof t!="object"&&typeof t!="function",Yl=Array.isArray,Df=t=>Yl(t)||typeof t?.[Symbol.iterator]=="function",Un=`[
483
+ \f\r]`,Dr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Hl=/-->/g,jl=/>/g,Dt=RegExp(`>|${Un}(?:([^\\s"'>=/]+)(${Un}*=${Un}*(?:[^
484
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Vl=/'/g,Gl=/"/g,Xl=/^(?:script|style|textarea|title)$/i,Ql=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jl=Ql(1),ec=Ql(2),Br=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Kl=new WeakMap,Mt=Bt.createTreeWalker(Bt,129);Mf=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Dr;for(let c=0;c<o;c++){let d=t[c],p,h,g=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===Dr?h[1]==="!--"?s=Hl:h[1]!==void 0?s=jl:h[2]!==void 0?(Xl.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Dt):h[3]!==void 0&&(s=Dt):s===Dt?h[0]===">"?(s=i??Dr,g=-1):h[1]===void 0?g=-2:(g=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Dt:h[3]==='"'?Gl:Vl):s===Gl||s===Vl?s=Dt:s===Hl||s===jl?s=Dr:(s=Dt,i=void 0);let v=s===Dt&&t[c+1].startsWith("/>")?" ":"";a+=s===Dr?d+kf:g>=0?(n.push(p),d.slice(0,g)+Zl+d.slice(g)+mt+v):d+mt+(g===-2?c:v)}return[tc(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Ur=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[p,h]=Mf(e,o);if(this.el=t.createElement(p,n),Mt.currentNode=this.el.content,o===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=Mt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(Zl)){let b=h[s++],v=i.getAttribute(g).split(mt),x=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:x[2],strings:v,ctor:x[1]==="."?Fn:x[1]==="?"?Wn:x[1]==="@"?zn:ir}),i.removeAttribute(g)}else g.startsWith(mt)&&(d.push({type:6,index:a}),i.removeAttribute(g));if(Xl.test(i.tagName)){let g=i.textContent.split(mt),b=g.length-1;if(b>0){i.textContent=bo?bo.emptyScript:"";for(let v=0;v<b;v++)i.append(g[v],xo()),Mt.nextNode(),d.push({type:2,index:++a});i.append(g[b],xo())}}}else if(i.nodeType===8)if(i.data===ql)d.push({type:2,index:a});else{let g=-1;for(;(g=i.data.indexOf(mt,g+1))!==-1;)d.push({type:7,index:a}),g+=mt.length-1}a++}}static createElement(e,o){let n=Bt.createElement("template");return n.innerHTML=e,n}};$n=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Bt).importNode(o,!0);Mt.currentNode=i;let a=Mt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new vo(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Hn(a,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=Mt.nextNode(),s++)}return Mt.currentNode=Bt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},vo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=nr(this,e,o),Mr(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Br&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Df(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&Mr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Bt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ur.createElement(tc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new $n(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Kl.get(e.strings);return o===void 0&&Kl.set(e.strings,o=new Ur(e)),o}T(e){Yl(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(xo()),this.k(xo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ir=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=o,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=ae}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=nr(this,e,o,0),s=!Mr(e)||e!==this._$AH&&e!==Br,s&&(this._$AH=e);else{let c=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=nr(this,c[n+d],o,d),p===Br&&(p=this._$AH[d]),s||=!Mr(p)||p!==this._$AH[d],p===ae?e=ae:e!==ae&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Fn=class extends ir{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Wn=class extends ir{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},zn=class extends ir{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=nr(this,e,o,0)??ae)===Br)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Hn=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){nr(this,e)}},Bf=jn.litHtmlPolyfillSupport;Bf?.(Ur,vo),(jn.litHtmlVersions??=[]).push("3.1.0")});var oc,Uf,Gn,rc,nc,Kn,ax,ic=f(()=>{Vn();oc=Symbol.for(""),Uf=t=>{if(t?.r===oc)return t?._$litStatic$},Gn=t=>({_$litStatic$:t,r:oc}),rc=new Map,nc=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=o[p],(i=Uf(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let g=s.join("$$lit$$");(e=rc.get(g))===void 0&&(s.raw=s,rc.set(g,e=s)),o=c}return t(e,...o)},Kn=nc(Jl),ax=nc(ec)});var ac=f(()=>{ic()});var Ut,So=f(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ut||(Ut={}))});var Zn,lc,sc,oe,qn=f(()=>{"use strict";ac();Zn=y(X()),lc=y(A());So();yo();sc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends lc.FtLitElement{constructor(){super(...arguments),this.variant=Ut.body1}render(){return this.element?Kn`
485
+ <${Gn(this.element)}
564
486
  part="text"
565
487
  class="ft-typography ft-typography--${this.variant}">
566
488
  <slot></slot>
567
- </${Sr(this.element)}>
568
- `:vr`
489
+ </${Gn(this.element)}>
490
+ `:Kn`
569
491
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
570
- `}};W.styles=[Jn,ti,ei,oi,ri,Eo,ni,ii,ai,si,li,...ci];Mi([(0,Cr.property)()],W.prototype,"element",void 0);Mi([(0,Cr.property)()],W.prototype,"variant",void 0);(0,Fi.customElement)("ft-typography")(W);var Hi=f(E()),Gt=f(v()),te={distance:Gt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Gt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Gt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Gt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Gt.FtCssVariableFactory.external(Gt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Gt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},zi=Hi.css`
492
+ `}};oe.styles=[bl,xl,vl,Sl,Ol,mo,Cl,El,wl,Al,Rl,...Nl];sc([(0,Zn.property)()],oe.prototype,"element",void 0);sc([(0,Zn.property)()],oe.prototype,"variant",void 0)});var cc,at=f(()=>{"use strict";cc=y(A());qn();qn();yo();So();(0,cc.customElement)("ft-typography")(oe)});var uc,st,yt,dc,Yn=f(()=>{"use strict";uc=y(k()),st=y(A()),yt={distance:st.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:st.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:st.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:st.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:st.FtCssVariableFactory.external(st.designSystemVariables.borderRadiusS,"Design system"),maxWidth:st.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},dc=uc.css`
571
493
  .ft-tooltip--container {
572
494
  display: block;
573
495
  }
@@ -582,21 +504,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
582
504
  box-sizing: border-box;
583
505
  overflow: hidden;
584
506
  width: max-content;
585
- max-width: ${te.maxWidth};
507
+ max-width: ${yt.maxWidth};
586
508
  text-align: center;
587
- padding: ${te.distance};
588
- z-index: ${te.zIndex};
509
+ padding: ${yt.distance};
510
+ z-index: ${yt.zIndex};
589
511
  }
590
512
 
591
513
  .ft-tooltip--content {
592
514
  padding: 4px 8px;
593
- border-radius: ${te.borderRadiusS};
594
- background-color: ${te.backgroundColor};
595
- color: ${te.color};
515
+ border-radius: ${yt.borderRadiusS};
516
+ background-color: ${yt.backgroundColor};
517
+ color: ${yt.color};
596
518
  position: relative;
597
519
  word-break: break-word;
598
520
  }
599
- `;var Ki=["top","right","bottom","left"],Gi=["start","end"],Er=Ki.reduce((o,t)=>o.concat(t,t+"-"+Gi[0],t+"-"+Gi[1]),[]),oo=Math.min,ee=Math.max,ro=Math.round;var Kt=o=>({x:o,y:o}),Sl={left:"right",right:"left",bottom:"top",top:"bottom"},vl={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 Lo(o){return["top","bottom"].includes(Pe(o))?"y":"x"}function Nr(o){return Ar(Lo(o))}function Vi(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 Zi(o){return o.replace(/start|end/g,t=>vl[t])}function Or(o){return o.replace(/left|right|bottom|top/g,t=>Sl[t])}function Cl(o){return{top:0,right:0,bottom:0,left:0,...o}}function ji(o){return typeof o!="number"?Cl(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 qi(o,t,r){let{reference:n,floating:i}=o,a=Lo(t),l=Nr(t),c=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,I=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[l]-=I*(r&&h?-1:1);break;case"end":w[l]+=I*(r&&h?-1:1);break}return w}var Yi=async(o,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:l}=r,c=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}=qi(h,n,u),I=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:I,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&&(I=J.placement),J.rects&&(h=J.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:i}):J.rects),{x:b,y:S}=qi(h,I,u)),H=-1;continue}}return{x:b,y:S,placement:I,strategy:i,middlewareData:w}};async function Lr(o,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:l,elements:c,strategy:u}=o,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:I=!1,padding:w=0}=No(t,o),P=ji(w),z=c[I?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"?{...l.floating,x:n,y:i}:l.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 Ol(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?Zi(i)!==i:!1):!0)}var Ir=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,i;let{rects:a,middlewareData:l,placement:c,platform:u,elements:h}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:I=Er,autoAlignment:w=!0,...P}=No(o,t),H=S!==void 0||I===Er?Ol(S||null,w,I):I,z=await Lr(t,P),M=((r=l.autoPlacement)==null?void 0:r.index)||0,V=H[M];if(V==null)return{};let ot=Vi(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=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!==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:l=!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 Lr(t,u),S=Lo(Pe(i)),I=Ar(S),w=h[I],P=h[S];if(a){let z=I==="y"?"top":"left",M=I==="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=c.fn({...t,[I]:w,[S]:P});return{...H,data:{x:H.x-r,y:H.y-n}}}}};function Vt(o){return Qi(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=(Qi(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Qi(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 Xi(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 Ji(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 ta(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||Xi(o)&&o.host||Zt(o);return Xi(t)?t.host:t}function ea(o){let t=ue(o);return no(t)?o.ownerDocument?o.ownerDocument.body:o.body:Nt(t)&&_e(t)?t:ea(t)}function Io(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=ea(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?Io(l.frameElement):[]):t.concat(i,Io(i,[],r))}function na(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,c=ro(r)!==a||ro(n)!==l;return c&&(r=a,n=l),{width:r,height:n,$:c}}function ia(o){return Bt(o)?o:o.contextElement}function ke(o){let t=ia(o);if(!Nt(t))return Kt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=na(t),l=(a?ro(r.width):r.width)/n,c=(a?ro(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var El=Kt(0);function aa(o){let t=mt(o);return!Po()||!t.visualViewport?El:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rl(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=ia(o),l=Kt(1);t&&(n?Bt(n)&&(l=ke(n)):l=ke(o));let c=Rl(a,r,n)?aa(a):Kt(0),u=(i.left+c.x)/l.x,h=(i.top+c.y)/l.y,b=i.width/l.x,S=i.height/l.y;if(a){let I=mt(a),w=n&&Bt(n)?mt(n):n,P=I.frameElement;for(;P&&n&&w!==I;){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 Al(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},c=Kt(1),u=Kt(0);if((i||!i&&n!=="fixed")&&((Vt(r)!=="body"||_e(a))&&(l=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-l.scrollLeft*c.x+u.x,y:t.y*c.y-l.scrollTop*c.y+u.y}}function wl(o){return Array.from(o.getClientRects())}function sa(o){return ao(Zt(o)).left+io(o).scrollLeft}function Nl(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+sa(o),c=-r.scrollTop;return vt(n).direction==="rtl"&&(l+=ee(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:c}}function Ll(o,t){let r=mt(o),n=Zt(o),i=r.visualViewport,a=n.clientWidth,l=n.clientHeight,c=0,u=0;if(i){a=i.width,l=i.height;let h=Po();(!h||h&&t==="fixed")&&(c=i.offsetLeft,u=i.offsetTop)}return{width:a,height:l,x:c,y:u}}function Il(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,c=o.clientHeight*a.y,u=i*a.x,h=n*a.y;return{width:l,height:c,x:u,y:h}}function oa(o,t,r){let n;if(t==="viewport")n=Ll(o,r);else if(t==="document")n=Nl(Zt(o));else if(Bt(t))n=Il(t,r);else{let i=aa(o);n={...t,x:t.x-i.x,y:t.y-i.y}}return fe(n)}function la(o,t){let r=ue(o);return r===t||!Bt(r)||no(r)?!1:vt(r).position==="fixed"||la(r,t)}function Tl(o,t){let r=t.get(o);if(r)return r;let n=Io(o,[],!1).filter(c=>Bt(c)&&Vt(c)!=="body"),i=null,a=vt(o).position==="fixed",l=a?ue(o):o;for(;Bt(l)&&!no(l);){let c=vt(l),u=To(l);!u&&c.position==="fixed"&&(i=null),(a?!u&&!i:!u&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||_e(l)&&!u&&la(o,l))?n=n.filter(b=>b!==l):i=c,l=ue(l)}return t.set(o,n),n}function Pl(o){let{element:t,boundary:r,rootBoundary:n,strategy:i}=o,l=[...r==="clippingAncestors"?Tl(t,this._c):[].concat(r),n],c=l[0],u=l.reduce((h,b)=>{let S=oa(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},oa(t,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function _l(o){return na(o)}function kl(o,t,r){let n=Nt(t),i=Zt(t),a=r==="fixed",l=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=sa(i));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ra(o,t){return!Nt(o)||vt(o).position==="fixed"?null:t?t(o):o.offsetParent}function ca(o,t){let r=mt(o);if(!Nt(o))return r;let n=ra(o,t);for(;n&&Ji(n)&&vt(n).position==="static";)n=ra(n,t);return n&&(Vt(n)==="html"||Vt(n)==="body"&&vt(n).position==="static"&&!To(n))?r:n||ta(o)||r}var Bl=async function(o){let{reference:t,floating:r,strategy:n}=o,i=this.getOffsetParent||ca,a=this.getDimensions;return{reference:kl(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function $l(o){return vt(o).direction==="rtl"}var _o={convertOffsetParentRelativeRectToViewportRelativeRect:Al,getDocumentElement:Zt,getClippingRect:Pl,getOffsetParent:ca,getElementRects:Bl,getClientRects:wl,getDimensions:_l,getScale:ke,isElement:Bt,isRTL:$l};var pa=(o,t,r)=>{let n=new Map,i={platform:_o,...r},a={...i.platform,_c:n};return Yi(o,t,{...i,platform:a})};function da(o){return Ul(o)}function Pr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Ul(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 fa(o,t,r){return pa(o,t,{platform:{..._o,getOffsetParent:n=>_o.getOffsetParent(n,da)},middleware:[Tr({crossAxis:!0}),Ir({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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 ua.html`
521
+ `});function Jn(t,e,o){return gt(t,$r(e,o))}function Oo(t,e){return typeof t=="function"?t(e):t}function ar(t){return t.split("-")[0]}function bt(t){return t.split("-")[1]}function ei(t){return t==="x"?"y":"x"}function ti(t){return t==="y"?"height":"width"}function Co(t){return["top","bottom"].includes(ar(t))?"y":"x"}function ri(t){return ei(Co(t))}function hc(t,e,o){o===void 0&&(o=!1);let n=bt(t),i=ri(t),a=ti(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Xn(s)),[s,Xn(s)]}function mc(t){return t.replace(/start|end/g,e=>Ff[e])}function Xn(t){return t.replace(/left|right|bottom|top/g,e=>$f[e])}function Wf(t){return{top:0,right:0,bottom:0,left:0,...t}}function yc(t){return typeof t!="number"?Wf(t):{top:t,right:t,bottom:t,left:t}}function $t(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var fc,pc,Qn,$r,gt,Fr,lt,$f,Ff,Eo=f(()=>{fc=["top","right","bottom","left"],pc=["start","end"],Qn=fc.reduce((t,e)=>t.concat(e,e+"-"+pc[0],e+"-"+pc[1]),[]),$r=Math.min,gt=Math.max,Fr=Math.round,lt=t=>({x:t,y:t}),$f={left:"right",right:"left",bottom:"top",top:"bottom"},Ff={start:"end",end:"start"}});function gc(t,e,o){let{reference:n,floating:i}=t,a=Co(e),s=ri(e),c=ti(s),d=ar(e),p=a==="y",h=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,b=n[c]/2-i[c]/2,v;switch(d){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-i.width,y:g};break;default:v={x:n.x,y:n.y}}switch(bt(e)){case"start":v[s]-=b*(o&&p?-1:1);break;case"end":v[s]+=b*(o&&p?-1:1);break}return v}async function oi(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:b=!1,padding:v=0}=Oo(e,t),x=yc(v),P=c[b?g==="floating"?"reference":"floating":g],R=$t(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(P)))==null||o?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),N=g==="floating"?{...s.floating,x:n,y:i}:s.reference,M=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),_=await(a.isElement==null?void 0:a.isElement(M))?await(a.getScale==null?void 0:a.getScale(M))||{x:1,y:1}:{x:1,y:1},G=$t(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:M,strategy:d}):N);return{top:(R.top-G.top+x.top)/_.y,bottom:(G.bottom-R.bottom+x.bottom)/_.y,left:(R.left-G.left+x.left)/_.x,right:(G.right-R.right+x.right)/_.x}}function zf(t,e,o){return(t?[...o.filter(i=>bt(i)===t),...o.filter(i=>bt(i)!==t)]:o.filter(i=>ar(i)===i)).filter(i=>t?bt(i)===t||(e?mc(i)!==i:!1):!0)}var bc,ni,ii,ai=f(()=>{Eo();Eo();bc=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:g}=gc(p,n,d),b=n,v={},x=0;for(let O=0;O<c.length;O++){let{name:P,fn:R}=c[O],{x:N,y:M,data:_,reset:G}=await R({x:h,y:g,initialPlacement:n,placement:b,strategy:i,middlewareData:v,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=N??h,g=M??g,v={...v,[P]:{...v[P],..._}},G&&x<=50){x++,typeof G=="object"&&(G.placement&&(b=G.placement),G.rects&&(p=G.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):G.rects),{x:h,y:g}=gc(p,b,d)),O=-1;continue}}return{x:h,y:g,placement:b,strategy:i,middlewareData:v}};ni=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:g,allowedPlacements:b=Qn,autoAlignment:v=!0,...x}=Oo(t,e),O=g!==void 0||b===Qn?zf(g||null,v,b):b,P=await oi(e,x),R=((o=s.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let M=hc(N,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==N)return{reset:{placement:O[0]}};let _=[P[ar(N)],P[M[0]],P[M[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:_}],be=O[R+1];if(be)return{data:{index:R+1,overflows:G},reset:{placement:be}};let le=G.map(m=>{let S=bt(m.placement);return[m.placement,S&&h?m.overflows.slice(0,2).reduce((T,Q)=>T+Q,0):m.overflows[0],m.overflows]}).sort((m,S)=>m[1]-S[1]),_e=((i=le.filter(m=>m[2].slice(0,bt(m[0])?2:3).every(S=>S<=0))[0])==null?void 0:i[0])||le[0][0];return _e!==c?{data:{index:R+1,overflows:G},reset:{placement:_e}}:{}}}},ii=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:P=>{let{x:R,y:N}=P;return{x:R,y:N}}},...d}=Oo(t,e),p={x:o,y:n},h=await oi(e,d),g=Co(ar(i)),b=ei(g),v=p[b],x=p[g];if(a){let P=b==="y"?"top":"left",R=b==="y"?"bottom":"right",N=v+h[P],M=v-h[R];v=Jn(N,v,M)}if(s){let P=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=x+h[P],M=x-h[R];x=Jn(N,x,M)}let O=c.fn({...e,[b]:v,[g]:x});return{...O,data:{x:O.x-o,y:O.y-n}}}}}});function ct(t){return vc(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(vc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vc(t){return t instanceof Node||t instanceof Oe(t).Node}function qe(t){return t instanceof Element||t instanceof Oe(t).Element}function Fe(t){return t instanceof HTMLElement||t instanceof Oe(t).HTMLElement}function xc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot}function sr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Sc(t){return["table","td","th"].includes(ct(t))}function Ao(t){let e=Ro(),o=Re(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Oc(t){let e=Ft(t);for(;Fe(e)&&!Wr(e);){if(Ao(e))return e;e=Ft(e)}return null}function Ro(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wr(t){return["html","body","#document"].includes(ct(t))}function Re(t){return Oe(t).getComputedStyle(t)}function zr(t){return qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ft(t){if(ct(t)==="html")return t;let e=t.assignedSlot||t.parentNode||xc(t)&&t.host||ut(t);return xc(e)?e.host:e}function Cc(t){let e=Ft(t);return Wr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Fe(e)&&sr(e)?e:Cc(e)}function wo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Cc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Oe(i);return a?e.concat(s,s.visualViewport||[],sr(i)?i:[],s.frameElement&&o?wo(s.frameElement):[]):e.concat(i,wo(i,[],o))}var Ec=f(()=>{});function Rc(t){let e=Re(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Fe(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=Fr(o)!==a||Fr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Nc(t){return qe(t)?t:t.contextElement}function lr(t){let e=Nc(t);if(!Fe(e))return lt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Rc(e),s=(a?Fr(o.width):o.width)/n,c=(a?Fr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Pc(t){let e=Oe(t);return!Ro()||!e.visualViewport?Hf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jf(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Oe(t)?!1:e}function Hr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Nc(t),s=lt(1);e&&(n?qe(n)&&(s=lr(n)):s=lr(t));let c=jf(a,o,n)?Pc(a):lt(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,g=i.height/s.y;if(a){let b=Oe(a),v=n&&qe(n)?Oe(n):n,x=b.frameElement;for(;x&&n&&v!==b;){let O=lr(x),P=x.getBoundingClientRect(),R=Re(x),N=P.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,M=P.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;d*=O.x,p*=O.y,h*=O.x,g*=O.y,d+=N,p+=M,x=Oe(x).frameElement}}return $t({width:h,height:g,x:d,y:p})}function Vf(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Fe(o),a=ut(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=lt(1),d=lt(0);if((i||!i&&n!=="fixed")&&((ct(o)!=="body"||sr(a))&&(s=zr(o)),Fe(o))){let p=Hr(o);c=lr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Gf(t){return Array.from(t.getClientRects())}function Tc(t){return Hr(ut(t)).left+zr(t).scrollLeft}function Kf(t){let e=ut(t),o=zr(t),n=t.ownerDocument.body,i=gt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=gt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Tc(t),c=-o.scrollTop;return Re(n).direction==="rtl"&&(s+=gt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Zf(t,e){let o=Oe(t),n=ut(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let p=Ro();(!p||p&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function qf(t,e){let o=Hr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Fe(t)?lr(t):lt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:c,x:d,y:p}}function wc(t,e,o){let n;if(e==="viewport")n=Zf(t,o);else if(e==="document")n=Kf(ut(t));else if(qe(e))n=qf(e,o);else{let i=Pc(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return $t(n)}function Ic(t,e){let o=Ft(t);return o===e||!qe(o)||Wr(o)?!1:Re(o).position==="fixed"||Ic(o,e)}function Yf(t,e){let o=e.get(t);if(o)return o;let n=wo(t,[],!1).filter(c=>qe(c)&&ct(c)!=="body"),i=null,a=Re(t).position==="fixed",s=a?Ft(t):t;for(;qe(s)&&!Wr(s);){let c=Re(s),d=Ao(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||sr(s)&&!d&&Ic(t,s))?n=n.filter(h=>h!==s):i=c,s=Ft(s)}return e.set(t,n),n}function Xf(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Yf(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((p,h)=>{let g=wc(e,h,i);return p.top=gt(g.top,p.top),p.right=$r(g.right,p.right),p.bottom=$r(g.bottom,p.bottom),p.left=gt(g.left,p.left),p},wc(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Qf(t){return Rc(t)}function Jf(t,e,o){let n=Fe(e),i=ut(e),a=o==="fixed",s=Hr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=lt(0);if(n||!n&&!a)if((ct(e)!=="body"||sr(i))&&(c=zr(e)),n){let p=Hr(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=Tc(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Ac(t,e){return!Fe(t)||Re(t).position==="fixed"?null:e?e(t):t.offsetParent}function Lc(t,e){let o=Oe(t);if(!Fe(t))return o;let n=Ac(t,e);for(;n&&Sc(n)&&Re(n).position==="static";)n=Ac(n,e);return n&&(ct(n)==="html"||ct(n)==="body"&&Re(n).position==="static"&&!Ao(n))?o:n||Oc(t)||o}function th(t){return Re(t).direction==="rtl"}var Hf,eh,No,_c,kc=f(()=>{ai();ai();Eo();Ec();Hf=lt(0);eh=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Lc,a=this.getDimensions;return{reference:Jf(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};No={convertOffsetParentRelativeRectToViewportRelativeRect:Vf,getDocumentElement:ut,getClippingRect:Xf,getOffsetParent:Lc,getElementRects:eh,getClientRects:Gf,getDimensions:Qf,getScale:lr,isElement:qe,isRTL:th},_c=(t,e,o)=>{let n=new Map,i={platform:No,...o},a={...i.platform,_c:n};return bc(t,e,{...i,platform:a})}});function Dc(t){return rh(t)}function si(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function rh(t){for(let e=t;e;e=si(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=si(t);e;e=si(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var Mc=f(()=>{});async function Bc(t,e,o){return _c(t,e,{platform:{...No,getOffsetParent:n=>No.getOffsetParent(n,Dc)},middleware:[ii({crossAxis:!0}),ni({allowedPlacements:[o]})]})}var Uc=f(()=>{"use strict";kc();Mc()});var $c,ce,jr,Ce,re,li=f(()=>{"use strict";$c=y(k()),ce=y(X()),jr=y(A());at();Yn();Uc();Ce=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends jr.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 jr.Debouncer,this.revealDebouncer=new jr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return $c.html`
600
522
  <div part="container"
601
523
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
602
524
  @mouseenter=${this.onHover}
@@ -614,45 +536,45 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
614
536
  </div>
615
537
  </div>
616
538
  </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="",fa(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":W};K.styles=zi;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,ha.customElement)("ft-tooltip")(K);var xa=f(v());var lo=f(E()),he=f(Z()),ya=f(v()),ba=f(ko());var re;(function(o){o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.BOOKS="&#xe806;",o.MENU="&#xe807;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.HOME="&#xe80b;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.EXPORT="&#xe80f;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.USER="&#xe813;",o.EXTLINK="&#xe814;",o.CALENDAR="&#xe815;",o.OFFLINE="&#xe816;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.STAR_PLAIN="&#xe900;",o.TOPICS="&#xe901;",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.CLOSE="&#xe909;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN="&#xe90f;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_THEME="&#xe911;",o.ADMIN_USERS="&#xe912;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.INFO="&#xe919;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.THIN_ARROW="&#xe921;",o.SIGN_IN="&#xe922;",o.LOGOUT="&#xe923;",o.TRANSLATE="&#xe924;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.ARTICLE="&#xe927;",o.COLUMNS="&#xe928;",o.ANALYTICS="&#xe929;",o.COLLECTIONS="&#xe92a;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.COPY_TO_CLIPBOARD="&#xe930;",o.SHARED_PBK="&#xe931;",o.ATTACHMENTS="&#xe932;",o.STRIPE_ARROW_LEFT="&#xe933;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.FILTERS="&#xe935;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.SAVE="&#xe93a;",o.LOCKER="&#xe93b;",o.ADMIN_INTEGRATION="&#xe93c;",o.SYNC="&#xe93d;",o.TAG="&#xe93e;",o.BOOK_PLAIN="&#xe93f;",o.UPLOAD="&#xe940;",o.ONLINE="&#xe941;",o.TAG_PLAIN="&#xe942;",o.ACCOUNT_SETTINGS="&#xe943;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.SHORTCUT_MENU="&#xe946;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.ADMIN_PORTAL="&#xe94b;",o.STAR="&#xe94c;",o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.FEEDBACK_PLAIN="&#xe951;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_COLLECTIONS="&#xe955;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.RESET="&#xe958;",o.MY_LIBRARY="&#xe959;",o.UNSTRUCTURED_DOC="&#xe95a;",o.CONTEXTUAL="&#xe95b;",o.THIN_ARROW_UP="&#xe95c;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.DESKTOP="&#xe95e;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_STACKED="&#xe96e;",o.CHART_BAR_GROUPED="&#xe96f;",o.EYE_SLASH="&#xe970;",o.X_MARK="&#xe971;",o.EXPAND_WIDE="&#xe972;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.EXTLINK_LIGHT="&#xe978;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.CONSUMER="&#xe97c;",o.OCTAGON_XMARK="&#xe97d;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK="&#xe97f;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;",o.CIRCLE_STOP="&#xe984;",o.ARROW_ROTATE_RIGHT="&#xe985;",o.ARROWS_ROTATE="&#xe986;",o.ALIGN_RIGHT="&#xe987;",o.FORMAT_CLEAR="&#xe988;",o.ALIGN_CENTER="&#xe989;",o.ALIGN_LEFT="&#xe98a;",o.PALETTE="&#xe98b;",o.BOLD="&#xe98c;",o.ITALIC="&#xe98d;",o.UNDERLINE="&#xe98e;",o.STRIKETHROUGH="&#xe98f;",o.LINK_SIMPLE_SLASH="&#xe990;",o.LINK_SIMPLE="&#xe991;",o.EYE="&#xf06e;",o.SHARE="&#xe80f1;"})(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])]),Dl=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 ga(o,t){var r,n,i,a;o=(o??"").toLowerCase(),t=(t??"").toLowerCase();let[l,c]=(((r=Dl.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(l))!==null&&a!==void 0?a:g.UNKNOWN}var ju={[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 Lt;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(Lt||(Lt={}));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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 ya.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=lo.nothing}render(){let t=this.variant&&Object.values(Lt).includes(this.variant)?this.variant:Lt.fluid_topics,r=t!==Lt.material||!!this.value;return lo.html`
618
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
619
- ${(0,ba.unsafeHTML)(this.resolvedIcon)}
620
- <slot ?hidden=${r}></slot>
539
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Bc(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};re.elementDefinitions={"ft-typography":oe};re.styles=dc;Ce([(0,ce.property)()],re.prototype,"text",void 0);Ce([(0,ce.property)({type:Boolean})],re.prototype,"manual",void 0);Ce([(0,ce.property)({type:Boolean})],re.prototype,"inline",void 0);Ce([(0,ce.property)({type:Number})],re.prototype,"delay",void 0);Ce([(0,ce.property)()],re.prototype,"position",void 0);Ce([(0,ce.queryAssignedNodes)()],re.prototype,"slotNodes",void 0);Ce([(0,ce.query)(".ft-tooltip--container")],re.prototype,"container",void 0);Ce([(0,ce.query)(".ft-tooltip")],re.prototype,"tooltip",void 0);Ce([(0,ce.query)(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);Ce([(0,ce.state)()],re.prototype,"visible",void 0);Ce([(0,ce.eventOptions)({passive:!0})],re.prototype,"onTouch",null);Ce([(0,ce.eventOptions)({passive:!0})],re.prototype,"onHover",null);Ce([(0,ce.eventOptions)({passive:!0})],re.prototype,"onOut",null);Ce([(0,ce.eventOptions)({passive:!0})],re.prototype,"onClick",null)});var Fc=f(()=>{"use strict"});var Wc,ci=f(()=>{"use strict";Wc=y(A());li();li();Yn();Fc();(0,Wc.customElement)("ft-tooltip")(re)});var Po=Lt((ev,zc)=>{zc.exports=ftGlobals.litUnsafeHTML});function Hc(t,e){var o,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((o=oh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(i=(n=ui.get(c))!==null&&n!==void 0?n:ui.get(e))!==null&&i!==void 0?i:ui.get(s))!==null&&a!==void 0?a:C.UNKNOWN}var xt,C,ui,oh,tv,di=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(xt||(xt={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));ui=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]),oh=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"]]);tv={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"}});var We,pi=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var Vr,Wt,jc,Vc,To,Ee,fi=f(()=>{"use strict";Vr=y(k()),Wt=y(X()),jc=y(A()),Vc=y(Po());di();Lr();pi();To=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ee=class extends jc.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Vr.nothing}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,o=e!==We.material||!!this.value;return Vr.html`
540
+ <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
541
+ ${(0,Vc.unsafeHTML)(this.resolvedIcon)}
542
+ <slot ?hidden=${o}></slot>
621
543
  </i>
622
- `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case Lt.file_format:this.resolvedIcon=(t=g[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Lt.material:this.resolvedIcon=this.value||lo.nothing;break;default:this.resolvedIcon=(r=re[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};yt.elementDefinitions={};yt.styles=ui;Bo([(0,he.property)()],yt.prototype,"variant",void 0);Bo([(0,he.property)()],yt.prototype,"value",void 0);Bo([(0,he.state)()],yt.prototype,"resolvedIcon",void 0);Bo([(0,he.query)("slot")],yt.prototype,"slottedContent",void 0);(0,xa.customElement)("ft-icon")(yt);var Ca=f(v());var Sa=f(E()),va=f(v());var me=class extends va.FtLitElement{render(){return Sa.html`
544
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case We.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case We.material:this.resolvedIcon=this.value||Vr.nothing;break;default:this.resolvedIcon=(o=xt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=Ll;To([(0,Wt.property)()],Ee.prototype,"variant",void 0);To([(0,Wt.property)()],Ee.prototype,"value",void 0);To([(0,Wt.state)()],Ee.prototype,"resolvedIcon",void 0);To([(0,Wt.query)("slot")],Ee.prototype,"slottedContent",void 0)});var Gc,hi=f(()=>{"use strict";Gc=y(A());fi();Lr();pi();fi();di();(0,Gc.customElement)("ft-icon")(Ee)});var Kc,Zc,zt,mi=f(()=>{"use strict";Kc=y(k()),Zc=y(A());Ir();zt=class extends Zc.FtLitElement{render(){return Kc.html`
623
545
  <div class="ft-loader">
624
546
  <div></div>
625
547
  <div></div>
626
548
  <div></div>
627
549
  <div></div>
628
550
  </div>
629
- `}};me.styles=di;(0,Ca.customElement)("ft-loader")(me);var Be=f(E()),Oa=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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`
551
+ `}};zt.styles=Tl});var qc=f(()=>{"use strict"});var Yc,Xc=f(()=>{"use strict";Yc=y(A());mi();Ir();qc();mi();(0,Yc.customElement)("ft-loader")(zt)});var ur,cr,Qc,ye,Ne,se,yi=f(()=>{"use strict";ur=y(A());go();ci();at();hi();Xc();cr=y(k()),Qc=y(_r()),ye=y(X()),Ne=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},se=class extends(0,ur.toFtFormComponent)(ur.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",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(cr.html`
630
552
  <button part="button"
631
- class="${(0,Oa.classMap)(this.buttonClasses)}"
553
+ class="${(0,Qc.classMap)(this.buttonClasses)}"
632
554
  aria-label="${this.getLabel()}"
633
555
  ?disabled=${this.isDisabled()}>
634
556
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
635
557
  <ft-typography part="label"
636
558
  variant=${this.typographyVariant}
637
559
  element="span"
638
- class="ft-button--label ${$e.isSafari?"ft-safari-ellipsis-fix":""}"
560
+ class="ft-button--label ${ur.isSafari?"ft-safari-ellipsis-fix":""}"
639
561
  ?hidden=${!this.hasTextContent()}>
640
562
  <slot @slotchange=${this.onSlotchange}></slot>
641
563
  </ft-typography>
642
564
  ${this.resolveIcon()}
643
565
  </button>
644
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Be.html`
566
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?cr.html`
645
567
  <ft-tooltip part="tooltip"
646
568
  text="${this.getLabel()}"
647
569
  position="${this.tooltipPosition}">
648
- ${t}
570
+ ${e}
649
571
  </ft-tooltip>
650
- `:t}resolveIcon(){return this.loading?Be.html`
651
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Be.html`
572
+ `:e}resolveIcon(){return this.loading?cr.html`
573
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?cr.html`
652
574
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
653
- `:Be.html`
575
+ `:cr.html`
654
576
  <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":W,"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 c=o.length-1;c>=0;c--)(l=o[c])&&(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=[Ea.safariEllipsisFix,yi];$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 wa=f(v());var Ra=f(E()),_=f(v());var Aa=[Ra.css`
577
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};se.elementDefinitions={"ft-ripple":Y,"ft-tooltip":re,"ft-typography":oe,"ft-icon":Ee,"ft-loader":zt};Ne([(0,ye.property)({type:String,reflect:!0})],se.prototype,"role",void 0);Ne([(0,ye.property)()],se.prototype,"type",void 0);Ne([(0,ye.property)({type:Boolean})],se.prototype,"disabled",void 0);Ne([(0,ye.property)()],se.prototype,"label",void 0);Ne([(0,ye.property)()],se.prototype,"icon",void 0);Ne([(0,ye.property)()],se.prototype,"iconVariant",void 0);Ne([(0,ye.property)({type:Boolean})],se.prototype,"trailingIcon",void 0);Ne([(0,ye.property)({type:Boolean})],se.prototype,"loading",void 0);Ne([(0,ye.property)()],se.prototype,"tooltipPosition",void 0);Ne([(0,ye.property)({type:Boolean})],se.prototype,"hideTooltip",void 0);Ne([(0,ye.property)({type:Boolean})],se.prototype,"forceTooltip",void 0);Ne([(0,ye.query)(".ft-button")],se.prototype,"button",void 0);Ne([(0,ye.query)(".ft-button--label slot")],se.prototype,"slottedContent",void 0)});var Gr,Jc,Io,Pe,gi=f(()=>{"use strict";Gr=y(X()),Jc=y(A());Mn();yi();Io=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Pe=class extends se{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"}};Pe.styles=[Jc.safariEllipsisFix,Ml];Io([(0,Gr.property)({type:Boolean})],Pe.prototype,"primary",void 0);Io([(0,Gr.property)({type:Boolean})],Pe.prototype,"outlined",void 0);Io([(0,Gr.property)({type:Boolean})],Pe.prototype,"dense",void 0);Io([(0,Gr.property)({type:Boolean})],Pe.prototype,"round",void 0)});var eu,F,tu,bi=f(()=>{"use strict";eu=y(k()),F=y(A());kt();Ir();Lr();W();W();tu=[eu.css`
656
578
  :host {
657
579
  display: inline-block;
658
580
  max-width: 100%;
@@ -702,7 +624,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
702
624
  }
703
625
 
704
626
  .ft-button:focus-visible {
705
- outline-color: ${x.focusFocusRingColor};
627
+ outline-color: ${w.focusFocusRingColor};
706
628
  outline-style: solid;
707
629
  }
708
630
 
@@ -731,150 +653,150 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
731
653
  /** Primary styles **/
732
654
 
733
655
  .ft-button--primary {
734
- ${(0,_.setVariable)(ft.color,x.primaryIconColor)};
656
+ ${(0,F.setVariable)(xe.color,w.primaryIconColor)};
735
657
 
736
- ${(0,_.setVariable)(L.color,x.primaryStateLayerColor)};
737
- ${(0,_.setVariable)(L.opacityContentOnSurfaceHover,x.primaryHoverStateLayerOpacity)};
738
- ${(0,_.setVariable)(L.opacityContentOnSurfaceFocused,x.primaryFocusStateLayerOpacity)};
739
- ${(0,_.setVariable)(L.opacityContentOnSurfaceSelected,x.primaryActiveStateLayerOpacity)};
740
- ${(0,_.setVariable)(L.opacityContentOnSurfacePressed,x.primaryActiveStateLayerOpacity)};
658
+ ${(0,F.setVariable)(U.color,w.primaryStateLayerColor)};
659
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
660
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
661
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
662
+ ${(0,F.setVariable)(U.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
741
663
 
742
- background-color: ${x.primaryBackgroundColor};
743
- color: ${x.primaryColor};
664
+ background-color: ${w.primaryBackgroundColor};
665
+ color: ${w.primaryColor};
744
666
  border-style: none;
745
667
  }
746
668
 
747
669
  .ft-button--primary[disabled] {
748
- opacity: ${x.primaryDisabledComponentOpacity};
670
+ opacity: ${w.primaryDisabledComponentOpacity};
749
671
  }
750
672
 
751
673
  .ft-button--primary ft-icon {
752
- color: ${x.primaryIconColor};
674
+ color: ${w.primaryIconColor};
753
675
  }
754
676
 
755
677
  /** Secondary styles **/
756
678
 
757
679
  .ft-button--secondary {
758
- ${(0,_.setVariable)(ft.color,x.secondaryIconColor)};
680
+ ${(0,F.setVariable)(xe.color,w.secondaryIconColor)};
759
681
 
760
- ${(0,_.setVariable)(L.color,x.secondaryStateLayerColor)};
761
- ${(0,_.setVariable)(L.opacityContentOnSurfaceHover,x.secondaryHoverStateLayerOpacity)};
762
- ${(0,_.setVariable)(L.opacityContentOnSurfaceFocused,x.secondaryFocusStateLayerOpacity)};
763
- ${(0,_.setVariable)(L.opacityContentOnSurfaceSelected,x.secondaryActiveStateLayerOpacity)};
764
- ${(0,_.setVariable)(L.opacityContentOnSurfacePressed,x.secondaryActiveStateLayerOpacity)};
682
+ ${(0,F.setVariable)(U.color,w.secondaryStateLayerColor)};
683
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
684
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
685
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
686
+ ${(0,F.setVariable)(U.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
765
687
 
766
- background-color: ${x.secondaryBackgroundColor};
767
- color: ${x.secondaryColor};
768
- border-color: ${x.secondaryBorderColor};
688
+ background-color: ${w.secondaryBackgroundColor};
689
+ color: ${w.secondaryColor};
690
+ border-color: ${w.secondaryBorderColor};
769
691
  border-style: solid;
770
692
  }
771
693
 
772
694
  .ft-button--secondary[disabled] {
773
- opacity: ${x.secondaryDisabledComponentOpacity};
695
+ opacity: ${w.secondaryDisabledComponentOpacity};
774
696
  }
775
697
 
776
698
  .ft-button--secondary ft-icon {
777
- color: ${x.secondaryIconColor};
699
+ color: ${w.secondaryIconColor};
778
700
  }
779
701
 
780
702
  /** Tertiary styles **/
781
703
 
782
704
  .ft-button--tertiary {
783
- ${(0,_.setVariable)(ft.color,x.tertiaryIconColor)};
705
+ ${(0,F.setVariable)(xe.color,w.tertiaryIconColor)};
784
706
 
785
- ${(0,_.setVariable)(L.color,x.tertiaryStateLayerColor)};
786
- ${(0,_.setVariable)(L.opacityContentOnSurfaceHover,x.tertiaryHoverStateLayerOpacity)};
787
- ${(0,_.setVariable)(L.opacityContentOnSurfaceFocused,x.tertiaryFocusStateLayerOpacity)};
788
- ${(0,_.setVariable)(L.opacityContentOnSurfaceSelected,x.tertiaryActiveStateLayerOpacity)};
789
- ${(0,_.setVariable)(L.opacityContentOnSurfacePressed,x.tertiaryActiveStateLayerOpacity)};
707
+ ${(0,F.setVariable)(U.color,w.tertiaryStateLayerColor)};
708
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
709
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
710
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
711
+ ${(0,F.setVariable)(U.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
790
712
 
791
- background-color: ${x.tertiaryBackgroundColor};
792
- color: ${x.tertiaryColor};
713
+ background-color: ${w.tertiaryBackgroundColor};
714
+ color: ${w.tertiaryColor};
793
715
  border-style: none;
794
716
  }
795
717
 
796
718
  .ft-button--tertiary[disabled] {
797
- opacity: ${x.tertiaryDisabledComponentOpacity};
719
+ opacity: ${w.tertiaryDisabledComponentOpacity};
798
720
  }
799
721
 
800
722
  .ft-button--tertiary ft-icon {
801
- color: ${x.tertiaryIconColor};
723
+ color: ${w.tertiaryIconColor};
802
724
  }
803
725
 
804
726
  /** Neutral styles **/
805
727
 
806
728
  .ft-button--neutral {
807
- ${(0,_.setVariable)(ft.color,x.neutralIconColor)};
729
+ ${(0,F.setVariable)(xe.color,w.neutralIconColor)};
808
730
 
809
- ${(0,_.setVariable)(L.backgroundColor,x.neutralStateLayerColor)};
810
- ${(0,_.setVariable)(L.opacityContentOnSurfaceHover,x.neutralHoverStateLayerOpacity)};
811
- ${(0,_.setVariable)(L.opacityContentOnSurfaceFocused,x.neutralFocusStateLayerOpacity)};
812
- ${(0,_.setVariable)(L.opacityContentOnSurfaceSelected,x.neutralActiveStateLayerOpacity)};
813
- ${(0,_.setVariable)(L.opacityContentOnSurfacePressed,x.neutralActiveStateLayerOpacity)};
731
+ ${(0,F.setVariable)(U.backgroundColor,w.neutralStateLayerColor)};
732
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
733
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
734
+ ${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
735
+ ${(0,F.setVariable)(U.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
814
736
 
815
- background-color: ${x.neutralBackgroundColor};
816
- color: ${x.neutralColor};
737
+ background-color: ${w.neutralBackgroundColor};
738
+ color: ${w.neutralColor};
817
739
  border-style: none;
818
740
  }
819
741
 
820
742
  .ft-button--neutral[disabled] {
821
- opacity: ${x.neutralDisabledComponentOpacity};
743
+ opacity: ${w.neutralDisabledComponentOpacity};
822
744
  }
823
745
 
824
746
  .ft-button--neutral ft-icon {
825
- color: ${x.neutralIconColor};
747
+ color: ${w.neutralIconColor};
826
748
  }
827
749
 
828
750
  /** Large styles **/
829
751
 
830
752
  .ft-button--large {
831
- ${(0,_.setVariable)(ut.size,x.largeIconSize)};
832
- ${(0,_.setVariable)(ft.size,x.largeIconSize)};
833
-
834
- height: ${x.largeHeight};
835
- padding: 0 ${x.largeHorizontalPadding};
836
- gap: ${x.largeGap};
837
- border-radius: ${x.largeBorderRadius};
838
- border-width: ${x.largeBorderWidth};
753
+ ${(0,F.setVariable)(ve.size,w.largeIconSize)};
754
+ ${(0,F.setVariable)(xe.size,w.largeIconSize)};
755
+
756
+ height: ${w.largeHeight};
757
+ padding: 0 ${w.largeHorizontalPadding};
758
+ gap: ${w.largeGap};
759
+ border-radius: ${w.largeBorderRadius};
760
+ border-width: ${w.largeBorderWidth};
839
761
  }
840
762
 
841
763
  .ft-button--large:focus-visible {
842
- outline-width: ${x.largeFocusOutlineWidth};
843
- outline-offset: ${x.largeFocusOutlineOffset};
764
+ outline-width: ${w.largeFocusOutlineWidth};
765
+ outline-offset: ${w.largeFocusOutlineOffset};
844
766
  }
845
767
 
846
768
  .ft-button--large.ft-button--icon-only {
847
- width: ${x.largeIconOnlyWidth};
769
+ width: ${w.largeIconOnlyWidth};
848
770
  padding: unset;
849
771
  }
850
772
 
851
773
  /** Small styles **/
852
774
 
853
775
  .ft-button--small {
854
- ${(0,_.setVariable)(ut.size,x.smallIconSize)};
855
- ${(0,_.setVariable)(ft.size,x.smallIconSize)};
856
-
857
- height: ${x.smallHeight};
858
- padding: 0 ${x.smallHorizontalPadding};
859
- gap: ${x.smallGap};
860
- border-radius: ${x.smallBorderRadius};
861
- border-width: ${x.smallBorderWidth};
776
+ ${(0,F.setVariable)(ve.size,w.smallIconSize)};
777
+ ${(0,F.setVariable)(xe.size,w.smallIconSize)};
778
+
779
+ height: ${w.smallHeight};
780
+ padding: 0 ${w.smallHorizontalPadding};
781
+ gap: ${w.smallGap};
782
+ border-radius: ${w.smallBorderRadius};
783
+ border-width: ${w.smallBorderWidth};
862
784
  }
863
785
 
864
786
  .ft-button--small:focus-visible {
865
- outline-width: ${x.smallFocusOutlineWidth};
866
- outline-offset: ${x.smallFocusOutlineOffset};
787
+ outline-width: ${w.smallFocusOutlineWidth};
788
+ outline-offset: ${w.smallFocusOutlineOffset};
867
789
  }
868
790
 
869
791
  .ft-button--small.ft-button--icon-only {
870
- width: ${x.smallIconOnlyWidth};
792
+ width: ${w.smallIconOnlyWidth};
871
793
  padding: unset;
872
794
  }
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 c=o.length-1;c>=0;c--)(l=o[c])&&(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=[wa.safariEllipsisFix,Aa];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)},La=Na.css`
795
+ `,F.noTextSelect]});var dr,ru,Kr,Ye,xi=f(()=>{"use strict";yi();dr=y(X());So();ru=y(A());bi();Kr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ye=class extends se{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?Ut.caption1medium:Ut.body2medium}};Ye.styles=[ru.safariEllipsisFix,tu];Kr([(0,dr.property)({type:Boolean})],Ye.prototype,"primary",void 0);Kr([(0,dr.property)({type:Boolean})],Ye.prototype,"secondary",void 0);Kr([(0,dr.property)({type:Boolean})],Ye.prototype,"tertiary",void 0);Kr([(0,dr.property)({type:Boolean})],Ye.prototype,"neutral",void 0);Kr([(0,dr.property)({type:Boolean})],Ye.prototype,"small",void 0)});var ou=f(()=>{"use strict"});var nu=f(()=>{"use strict"});var vi,Lo=f(()=>{"use strict";vi=y(A());gi();xi();gi();Mn();ou();xi();bi();nu();(0,vi.customElement)("ft-button")(Pe);(0,vi.customElement)("ftds-button")(Ye)});var iu,V,Z,Si,Zr=f(()=>{"use strict";iu=y(k()),V=y(A());Lo();ci();Z={height:V.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:V.FtCssVariableFactory.extend("--ft-search-input-border-radius","",V.designSystemVariables.borderRadiusS),desktopFiltersHeight:V.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:V.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:V.FtCssVariableFactory.extend("--ft-search-input-background-color","",V.designSystemVariables.colorSurface),colorOnSurface:V.FtCssVariableFactory.extend("--ft-search-input-color","",V.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:V.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",V.designSystemVariables.colorOnSurfaceMedium),colorOutline:V.FtCssVariableFactory.extend("--ft-search-input-outline-color","",V.designSystemVariables.colorOutline),elevation02:V.FtCssVariableFactory.extend("--ft-search-input-elevation","",V.designSystemVariables.elevation02),focusOutlineColor:V.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",V.designSystemVariables.colorPrimary),buttonColor:V.FtCssVariableFactory.extend("--ft-search-input-button-color","",V.designSystemVariables.colorPrimary),buttonRippleColor:V.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",V.designSystemVariables.colorPrimary)},Si=iu.css`
874
796
  * {
875
797
  box-sizing: border-box;
876
- ${(0,B.setVariable)(G.color,D.buttonColor)};
877
- ${(0,B.setVariable)(G.rippleColor,D.buttonRippleColor)};
798
+ ${(0,V.setVariable)(te.color,Z.buttonColor)};
799
+ ${(0,V.setVariable)(te.rippleColor,Z.buttonRippleColor)};
878
800
  }
879
801
 
880
802
  .ft-search-input {
@@ -882,11 +804,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
882
804
  display: flex;
883
805
  flex-direction: row;
884
806
  align-items: center;
885
- height: ${D.height};
807
+ height: ${Z.height};
886
808
 
887
- background: ${D.colorSurface};
888
- border: 1px solid ${D.colorOutline};
889
- border-radius: ${D.borderRadius};
809
+ background: ${Z.colorSurface};
810
+ border: 1px solid ${Z.colorOutline};
811
+ border-radius: ${Z.borderRadius};
890
812
  }
891
813
 
892
814
  .ft-search-input--input-container {
@@ -901,11 +823,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
901
823
  width: 100%;
902
824
  display: grid;
903
825
  padding: 0 8px;
904
- border-radius: ${D.borderRadius};
826
+ border-radius: ${Z.borderRadius};
905
827
  }
906
828
 
907
829
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
908
- outline: 2px solid ${D.focusOutlineColor};
830
+ outline: 2px solid ${Z.focusOutlineColor};
909
831
  }
910
832
 
911
833
  .ft-search-input--input {
@@ -913,12 +835,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
913
835
  width: 100%;
914
836
  border: none;
915
837
  background-color: transparent;
916
- color: ${D.colorOnSurface};
838
+ color: ${Z.colorOnSurface};
917
839
  outline: none;
918
840
  }
919
841
 
920
842
  .ft-search-input--input::placeholder {
921
- color: ${D.colorOnSurfaceMedium};
843
+ color: ${Z.colorOnSurfaceMedium};
922
844
  }
923
845
 
924
846
  .ft-search-input--actions {
@@ -928,13 +850,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
928
850
  align-items: center;
929
851
  height: 100%;
930
852
 
931
- ${(0,B.setVariable)(te.zIndex,`calc(${D.floatingZIndex} + 1)`)};
853
+ ${(0,V.setVariable)(yt.zIndex,`calc(${Z.floatingZIndex} + 1)`)};
932
854
  }
933
855
 
934
856
  .ft-search-input > ft-button,
935
857
  .ft-search-input--actions ft-button {
936
858
  flex-shrink: 0;
937
- ${(0,B.setVariable)(G.backgroundColor,"transparent")};
859
+ ${(0,V.setVariable)(te.backgroundColor,"transparent")};
938
860
  }
939
861
 
940
862
  .ft-search-input .ft-search-input--launch-search,
@@ -952,17 +874,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
952
874
 
953
875
  .ft-search-input--separator {
954
876
  height: 20px;
955
- border-right: 1px solid ${D.colorOutline};
877
+ border-right: 1px solid ${Z.colorOutline};
956
878
  }
957
- `;var Ia=f(E()),Ta=f(v()),Br={highlightBackgroundColor:Ta.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Pa=Ia.css`
879
+ `});var au,su,_o,Oi,ko=f(()=>{"use strict";au=y(k()),su=y(A()),_o={highlightBackgroundColor:su.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Oi=au.css`
958
880
  .kwicmatch {
959
881
  font-weight: 700;
960
- background-color: ${Br.highlightBackgroundColor};
882
+ background-color: ${_o.highlightBackgroundColor};
961
883
  }
962
- `;var _a=f(E()),ka=f(v()),$r={highlightBackgroundColor:ka.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ba=_a.css`
884
+ `});var lu,cu,Do,Ci,Mo=f(()=>{"use strict";lu=y(k()),cu=y(A()),Do={highlightBackgroundColor:cu.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ci=lu.css`
963
885
  .kwicmatch {
964
886
  font-weight: 700;
965
- background-color: ${$r.highlightBackgroundColor};
887
+ background-color: ${Do.highlightBackgroundColor};
966
888
  }
967
889
 
968
890
  a {
@@ -973,105 +895,32 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
973
895
  a:focus {
974
896
  outline: revert;
975
897
  }
976
- `;var at={searchFieldBackgroundColor:O.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",O.designSystemVariables.colorSurface),searchFieldBorderColor:O.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",O.designSystemVariables.colorOutline),searchFieldTextColor:O.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",O.designSystemVariables.colorOnSurface),searchFieldBorderRadius:O.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",O.designSystemVariables.borderRadiusS),searchButtonColor:O.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",O.designSystemVariables.colorPrimary),resultsNumberColor:O.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",O.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:O.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",O.designSystemVariables.colorSurface),resultBorderColor:O.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",O.designSystemVariables.colorOutline),resultBorderRadius:O.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",O.designSystemVariables.borderRadiusS),resultTitleTextColor:O.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",O.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:O.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",O.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:O.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",O.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:O.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:O.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",O.designSystemVariables.colorPrimary),resultHoverBorderColor:O.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",O.designSystemVariables.colorPrimary)},$a=Ur.css`
977
- .ft-search-in-doc--container {
978
- display: flex;
979
- flex-direction: column;
980
- gap: 8px;
981
- }
982
-
983
- ft-search-input {
984
- ${(0,O.setVariable)(D.colorSurface,at.searchFieldBackgroundColor)};
985
- ${(0,O.setVariable)(D.colorOutline,at.searchFieldBorderColor)};
986
- ${(0,O.setVariable)(D.colorOnSurface,at.searchFieldTextColor)};
987
- ${(0,O.setVariable)(D.borderRadius,at.searchFieldBorderRadius)};
988
- ${(0,O.setVariable)(D.buttonColor,at.searchButtonColor)};
989
- }
990
-
991
- ft-search-results-number {
992
- margin-left: 12px;
993
- }
994
-
995
- ft-search-results-number, ft-search-results::part(no-results-message) {
996
- color: ${at.resultsNumberColor};
997
- }
998
-
999
- ft-search-load-more-button {
1000
- margin: auto;
1001
- }
1002
- `,Ua=Ur.css`
1003
- ft-card {
1004
- margin-bottom: 8px;
1005
- ${(0,O.setVariable)(k.elevation04,"none")};
1006
- ${(0,O.setVariable)(k.elevation02,"none")};
1007
- ${(0,O.setVariable)(k.borderStyle,"solid")};
1008
- ${(0,O.setVariable)(k.borderRadius,O.designSystemVariables.borderRadiusS)};
1009
- ${(0,O.setVariable)(k.colorSurface,at.resultBackgroundColor)};
1010
- ${(0,O.setVariable)(k.borderColor,at.resultBorderColor)};
1011
- ${(0,O.setVariable)(k.borderRadius,at.resultBorderRadius)};
1012
- }
1013
-
1014
- ft-search-result-title {
1015
- color: ${at.resultTitleTextColor};
1016
- ${(0,O.setVariable)($r.highlightBackgroundColor,at.resultHighlightBackgroundColor)};
1017
- }
1018
-
1019
- .breadcrumb {
1020
- color: ${at.resultBreadcrumbTextColor};
1021
- }
1022
-
1023
- ft-search-result-abstract {
1024
- color: ${at.resultContentTextColor};
1025
- ${(0,O.setVariable)(Br.highlightBackgroundColor,at.resultHighlightBackgroundColor)};
1026
- }
1027
-
1028
- ft-card:hover {
1029
- ${(0,O.setVariable)(k.hoverBorderColor,at.resultHoverBorderColor)};
1030
- ${(0,O.setVariable)(L.color,at.resultHoverBackgroundColor)};
1031
- }
1032
-
1033
- .result-container {
1034
- display: flex;
1035
- flex-direction: column;
1036
- gap: 4px;
1037
- }
1038
-
1039
- a, a:hover, a:focus, a:active {
1040
- text-decoration: none;
1041
- color: inherit;
1042
- }
1043
- `;var Xa=f(v());var Ko=f(E()),Vo=f(Z()),Zo=f(v());var Da=f(E());var Ma=Da.css`
1044
- `;var Go=f(v());var ja=f(v());var Ka=f(E()),At=f(Z()),It=f(v());var Wa=f(E());var Fa=Wa.css`
1045
- `;var Ha=f(v()),Ml="ft-app-info",Wl={},N=Ha.FtReduxStore.get({name:Ml,reducers:Wl,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 za,Fl=Symbol("clearAfterUnitTest"),Uo=class extends Ut{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[za]=()=>{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 c=(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:{},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)))}};za=Fl;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,Ga=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 It.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 It.CacheRegistry,this.cleanSessionDebouncer=new It.Debouncer}render(){return Ka.html`
898
+ `});var pu,fu,wi=f(()=>{"use strict";pu=y(k()),fu=pu.css`
899
+ `});var hu,mu,Ai=f(()=>{"use strict";hu=y(k()),mu=hu.css`
900
+ `});var Bo,nh,Ri,ih,D,ze=f(()=>{"use strict";Bo=y(A()),nh="ft-app-info",Ri=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ih={session:(t,e)=>{(0,Bo.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new Ri(e.payload)),0))}},D=Bo.FtReduxStore.get({name:nh,reducers:ih,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 Ht,Uo=f(()=>{"use strict";ze();Ht=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=D.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}}});var Ni,Xe,qr=f(()=>{"use strict";Ni=y(A());Uo();Xe=class{constructor(e=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ni.CacheRegistry,this.cache=e?i.commonCache:new Ni.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ht.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ht.await()}clearCache(){this.cache.clearAll()}}});var vt,yu,ah,$o,pr,gu,Pi=f(()=>{"use strict";ze();vt=y(A());qr();ah=Symbol("clearAfterUnitTest"),$o=class extends Xe{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[yu]=()=>{this.defaultMessages={},this.cache=new vt.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,vt.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,o,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let c=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new vt.ParametrizedLabelResolver((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},c).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,vt.delay)(0).then(()=>o()).catch(()=>null)))}};yu=ah;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});pr=window.FluidTopicsI18nService,gu=window.FluidTopicsCustomI18nService});var bu,De,He,ge,ne,Ti=f(()=>{"use strict";bu=y(k()),De=y(X()),He=y(A());Ai();ze();Pi();Uo();ge=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ne=class extends He.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=()=>Ht.get(),this.messageContexts=[],this.cache=new He.CacheRegistry,this.cleanSessionDebouncer=new He.Debouncer}render(){return bu.html`
1046
901
  <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=Fa;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,It.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ct([(0,It.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,It.jsonProperty)([])],j.prototype,"messageContexts",void 0);ct([(0,It.jsonProperty)(void 0)],j.prototype,"session",void 0);var Fo=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 Hl="ft-user-assets",Wo=Fo.FtReduxStore.get({name:Hl,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,Fo.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(),Wo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Wo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Wo.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;Wo.actions.bookmarks(r)}}},Va=new Mr;var Wr=class{addCommand(t,r=!1){N.commands.add(t,r)}consumeCommand(t){return N.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Wr;var Za=f(v()),Fr=class{highlightHtml(t,r){(0,Za.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Fr;(0,ja.customElement)("ft-app-context")(j);var Ya=f(Z()),zl=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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?Ga:De}i18n(i,a,...l){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...l);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,l;(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)}),(l=this[Ho])===null||l===void 0||l.forEach((c,u)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(c))}),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((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))}),(l=this[Ho])===null||l===void 0||l.forEach((c,u)=>{c.argsProvider!=null&&(this[u]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,l,c;super.connectedCallback(),new Set([...(a=(i=this[Ho])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(l=this[Hr])===null||l===void 0?void 0:l.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,zl([(0,Ya.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var qa=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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`
902
+ `}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>pr.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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 e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ne.elementDefinitions={};ne.styles=mu;ge([(0,De.property)()],ne.prototype,"baseUrl",void 0);ge([(0,De.property)()],ne.prototype,"apiIntegrationIdentifier",void 0);ge([(0,De.property)()],ne.prototype,"uiLocale",void 0);ge([(0,He.jsonProperty)(null)],ne.prototype,"availableUiLocales",void 0);ge([(0,He.jsonProperty)(null)],ne.prototype,"metadataConfiguration",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"editorMode",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"noCustom",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,De.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ne.prototype,"noCustomComponent",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"withManualResources",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"navigatorOnline",void 0);ge([(0,De.property)({type:Boolean})],ne.prototype,"forcedOffline",void 0);ge([(0,De.property)({type:Object})],ne.prototype,"apiProvider",void 0);ge([(0,He.jsonProperty)([])],ne.prototype,"messageContexts",void 0);ge([(0,He.jsonProperty)(void 0)],ne.prototype,"session",void 0)});function sh(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Fo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Fo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Fo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Fo(t,e){try{return sh(t,e)}catch{return!1}}function Ii(t,e){return!Fo(t,e)}var Li=f(()=>{"use strict"});var lh,xu=f(()=>{"use strict";Li();lh=y(X(),1)});var Wo,_i=f(()=>{"use strict";Wo=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}}});function Su(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,vu.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ii,...e??{}})}var vu,Ou=f(()=>{"use strict";vu=y(X(),1);Li()});var zo,Cu=f(()=>{"use strict";zo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Ho,ch,T0,Eu,wu=f(()=>{Ho=window,ch=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,T0=Symbol(),Eu=(t,e)=>{ch?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=Ho.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})}});var Au,jo,Ru=f(()=>{"use strict";Au=y(k(),1);wu();jo=class extends Au.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Eu(n,e.elementStyles),n}}});var Yr,Vo,Tu,Nu,Pu,Iu,St,Lu=f(()=>{"use strict";Yr=y(X(),1);Ou();Cu();Ru();Vo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Nu=Symbol("constructorPrototype"),Pu=Symbol("constructorName"),Iu=Symbol("exportpartsDebouncer"),St=class extends jo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Tu]=new zo(5),this[Pu]=this.constructor.name,this[Nu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pu]&&Object.setPrototypeOf(this,this[Nu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Iu].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let d=b=>b!=null&&b.trim().length>0,p=e.filter(d).map(b=>b.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...v,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let g=[...h.values()].flatMap(b=>p.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Tu=Iu;Vo([(0,Yr.property)()],St.prototype,"exportpartsPrefix",void 0);Vo([Su([])],St.prototype,"exportpartsPrefixes",void 0);Vo([(0,Yr.property)()],St.prototype,"customStylesheet",void 0);Vo([(0,Yr.state)()],St.prototype,"useAdoptedStyleSheets",void 0)});function Xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Go=f(()=>{"use strict"});var _u,ku,Du,Ko,Ot,jt,Qr,Mu=f(()=>{"use strict";Lu();Go();Ko=Symbol("internalReduxEventsUnsubscribers"),Ot=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores"),Qr=class extends St{constructor(){super(...arguments),this[_u]=new Map,this[ku]=new Map,this[Du]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[jt].get(e)}addStore(e,o){var n;o=(n=o??(Xr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[jt].delete(o)}setupStore(e,o){this[jt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[Ot].has(e.store):this[Ot].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[Ot].set(e,o.subscribe(()=>this.updateFromStores())),Xr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Ko].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ot].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Ko].forEach(e=>e()),this[Ko]=[]}unsubscribeFromStore(e){this[Ot].has(e)&&this[Ot].get(e)(),this[Ot].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_u=Ot,ku=jt,Du=Ko;Qr.reduxProperties=new Map;Qr.reduxReactiveProperties=new Set;Qr.reduxEventListeners=new Map});function Me(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function dt(t){return!!t&&!!t[J]}function je(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===gh}(t)||Array.isArray(t)||!!t[Hu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hu])||zi(t)||Hi(t))}function Vt(t,e,o){o===void 0&&(o=!1),mr(t)===0?(o?Object.keys:hr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function mr(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:zi(t)?2:Hi(t)?3:0}function fr(t,e){return mr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function uh(t,e){return mr(t)===2?t.get(e):t[e]}function ju(t,e,o){var n=mr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Vu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function zi(t){return mh&&t instanceof Map}function Hi(t){return yh&&t instanceof Set}function Ct(t){return t.o||t.t}function ji(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zu(t);delete e[J];for(var o=hr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Vi(t,e){return e===void 0&&(e=!1),Gi(t)||dt(t)||!je(t)||(mr(t)>1&&(t.set=t.add=t.clear=t.delete=dh),Object.freeze(t),e&&Vt(t,function(o,n){return Vi(n,!0)},!0)),t}function dh(){Me(2)}function Gi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Qe(t){var e=Wi[t];return e||Me(18,t),e}function ph(t,e){Wi[t]||(Wi[t]=e)}function Ui(){return eo}function ki(t,e){e&&(Qe("Patches"),t.u=[],t.s=[],t.v=e)}function Zo(t){$i(t),t.p.forEach(fh),t.p=null}function $i(t){t===eo&&(eo=t.l)}function Bu(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function fh(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function Di(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Qe("ES5").S(e,t,n),n?(o[J].P&&(Zo(e),Me(4)),je(t)&&(t=qo(e,t),e.l||Yo(e,t)),e.u&&Qe("Patches").M(o[J].t,t,e.u,e.s)):t=qo(e,o,[]),Zo(e),e.u&&e.v(e.u,e.s),t!==Ku?t:void 0}function qo(t,e,o){if(Gi(e))return e;var n=e[J];if(!n)return Vt(e,function(c,d){return Uu(t,n,e,c,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Yo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ji(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Vt(a,function(c,d){return Uu(t,n,i,c,d,o,s)}),Yo(t,i,!1),o&&t.u&&Qe("Patches").N(n,o,t.u,t.s)}return n.o}function Uu(t,e,o,n,i,a,s){if(dt(i)){var c=qo(t,i,a&&e&&e.i!==3&&!fr(e.R,n)?a.concat(n):void 0);if(ju(o,n,c),!dt(c))return;t.m=!1}else s&&o.add(i);if(je(i)&&!Gi(i)){if(!t.h.D&&t._<1)return;qo(t,i),e&&e.A.l||Yo(t,i)}}function Yo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Vi(e,o)}function Mi(t,e){var o=t[J];return(o?Ct(o):t)[e]}function $u(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Et(t){t.P||(t.P=!0,t.l&&Et(t.l))}function Bi(t){t.o||(t.o=ji(t.t))}function Fi(t,e,o){var n=zi(e)?Qe("MapSet").F(e,o):Hi(e)?Qe("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ui(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,p=to;s&&(d=[c],p=Jr);var h=Proxy.revocable(d,p),g=h.revoke,b=h.proxy;return c.k=b,c.j=g,b}(e,o):Qe("ES5").J(e,o);return(o?o.A:Ui()).p.push(n),n}function hh(t){return dt(t)||Me(22,t),function e(o){if(!je(o))return o;var n,i=o[J],a=mr(o);if(i){if(!i.P&&(i.i<4||!Qe("ES5").K(i)))return i.t;i.I=!0,n=Fu(o,a),i.I=!1}else n=Fu(o,a);return Vt(n,function(s,c){i&&uh(i.t,s)===c||ju(n,s,e(c))}),a===3?new Set(n):n}(t)}function Fu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ji(t)}function Gu(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[J];return to.get(p,s)},set:function(p){var h=this[J];to.set(h,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][J];if(!d.P)switch(d.i){case 5:n(d)&&Et(d);break;case 4:o(d)&&Et(d)}}}function o(s){for(var c=s.t,d=s.k,p=hr(d),h=p.length-1;h>=0;h--){var g=p[h];if(g!==J){var b=c[g];if(b===void 0&&!fr(c,g))return!0;var v=d[g],x=v&&v[J];if(x?x.t!==b:!Vu(v,b))return!0}}var O=!!c[J];return p.length!==hr(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Me(3,JSON.stringify(Ct(s)))}var a={};ph("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(g,b){if(g){for(var v=Array(b.length),x=0;x<b.length;x++)Object.defineProperty(v,""+x,t(x,!0));return v}var O=Zu(b);delete O[J];for(var P=hr(O),R=0;R<P.length;R++){var N=P[R];O[N]=t(N,g||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(d,s),h={i:d?5:4,A:c?c.A:Ui(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,J,{value:h,writable:!0}),p},S:function(s,c,d){d?dt(c)&&c[J].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var g=h[J];if(g){var b=g.t,v=g.k,x=g.R,O=g.i;if(O===4)Vt(v,function(_){_!==J&&(b[_]!==void 0||fr(b,_)?x[_]||p(v[_]):(x[_]=!0,Et(g)))}),Vt(b,function(_){v[_]!==void 0||fr(v,_)||(x[_]=!1,Et(g))});else if(O===5){if(n(g)&&(Et(g),x.length=!0),v.length<b.length)for(var P=v.length;P<b.length;P++)x[P]=!1;else for(var R=b.length;R<v.length;R++)x[R]=!0;for(var N=Math.min(v.length,b.length),M=0;M<N;M++)v.hasOwnProperty(M)||(x[M]=!0),x[M]===void 0&&p(v[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Wu,eo,Ki,mh,yh,zu,Ku,Hu,J,gh,hr,Zu,Wi,to,Jr,bh,Te,xh,z0,H0,j0,V0,G0,K0,Xo,Qo=f(()=>{Ki=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mh=typeof Map<"u",yh=typeof Set<"u",zu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ku=Ki?Symbol.for("immer-nothing"):((Wu={})["immer-nothing"]=!0,Wu),Hu=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",J=Ki?Symbol.for("immer-state"):"__$immer_state",gh=""+Object.prototype.constructor,hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zu=Object.getOwnPropertyDescriptors||function(t){var e={};return hr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Wi={},to={get:function(t,e){if(e===J)return t;var o=Ct(t);if(!fr(o,e))return function(i,a,s){var c,d=$u(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!je(n)?n:n===Mi(t.t,e)?(Bi(t),t.o[e]=Fi(t.A.h,n,t)):n},has:function(t,e){return e in Ct(t)},ownKeys:function(t){return Reflect.ownKeys(Ct(t))},set:function(t,e,o){var n=$u(Ct(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Mi(Ct(t),e),a=i?.[J];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Vu(o,i)&&(o!==void 0||fr(t.t,e)))return!0;Bi(t),Et(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Mi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Bi(t),Et(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Ct(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Me(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Me(12)}},Jr={};Vt(to,function(t,e){Jr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jr.deleteProperty=function(t,e){return Jr.set.call(this,t,e,void 0)},Jr.set=function(t,e,o){return to.set.call(this,t[0],e,o,t[0])};bh=function(){function t(o){var n=this;this.O=zu,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(O){var P=this;O===void 0&&(O=c);for(var R=arguments.length,N=Array(R>1?R-1:0),M=1;M<R;M++)N[M-1]=arguments[M];return d.produce(O,function(_){var G;return(G=a).call.apply(G,[P,_].concat(N))})}}var p;if(typeof a!="function"&&Me(6),s!==void 0&&typeof s!="function"&&Me(7),je(i)){var h=Bu(n),g=Fi(n,i,void 0),b=!0;try{p=a(g),b=!1}finally{b?Zo(h):$i(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return ki(h,s),Di(O,h)},function(O){throw Zo(h),O}):(ki(h,s),Di(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Ku&&(p=void 0),n.D&&Vi(p,!0),s){var v=[],x=[];Qe("Patches").M(i,p,v,x),s(v,x)}return p}Me(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,g=Array(h>1?h-1:0),b=1;b<h;b++)g[b-1]=arguments[b];return n.produceWithPatches(p,function(v){return i.apply(void 0,[v].concat(g))})};var s,c,d=n.produce(i,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){je(o)||Me(8),dt(o)&&(o=hh(o));var n=Bu(this),i=Fi(this,o,void 0);return i[J].C=!0,$i(n),i},e.finishDraft=function(o,n){var i=o&&o[J],a=i.A;return ki(a,n),Di(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!zu&&Me(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Qe("Patches").$;return dt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Te=new bh,xh=Te.produce,z0=Te.produceWithPatches.bind(Te),H0=Te.setAutoFreeze.bind(Te),j0=Te.setUseProxies.bind(Te),V0=Te.applyPatches.bind(Te),G0=Te.createDraft.bind(Te),K0=Te.finishDraft.bind(Te),Xo=xh});function wt(t){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wt(t)}var Zi=f(()=>{});function qi(t,e){if(wt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(wt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var qu=f(()=>{Zi()});function Yi(t){var e=qi(t,"string");return wt(e)==="symbol"?e:String(e)}var Yu=f(()=>{Zi();qu()});function Xi(t,e,o){return e=Yi(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Xu=f(()=>{Yu()});function Qu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Jo(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Qu(Object(o),!0).forEach(function(n){Xi(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var Ju=f(()=>{Xu()});function he(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function vh(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ji(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(he(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(he(1));return o(Ji)(t,e)}if(typeof t!="function")throw new Error(he(2));var i=t,a=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(he(3));return a}function g(O){if(typeof O!="function")throw new Error(he(4));if(d)throw new Error(he(5));var P=!0;return p(),c.push(O),function(){if(P){if(d)throw new Error(he(6));P=!1,p();var N=c.indexOf(O);c.splice(N,1),s=null}}}function b(O){if(!vh(O))throw new Error(he(7));if(typeof O.type>"u")throw new Error(he(8));if(d)throw new Error(he(9));try{d=!0,a=i(a,O)}finally{d=!1}for(var P=s=c,R=0;R<P.length;R++){var N=P[R];N()}return O}function v(O){if(typeof O!="function")throw new Error(he(10));i=O,b({type:en.REPLACE})}function x(){var O,P=g;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(he(11));function M(){N.next&&N.next(h())}M();var _=P(M);return{unsubscribe:_}}},O[ed]=function(){return this},O}return b({type:en.INIT}),n={dispatch:b,subscribe:g,getState:h,replaceReducer:v},n[ed]=x,n}function Sh(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:en.INIT});if(typeof n>"u")throw new Error(he(12));if(typeof o(void 0,{type:en.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(he(13))})}function td(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{Sh(o)}catch(d){c=d}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var g;for(var b=!1,v={},x=0;x<a.length;x++){var O=a[x],P=o[O],R=p[O],N=P(R,h);if(typeof N>"u"){var M=h&&h.type;throw new Error(he(14))}v[O]=N,b=b||N!==R}return b=b||a.length!==Object.keys(p).length,b?v:p}}function yr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function rd(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(he(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=yr.apply(void 0,c)(i.dispatch),Jo(Jo({},i),{},{dispatch:a})}}}var ed,Qi,en,tn=f(()=>{Ju();ed=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Qi=function(){return Math.random().toString(36).substring(7).split("").join(".")},en={INIT:"@@redux/INIT"+Qi(),REPLACE:"@@redux/REPLACE"+Qi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Qi()}}});function od(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var nd,ea,id=f(()=>{nd=od();nd.withExtraArgument=od;ea=nd});function Th(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function na(t){return je(t)?Xo(t,function(){}):t}function _h(t){return typeof t=="boolean"}function kh(){return function(e){return Dh(e)}}function Dh(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Ih;if(o&&(_h(o)?c.push(ea):c.push(ea.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return c}function dd(t){var e=kh(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,d=c===void 0?!0:c,p=o.preloadedState,h=p===void 0?void 0:p,g=o.enhancers,b=g===void 0?void 0:g,v;if(typeof i=="function")v=i;else if(Th(i))v=td(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!ra&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ra&&x.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=rd.apply(void 0,x),P=yr;d&&(P=Ph(At({trace:!ra},typeof d=="object"&&d)));var R=new Lh(O),N=R;Array.isArray(b)?N=gr([O],b):typeof b=="function"&&(N=b(R));var M=P.apply(void 0,N);return Ji(v,h,M)}function Rt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return At(At({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function pd(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function Mh(t){return typeof t=="function"}function Bh(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?pd(e):[e,o,n],a=i[0],s=i[1],c=i[2],d;if(Mh(t))d=function(){return na(t())};else{var p=na(t);d=function(){return p}}function h(g,b){g===void 0&&(g=d());var v=gr([a[b.type]],s.filter(function(x){var O=x.matcher;return O(b)}).map(function(x){var O=x.reducer;return O}));return v.filter(function(x){return!!x}).length===0&&(v=[c]),v.reduce(function(x,O){if(O)if(dt(x)){var P=x,R=O(P,b);return R===void 0?x:R}else{if(je(x))return Xo(x,function(N){return O(N,b)});var R=O(x,b);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},g)}return h.getInitialState=d,h}function Uh(t,e){return t+"/"+e}function fd(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:na(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var g=n[h],b=Uh(e,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,a[h]=v,s[b]=v,c[h]=x?Rt(b,x):Rt(b)});function d(){var h=typeof t.extraReducers=="function"?pd(t.extraReducers):[t.extraReducers],g=h[0],b=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,O=h[2],P=O===void 0?void 0:O,R=At(At({},b),s);return Bh(o,function(N){for(var M in R)N.addCase(M,R[M]);for(var _=0,G=x;_<G.length;_++){var be=G[_];N.addMatcher(be.matcher,be.reducer)}P&&N.addDefaultCase(P)})}var p;return{name:e,reducer:function(h,g){return p||(p=d()),p(h,g)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function Hh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function jh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ud,Oh,gr,Ch,Eh,wh,ad,Ah,Rh,sd,At,ta,Nh,Ph,dS,Ih,Lh,ra,$h,Fh,Wh,oa,ld,zh,mS,hd,md,yd,yS,gS,bS,xS,ia,vS,SS,OS,cd,CS,Vh,ES,gd=f(()=>{Qo();tn();tn();tn();id();Qo();Qo();ud=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Oh=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},gr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Ch=Object.defineProperty,Eh=Object.defineProperties,wh=Object.getOwnPropertyDescriptors,ad=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Rh=Object.prototype.propertyIsEnumerable,sd=function(t,e,o){return e in t?Ch(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},At=function(t,e){for(var o in e||(e={}))Ah.call(e,o)&&sd(t,o,e[o]);if(ad)for(var n=0,i=ad(e);n<i.length;n++){var o=i[n];Rh.call(e,o)&&sd(t,o,e[o])}return t},ta=function(t,e){return Eh(t,wh(e))},Nh=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{c(o.next(d))}catch(p){i(p)}},s=function(d){try{c(o.throw(d))}catch(p){i(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((o=o.apply(t,e)).next())})},Ph=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yr:yr.apply(null,arguments)},dS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Ih=function(t){ud(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,gr([void 0],o[0].concat(this)))):new(e.bind.apply(e,gr([void 0],o.concat(this))))},e}(Array),Lh=function(t){ud(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,gr([void 0],o[0].concat(this)))):new(e.bind.apply(e,gr([void 0],o.concat(this))))},e}(Array);ra=!0;$h="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fh=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=$h[Math.random()*64|0];return e},Wh=["name","message","stack","code"],oa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ld=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),zh=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Wh;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},mS=function(){function t(e,o,n){var i=Rt(e+"/fulfilled",function(h,g,b,v){return{payload:h,meta:ta(At({},v||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),a=Rt(e+"/pending",function(h,g,b){return{payload:void 0,meta:ta(At({},b||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=Rt(e+"/rejected",function(h,g,b,v,x){return{payload:v,error:(n&&n.serializeError||zh)(h||"Rejected"),meta:ta(At({},x||{}),{arg:b,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(g,b,v){var x=n?.idGenerator?n.idGenerator(h):Fh(),O=new d,P,R=!1;function N(_){P=_,O.abort()}var M=function(){return Nh(this,null,function(){var _,G,be,le,Nr,_e,m;return Oh(this,function(S){switch(S.label){case 0:return S.trys.push([0,4,,5]),le=(_=n?.condition)==null?void 0:_.call(n,h,{getState:b,extra:v}),jh(le)?[4,le]:[3,2];case 1:le=S.sent(),S.label=2;case 2:if(le===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Nr=new Promise(function(T,Q){return O.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:P||"Aborted"})})}),g(a(x,h,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:x,arg:h},{getState:b,extra:v}))),[4,Promise.race([Nr,Promise.resolve(o(h,{dispatch:g,getState:b,extra:v,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(T,Q){return new oa(T,Q)},fulfillWithValue:function(T,Q){return new ld(T,Q)}})).then(function(T){if(T instanceof oa)throw T;return T instanceof ld?i(T.payload,x,h,T.meta):i(T,x,h)})])];case 3:return be=S.sent(),[3,5];case 4:return _e=S.sent(),be=_e instanceof oa?s(null,x,h,_e.payload,_e.meta):s(_e,x,h),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(be)&&be.meta.condition,m||g(be),[2,be]}})})}();return Object.assign(M,{abort:N,requestId:x,arg:h,unwrap:function(){return M.then(Hh)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();hd="listener",md="completed",yd="cancelled",yS="task-"+yd,gS="task-"+md,bS=hd+"-"+yd,xS=hd+"-"+md,ia="listenerMiddleware",vS=Rt(ia+"/add"),SS=Rt(ia+"/removeAll"),OS=Rt(ia+"/remove"),CS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(cd||(cd=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vh=function(t){return function(e){setTimeout(e,t)}},ES=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vh(10);Gu()});var bd,xd=f(()=>{"use strict";gd();Go();_i();window.ftReduxStores||(window.ftReduxStores={});bd=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Xr(a))return a;if(i==null)return;let s=fd({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=dd({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Wo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let p=c(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var vd=f(()=>{"use strict";xu();_i();Mu();xd();Go()});var Sd=f(()=>{"use strict"});var Gh,Od=f(()=>{"use strict";Gh=y(X());vd();Sd();ze()});var rn,aa=f(()=>{"use strict";ze();qr();rn=class extends Xe{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var on,sa=f(()=>{"use strict";ze();qr();on=class extends Xe{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var an,Kh,nn,la,Cd,ca=f(()=>{"use strict";an=y(A());aa();sa();ze();Kh="ft-user-assets",nn=an.FtReduxStore.get({name:Kh,initialState:{savedSearches:void 0,bookmarks:void 0}}),la=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new on,this.savedSearchesService=new rn,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,an.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),nn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),nn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();nn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;nn.actions.bookmarks(o)}}},Cd=new la});var ua,Ed=f(()=>{"use strict";ze();ua=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ua});var wd,da,Ad=f(()=>{"use strict";wd=y(A()),da=class{highlightHtml(e,o){(0,wd.highlightHtml)(e,o)}};window.FluidTopicsHighlightHtmlService=new da});var Rd,pa,Nd=f(()=>{"use strict";Rd=y(A());ze();pa=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return Rd.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new pa});var Pd=f(()=>{"use strict";sa();Uo();Ed();Pi();qr();Ad();aa();Nd()});var Td=f(()=>{"use strict"});var Id,br=f(()=>{"use strict";Id=y(A());Ti();Od();ze();ca();Pd();Ai();Td();Ti();(0,Id.customElement)("ft-app-context")(ne)});function Be(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?gu:pr}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s;(a=this[fa])===null||a===void 0||a.forEach((c,d)=>{var p;let h=this.getI18nAttributeValue(d);((p=h?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,h,c)}),(s=this[sn])===null||s===void 0||s.forEach((c,d)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[d]=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[fa])===null||a===void 0||a.forEach((c,d)=>{let p=this.getI18nAttributeValue(d);p?.context&&p.key&&(i.has(d)||c.argsProvider!=null)&&(i.has(d)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(d,p,c))}),(s=this[sn])===null||s===void 0||s.forEach((c,d)=>{c.argsProvider!=null&&(this[d]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[sn])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[fa])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(i,a){i=i.toLowerCase(),this[ro].has(i)||this[ro].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[ro].forEach(i=>i()),this[ro].clear()}}return e=ro,Zh([(0,_d.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var cn,_d,Zh,fa,sn,ro,Ld,ln,un=f(()=>{"use strict";cn=y(A());br();_d=y(X()),Zh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},fa=Symbol("i18nAttributes"),sn=Symbol("i18nProperties"),ro=Symbol("i18nUnsubs");Ld=class extends Be(cn.FtLitElement){},ln=class extends Be(cn.FtLitElementRedux){}});var dn,pn,fn,oo,Ve,ha=f(()=>{"use strict";dn=y(k()),pn=y(X()),fn=y(A());wi();un();br();oo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ve=class extends ln{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":dn.nothing:dn.html`
1048
903
  <span class="ft-i18n">
1049
904
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1050
905
  </span>
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=Ma;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,Xa.customElement)("ft-i18n")(Tt);var vs=f(v());var Ss=f(E()),qt=f(Z()),Pt=f(v());var Qa=f(E());var Ja=Qa.css`
1052
- `;var bs=f(v()),xs=f(Z());var jt=f(v());var ts=f(v()),Gl={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}},es=o=>ts.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Gl});var Sg=f(rs(),1);var ns;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(ns||(ns={}));var is;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(is||(is={}));var as;(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"})(as||(as={}));var ss;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.HEADER="HEADER",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(ss||(ss={}));var ls;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(ls||(ls={}));var cs;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(cs||(cs={}));var ps;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(ps||(ps={}));var ds;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(ds||(ds={}));var fs;(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"})(fs||(fs={}));var us;(function(o){o.ASC="ASC",o.DESC="DESC"})(us||(us={}));var hs;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(hs||(hs={}));var Me;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Me||(Me={}));var ms;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(ms||(ms={}));var jo;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(jo||(jo={}));var gs;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(gs||(gs={}));var We;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(We||(We={}));var Fe;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Fe||(Fe={}));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 ys;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(ys||(ys={}));var gg={[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 Kl=o=>o.request.virtualField===Me.TITLE_ONLY&&o.request.scope===Fe.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(es(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(Fe.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Me.EVERYWHERE),this.store.actions.setRequestScope(Fe.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Kl(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 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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 Zl(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,Vl([(0,xs.state)()],r.prototype,"stateManager",void 0),r}var bt=class extends Zl(bs.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 c=o.length-1;c>=0;c--)(l=o[c])&&(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}})}},F=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 Ss.html`
906
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ve.elementDefinitions={};Ve.styles=fu;oo([(0,fn.redux)()],Ve.prototype,"editorMode",void 0);oo([(0,pn.property)()],Ve.prototype,"context",void 0);oo([(0,pn.property)()],Ve.prototype,"key",void 0);oo([(0,fn.jsonProperty)([])],Ve.prototype,"args",void 0);oo([(0,pn.property)()],Ve.prototype,"defaultMessage",void 0)});var Je,kd=f(()=>{"use strict";br();Je=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(o,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:(o,n)=>(...i)=>pr.resolveMessage(this.name,n,...i)})}}});var Dd=f(()=>{"use strict";un()});var Md=f(()=>{"use strict"});var Bd,et=f(()=>{"use strict";Bd=y(A());ha();kd();un();Dd();wi();Md();ha();(0,Bd.customElement)("ft-i18n")(Ve)});var zd=Lt(Wd=>{(function(t){var e=function(o){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}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(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function c(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function d(m){return typeof m!="string"&&(m=String(m)),m}function p(m){var S={next:function(){var T=m.shift();return{done:T===void 0,value:T}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,T){this.append(T,S)},this):Array.isArray(m)?m.forEach(function(S){this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=c(m),S=d(S);var T=this.map[m];this.map[m]=T?T+", "+S:S},h.prototype.delete=function(m){delete this.map[c(m)]},h.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},h.prototype.set=function(m,S){this.map[c(m)]=d(S)},h.prototype.forEach=function(m,S){for(var T in this.map)this.map.hasOwnProperty(T)&&m.call(S,this.map[T],T,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,T){m.push(T)}),p(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),p(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,T){m.push([T,S])}),p(m)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function b(m){return new Promise(function(S,T){m.onload=function(){S(m.result)},m.onerror=function(){T(m.error)}})}function v(m){var S=new FileReader,T=b(S);return S.readAsArrayBuffer(m),T}function x(m){var S=new FileReader,T=b(S);return S.readAsText(m),T}function O(m){for(var S=new Uint8Array(m),T=new Array(S.length),Q=0;Q<S.length;Q++)T[Q]=String.fromCharCode(S[Q]);return T.join("")}function P(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&i(m)?(this._bodyArrayBuffer=P(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=P(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="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(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=g(this);if(m)return m;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?g(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(O(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(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var N=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function M(m){var S=m.toUpperCase();return N.indexOf(S)>-1?S:m}function _(m,S){S=S||{};var T=S.body;if(m instanceof _){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!T&&m._bodyInit!=null&&(T=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=M(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&T)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(T)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})};function G(m){var S=new FormData;return m.trim().split("&").forEach(function(T){if(T){var Q=T.split("="),de=Q.shift().replace(/\+/g," "),K=Q.join("=").replace(/\+/g," ");S.append(decodeURIComponent(de),decodeURIComponent(K))}}),S}function be(m){var S=new h,T=m.replace(/\r?\n[\t ]+/g," ");return T.split(/\r?\n/).forEach(function(Q){var de=Q.split(":"),K=de.shift().trim();if(K){var po=de.join(":").trim();S.append(K,po)}}),S}R.call(_.prototype);function le(m,S){S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in S?S.statusText:"OK",this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}R.call(le.prototype),le.prototype.clone=function(){return new le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},le.error=function(){var m=new le(null,{status:0,statusText:""});return m.type="error",m};var Nr=[301,302,303,307,308];le.redirect=function(m,S){if(Nr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new le(null,{status:S,headers:{location:m}})},o.DOMException=t.DOMException;try{new o.DOMException}catch{o.DOMException=function(S,T){this.message=S,this.name=T;var Q=Error(S);this.stack=Q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function _e(m,S){return new Promise(function(T,Q){var de=new _(m,S);if(de.signal&&de.signal.aborted)return Q(new o.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function po(){K.abort()}K.onload=function(){var Pr={status:K.status,statusText:K.statusText,headers:be(K.getAllResponseHeaders()||"")};Pr.url="responseURL"in K?K.responseURL:Pr.headers.get("X-Request-URL");var _n="response"in K?K.response:K.responseText;T(new le(_n,Pr))},K.onerror=function(){Q(new TypeError("Network request failed"))},K.ontimeout=function(){Q(new TypeError("Network request failed"))},K.onabort=function(){Q(new o.DOMException("Aborted","AbortError"))},K.open(de.method,de.url,!0),de.credentials==="include"?K.withCredentials=!0:de.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&n.blob&&(K.responseType="blob"),de.headers.forEach(function(Pr,_n){K.setRequestHeader(_n,Pr)}),de.signal&&(de.signal.addEventListener("abort",po),K.onreadystatechange=function(){K.readyState===4&&de.signal.removeEventListener("abort",po)}),K.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return _e.polyfill=!0,t.fetch||(t.fetch=_e,t.Headers=h,t.Request=_,t.Response=le),o.Headers=h,o.Request=_,o.Response=le,o.fetch=_e,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:Wd)});var Hd=f(()=>{});var jd,Vd,Gd,Kd,Zd,qd,Yd,Xd,Qd,Jd,ep,xr,tp,mn,rp,vr,Sr,ue,ga=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(jd||(jd={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Vd||(Vd={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Gd||(Gd={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Kd||(Kd={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Zd||(Zd={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(qd||(qd={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Yd||(Yd={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Xd||(Xd={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Qd||(Qd={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Jd||(Jd={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ep||(ep={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(xr||(xr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(tp||(tp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(mn||(mn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(rp||(rp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(vr||(vr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Sr||(Sr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ue||(ue={}))});var op,np=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(op||(op={}))});var qO,ip=f(()=>{ga();qO={[ue.PERSONAL_BOOK_SHARE_USER]:[ue.PERSONAL_BOOK_USER],[ue.HTML_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.PDF_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.KHUB_ADMIN]:[ue.CONTENT_PUBLISHER],[ue.ADMIN]:[ue.KHUB_ADMIN,ue.USERS_ADMIN,ue.PORTAL_ADMIN],[ue.DEVELOPER]:[ue.BETA_USER,ue.DEBUG_USER]}});var ap=f(()=>{});var JO,ba=f(()=>{JO=y(zd(),1);Hd();ga();np();ip();ap()});var sp,lp=f(()=>{Vn();sp=t=>t??ae});var cp=f(()=>{lp()});function up(t){var e,o,n,i,a;return((i=(o=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===mn.EXTERNAL}function yn(t){var e,o,n,i,a;if(up(t))return(i=(o=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case vr.MAP:return t.map.readerUrl;case vr.DOCUMENT:return t.document.viewerUrl;case vr.TOPIC:return t.topic.readerUrl}return""}function dp(t,e){return sp(e&&up(t)?"_blank":void 0)}var Or,xa=f(()=>{"use strict";ba();cp();Or=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var mp,Xh,Sa,Oa=f(()=>{"use strict";mp=y(k()),Xh={},Sa=mp.css`
907
+ `});var yp=f(()=>{"use strict"});var gp,Qh,bp,xp=f(()=>{"use strict";gp=y(A()),Qh={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},bp=t=>gp.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Qh})});var xn,vp=f(()=>{"use strict";br();xn=class extends Xe{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}}});var tt,Sp,ao,Cr,Ca=f(()=>{"use strict";tt=y(A());xp();ba();vp();Sp=t=>t.request.virtualField===xr.TITLE_ONLY&&t.request.scope===Sr.DOCUMENTS,ao=class t extends Event{constructor(){super(t.eventName)}};ao.eventName="search-context-clear-all-filters";Cr=class t{static build(e,o){return new t(bp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new tt.Debouncer(10),this.searchDebouncer=new tt.Debouncer(100),this.suggestDebouncer=new tt.Debouncer(300),this.service=o??new xn}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let i=a=>o.some(s=>s.lang==a);i(e)||(e=i(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(xr.TITLE_ONLY),this.store.actions.setRequestScope(Sr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(xr.EVERYWHERE),this.store.actions.setRequestScope(Sr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Sp(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ao)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(i=>i!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,o){let n=this.store.getState().request.filters,i={key:e,values:o,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.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,tt.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=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof tt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,i={input:o.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,tt.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(o){!(o instanceof tt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}}});function em(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[Ea]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ea]):this.dispatchEvent(new wa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ea,Jh([(0,Cp.state)()],o.prototype,"stateManager",void 0),o}var Op,Cp,Jh,wa,Ea,we,Nt=f(()=>{"use strict";Op=y(A()),Cp=y(X());yp();Ca();Jh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},wa=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ea=Symbol("registerInterval");we=class extends em(Op.FtLitElementRedux){}});var Ep,rt,Ge,me,vn,Sn,On,ee,Aa=f(()=>{"use strict";Ep=y(k()),rt=y(X()),Ge=y(A());Oa();Nt();br();ca();me=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},vn=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Sn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},On=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},ee=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Cr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),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(D)}render(){return Ep.html`
1053
908
  <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(){Va.clearMySearches()}clear(){this.stateManager.clear()}};F.elementDefinitions={};F.styles=Ja;pt([(0,qt.property)()],F.prototype,"query",void 0);pt([(0,qt.property)()],F.prototype,"contentLocale",void 0);pt([(0,qt.property)({type:Number})],F.prototype,"pageSize",void 0);pt([(0,qt.property)({type:Boolean})],F.prototype,"searchInDocumentTitlesOnly",void 0);pt([(0,qt.property)()],F.prototype,"periodFilter",void 0);pt([(0,qt.property)()],F.prototype,"scope",void 0);pt([(0,qt.property)({type:Boolean})],F.prototype,"ignoreEmptyQuery",void 0);pt([(0,Pt.redux)({store:N.name})],F.prototype,"openExternalDocumentInNewTab",void 0);pt([(0,Pt.jsonProperty)([])],F.prototype,"filters",void 0);pt([(0,Pt.jsonProperty)([])],F.prototype,"sort",void 0);pt([(0,Pt.redux)({store:"search"})],F.prototype,"request",void 0);pt([(0,Pt.redux)({store:"search"})],F.prototype,"paging",void 0);pt([(0,Pt.redux)({store:"search",selector:o=>o.spellcheck})],F.prototype,"autocorrect",void 0);pt([(0,Pt.redux)({store:N.name})],F.prototype,"session",void 0);pt([(0,qt.property)({attribute:!1})],F.prototype,"searchServiceProvider",void 0);(0,vs.customElement)("ft-search-context")(F);var Os=f(v()),Es=f(Z());var Cs;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Cs||(Cs={}));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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 ql(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,jl([(0,Es.state)()],r.prototype,"stateManager",void 0),r}var Xo=class extends ql(Os.FtLitElementRedux){};var Ls=f(v());var Qo=f(E()),Ns=f(v());var Rs=f(E());var As=Rs.css`
1055
-
1056
- `;var He=Dt.build("searchResultsNumber"),ws={results:"{0} results","results[\\=1]":"1 result"};var Yl=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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,ws)}render(){return this.paging==null?Qo.nothing:Qo.html`
1057
- <ft-typography variant="body1">
1058
- ${He.messages.results(this.paging.totalClustersCount)}
1059
- </ft-typography>
1060
- `}};Yt.elementDefinitions={"ft-typography":W};Yt.styles=As;Yl([(0,Ns.redux)()],Yt.prototype,"paging",void 0);(0,Ls.customElement)("ft-search-results-number")(Yt);var Us=f(v());var Qr=f(E()),er=f(v());var mo=Dt.build("designedSearchInput");var xe=f(Z()),$s=f(Ye());var tr=f(v()),Jo=f(E()),ks=f(Z());var Is=f(E());var Ts=Is.css`
909
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),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(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Sn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new On(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new vn(e))}reloadSavedSearches(){Cd.clearMySearches()}clear(){this.stateManager.clear()}};ee.elementDefinitions={};ee.styles=Sa;me([(0,Ge.redux)({store:D.name})],ee.prototype,"session",void 0);me([(0,rt.property)()],ee.prototype,"query",void 0);me([(0,rt.property)()],ee.prototype,"contentLocale",void 0);me([(0,rt.property)({type:Number})],ee.prototype,"pageSize",void 0);me([(0,rt.property)({type:Boolean})],ee.prototype,"searchInDocumentTitlesOnly",void 0);me([(0,rt.property)()],ee.prototype,"periodFilter",void 0);me([(0,rt.property)()],ee.prototype,"scope",void 0);me([(0,rt.property)()],ee.prototype,"virtualField",void 0);me([(0,rt.property)({type:Boolean})],ee.prototype,"ignoreEmptyQuery",void 0);me([(0,Ge.redux)({store:D.name})],ee.prototype,"openExternalDocumentInNewTab",void 0);me([(0,Ge.jsonProperty)([])],ee.prototype,"filters",void 0);me([(0,Ge.jsonProperty)([])],ee.prototype,"sort",void 0);me([(0,Ge.redux)({store:"search"})],ee.prototype,"request",void 0);me([(0,Ge.redux)({store:"search"})],ee.prototype,"paging",void 0);me([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],ee.prototype,"autocorrect",void 0);me([(0,rt.property)({attribute:!1})],ee.prototype,"searchServiceProvider",void 0)});var wp=f(()=>{"use strict"});var Rp={};_t(Rp,{ClearAllFiltersEvent:()=>ao,FtSearchContext:()=>ee,FtSearchContextCssVariables:()=>Xh,FtSearchStateManager:()=>Cr,LoadErrorEvent:()=>vn,SearchRequestChangeEvent:()=>Sn,SearchResultsChangeEvent:()=>On,searchInDocumentTitlesOnlySelector:()=>Sp,styles:()=>Sa});var Ap,Np=f(()=>{"use strict";Ap=y(A());Aa();Oa();wp();Aa();Ca();(0,Ap.customElement)("ft-search-context")(ee)});var so,Pp=f(()=>{"use strict";et();so=Je.build("designedSearchInput")});var Tp,Ip,Lp=f(()=>{"use strict";Tp=y(k());Zr();Ip=Tp.css`
1061
910
  * {
1062
911
  box-sizing: border-box;
1063
912
  }
1064
913
 
1065
914
  .ft-search-input-suggestion {
1066
915
  position: absolute;
1067
- z-index: ${D.floatingZIndex};
916
+ z-index: ${Z.floatingZIndex};
1068
917
  top: calc(100% + 2px);
1069
918
  left: -1px;
1070
919
  right: -1px;
1071
- background: ${D.colorSurface};
1072
- border: 1px solid ${D.colorOutline};
1073
- border-radius: 0 0 ${D.borderRadius} ${D.borderRadius};
1074
- box-shadow: ${D.elevation02};
920
+ background: ${Z.colorSurface};
921
+ border: 1px solid ${Z.colorOutline};
922
+ border-radius: 0 0 ${Z.borderRadius} ${Z.borderRadius};
923
+ box-shadow: ${Z.elevation02};
1075
924
  }
1076
925
 
1077
926
  .ft-search-input-suggestion--suggestion {
@@ -1082,7 +931,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1082
931
  padding: 8px;
1083
932
  gap: 8px;
1084
933
  cursor: pointer;
1085
- color: ${D.colorOnSurface};
934
+ color: ${Z.colorOnSurface};
1086
935
  min-height: 44px;
1087
936
  }
1088
937
 
@@ -1099,32 +948,32 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1099
948
  flex-grow: 1;
1100
949
  flex-shrink: 1;
1101
950
  }
1102
- `;var Bs=f(Yr());var _s=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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`
951
+ `});var Ra=Lt((YC,_p)=>{_p.exports=ftGlobals.litRepeat});var En,Cn,Dp,Mp,kp,Na,Gt,Bp=f(()=>{"use strict";En=y(A()),Cn=y(k()),Dp=y(X());Lp();Mp=y(Ra());hi();go();at();Nt();kp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Na=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Gt=class extends we{render(){return Cn.html`
1103
952
  <div class="ft-search-input-suggestion ft-word-wrap"
1104
953
  part="container"
1105
- @keydown=${t=>this.onSuggestKeyDown(t)}>
1106
- ${(0,Bs.repeat)(this.suggestResults||[],t=>t.value,t=>Jo.html`
954
+ @keydown=${e=>this.onSuggestKeyDown(e)}>
955
+ ${(0,Mp.repeat)(this.suggestResults||[],e=>e.value,e=>Cn.html`
1107
956
  <a href="#"
1108
957
  part="suggestion"
1109
958
  class="ft-search-input-suggestion--suggestion"
1110
- @keyup=${r=>this.onSuggestKeyUp(r,t.value)}
1111
- @click=${r=>this.onSuggestSelected(r,t.value)}>
959
+ @keyup=${o=>this.onSuggestKeyUp(o,e.value)}
960
+ @click=${o=>this.onSuggestSelected(o,e.value)}>
1112
961
  <ft-ripple></ft-ripple>
1113
- ${this.getIcon(t)}
1114
- <ft-typography variant="body1">${t.value}</ft-typography>
962
+ ${this.getIcon(e)}
963
+ <ft-typography variant="body1">${e.value}</ft-typography>
1115
964
  </a>
1116
965
  `)}
1117
966
  </div>
1118
- `}onSuggestKeyDown(t){var r,n,i,a,l,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=(l=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&l!==void 0?l: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"?Lt.file_format:Lt.fluid_topics,n;switch(t.type){case"MAP":n=t.editorialType==="BOOK"?re.BOOK:re.ARTICLE;break;case"DOCUMENT":n=ga(t.mimeType,t.filenameExtension);break;case"TOPIC":n=re.TOPICS;break}return Jo.html`
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":W,"ft-icon":yt};ye.styles=[tr.wordWrap,Ts];_s([(0,tr.redux)()],ye.prototype,"suggestResults",void 0);ye=_s([(0,ks.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 c=o.length-1;c>=0;c--)(l=o[c])&&(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
- <div class="${(0,$s.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
967
+ `}onSuggestKeyDown(e){var o,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.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(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),this.dispatchEvent(new Na(o))}getIcon(e){let o=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?xt.BOOK:xt.ARTICLE;break;case"DOCUMENT":n=Hc(e.mimeType,e.filenameExtension);break;case"TOPIC":n=xt.TOPICS;break}return Cn.html`
968
+ <ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
969
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Gt.elementDefinitions={"ft-ripple":Y,"ft-typography":oe,"ft-icon":Ee};Gt.styles=[En.wordWrap,Ip];kp([(0,En.redux)()],Gt.prototype,"suggestResults",void 0);Gt=kp([(0,Dp.customElement)("ft-search-input-suggestion")],Gt)});var Pa,wn,lo,Up,Er,Ie,Ta=f(()=>{"use strict";Pa=y(k()),wn=y(A());Zr();Nt();et();Pp();lo=y(X()),Up=y(_r());Bp();Lo();at();Er=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ie=class extends Be(we){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(so)}render(){var e,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return Pa.html`
970
+ <div class="${(0,Up.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1122
971
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1123
972
  <div class="ft-search-input--input-outline" part="input-outline">
1124
973
  <input class="ft-search-input--input ft-typography--body2"
1125
974
  part="input"
1126
975
  type="search"
1127
- placeholder="${this.placeholder}"
976
+ placeholder="${so.messages.placeholder()}"
1128
977
  .value="${this.liveQuery}"
1129
978
  @input=${i=>this.onInput(i)}
1130
979
  @keydown=${i=>this.onSearchBarKeyDown(i)}
@@ -1135,13 +984,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1135
984
  ></ft-search-input-suggestion>
1136
985
  </div>
1137
986
  <div class="ft-search-input--actions" part="actions">
1138
- ${this.liveQuery?Qr.html`
987
+ ${this.liveQuery?Pa.html`
1139
988
  <ft-button id="clear-button"
1140
989
  class="ft-search-input--clear-query"
1141
990
  part="clear-query"
1142
991
  icon="close"
1143
992
  round dense
1144
- label="${mo.messages.clearButton()}"
993
+ label="${so.messages.clearButton()}"
1145
994
  @click=${()=>this.liveQuery=""}
1146
995
  ></ft-button>
1147
996
  <div class="ft-search-input--separator"></div>
@@ -1150,50 +999,206 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1150
999
  part="launch-search-in-input"
1151
1000
  icon="search"
1152
1001
  round dense
1153
- label="${mo.messages.searchButton()}"
1002
+ label="${so.messages.searchButton()}"
1154
1003
  @click=${()=>this.launchSearch(this.liveQuery)}
1155
1004
  ></ft-button>
1156
1005
  </div>
1157
1006
  </div>
1158
- `}onSearchBarKeyDown(t){switch(t.key){case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":t.stopPropagation();break}}onSearchBarKeyUp(t){switch(t.key){case"Backspace":t.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(t){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(t){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(t),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(t){this.launchSearch(t.detail)}};dt.elementDefinitions={"ft-search-input-suggestion":ye,"ft-button":lt};dt.styles=[Eo,La];be([(0,er.redux)()],dt.prototype,"request",void 0);be([(0,er.redux)()],dt.prototype,"liveQuery",void 0);be([(0,er.redux)()],dt.prototype,"suggestResults",void 0);be([(0,xe.state)()],dt.prototype,"forceCloseSuggestion",void 0);be([(0,xe.property)({type:String})],dt.prototype,"placeholder",void 0);be([(0,xe.query)(".ft-search-input--input")],dt.prototype,"input",void 0);be([(0,xe.query)("ft-search-input-suggestion")],dt.prototype,"suggestion",void 0);(0,Us.customElement)("ft-search-input")(dt);var Js=f(v());var ar=f(E()),Qs=f(Yr()),sr=f(Z()),yo=f(v());var Ds=f(E());var Ms=Ds.css`
1007
+ `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var o;(o=this.stateManager)===null||o===void 0||o.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Ie.elementDefinitions={"ft-search-input-suggestion":Gt,"ft-button":Pe};Ie.styles=[mo,Si];Er([(0,wn.redux)()],Ie.prototype,"request",void 0);Er([(0,wn.redux)()],Ie.prototype,"liveQuery",void 0);Er([(0,wn.redux)()],Ie.prototype,"suggestResults",void 0);Er([(0,lo.state)()],Ie.prototype,"forceCloseSuggestion",void 0);Er([(0,lo.query)(".ft-search-input--input")],Ie.prototype,"input",void 0);Er([(0,lo.query)("ft-search-input-suggestion")],Ie.prototype,"suggestion",void 0)});var $p=f(()=>{"use strict"});var Wp={};_t(Wp,{FtSearchInput:()=>Ie,FtSearchInputCssVariables:()=>Z,styles:()=>Si});var Fp,zp=f(()=>{"use strict";Fp=y(A());Ta();Zr();$p();Ta();(0,Fp.customElement)("ft-search-input")(Ie)});var Hp,tm,Ia,La=f(()=>{"use strict";Hp=y(k()),tm={},Ia=Hp.css`
1008
+ `});var _a,jp=f(()=>{"use strict";et();_a=Je.fromGwt("designedActionBlockAriaLabels")});var An,ka,Vp,pt,Da=f(()=>{"use strict";An=y(k()),ka=y(A());La();Lo();Nt();et();jp();Vp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},pt=class extends Be(we){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(_a)}render(){return this.isLastPage?An.nothing:An.html`
1009
+ <ft-button @click="${this.loadMore}">
1010
+ ${_a.messages.searchPageLoadMore()}
1011
+ </ft-button>
1012
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};pt.elementDefinitions={"ft-button":Pe};pt.styles=Ia;Vp([(0,ka.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&o!==void 0?o:1}})],pt.prototype,"currentPage",void 0);Vp([(0,ka.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&o!==void 0?o:!0}})],pt.prototype,"isLastPage",void 0)});var Gp=f(()=>{"use strict"});var Zp={};_t(Zp,{FtSearchLoadMoreButton:()=>pt,FtSearchLoadMoreButtonCssVariables:()=>tm,styles:()=>Ia});var Kp,qp=f(()=>{"use strict";Kp=y(A());Da();La();Gp();Da();(0,Kp.customElement)("ft-search-load-more-button")(pt)});function rm(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ba]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Ba]):this.dispatchEvent(new Ua)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Ba,Ma([(0,Rn.property)({attribute:!1})],o.prototype,"cluster",void 0),Ma([(0,Rn.property)({attribute:!1})],o.prototype,"result",void 0),Ma([(0,Rn.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var Rn,Ma,Ua,Ba,wr,$a=f(()=>{"use strict";Nt();Rn=y(X()),Ma=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ua=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Ba=Symbol("registerInterval");wr=class extends rm(we){}});var Fa,Yp,Kt,Wa=f(()=>{"use strict";Fa=y(k());$a();ko();Yp=y(Po());at();Kt=class extends wr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Fa.html`
1013
+ <ft-typography variant="body1" part="text">${(0,Yp.unsafeHTML)(e)}</ft-typography>
1014
+ `:Fa.html`
1015
+ <style>
1016
+ :host {
1017
+ display: none !important;
1018
+ }
1019
+ </style>
1020
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};Kt.elementDefinitions={"ft-typography":oe};Kt.styles=Oi});var Xp=f(()=>{"use strict"});var Jp={};_t(Jp,{FtSearchResultAbstract:()=>Kt,FtSearchResultAbstractCssVariables:()=>_o,styles:()=>Oi});var Qp,za=f(()=>{"use strict";Qp=y(A());Wa();ko();Xp();Wa();(0,Qp.customElement)("ft-search-result-abstract")(Kt)});var Nn,ef,Zt,Ha=f(()=>{"use strict";Nn=y(k());$a();Mo();at();ef=y(Po());xa();Zt=class extends wr{render(){var e;return this.result?Nn.html`
1021
+ <a href="${this.result?yn(this.result):""}" @click=${this.onResultClick} target="${dp(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
1022
+ <ft-typography variant="title" part="text">${(0,ef.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
1023
+ </a>
1024
+ `:Nn.nothing}onResultClick(){this.dispatchEvent(new Or(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}};Zt.elementDefinitions={"ft-typography":oe};Zt.styles=Ci});var tf=f(()=>{"use strict"});var of={};_t(of,{FtSearchResultTitle:()=>Zt,FtSearchResultTitleCssVariables:()=>Do,styles:()=>Ci});var rf,ja=f(()=>{"use strict";rf=y(A());Ha();Mo();tf();Ha();(0,rf.customElement)("ft-search-result-title")(Zt)});var nf,om,Va,Ga=f(()=>{"use strict";nf=y(k()),om={},Va=nf.css`
1159
1025
  [part="no-results-message"] {
1160
1026
  text-align: center;
1161
1027
  padding: 12px;
1162
1028
  }
1163
- `;var Gs=f(v());var Hs=f(E()),go=f(Z()),zs=f(v());var Ws=f(E());var Fs=Ws.css`
1029
+ `});var af,sf,Ka=f(()=>{"use strict";af=y(k()),sf=af.css`
1164
1030
  a {
1165
1031
  color: inherit;
1166
1032
  text-decoration: inherit;
1167
1033
  }
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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 zs.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new or(t=>this.onResultSelected(t))}render(){return Hs.html`
1034
+ `});var Pn,lf=f(()=>{"use strict";Pn=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,o){this.cluster=e,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var cf,co,uf,qa,Za,ft,Ya=f(()=>{"use strict";cf=y(k()),co=y(X()),uf=y(A());Ka();lf();qa=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Za=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},ft=class extends uf.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Pn(e=>this.onResultSelected(e))}render(){return cf.html`
1169
1035
  <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=Fs;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,Gs.customElement)("ft-search-result-context")(Xt);var qs=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 Xl(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 Xl(bt){};var js=f(ko());var Ks=o=>o??Y;function Vs(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(Vs(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 We.MAP:return o.map.readerUrl;case We.DOCUMENT:return o.document.viewerUrl;case We.TOPIC:return o.topic.readerUrl}return""}function Zs(o,t){return Ks(t&&Vs(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
- <a href="${this.result?nr(this.result):""}" @click=${this.onResultClick} target="${Zs(this.result,(t=this.stateManager)===null||t===void 0?void 0:t.openExternalDocumentInNewTab)}">
1172
- <ft-typography variant="title" part="text">${(0,js.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
1173
- </a>
1174
- `:ir.nothing}onResultClick(){this.dispatchEvent(new Ge(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}};Ke.elementDefinitions={"ft-typography":W};Ke.styles=Ba;(0,qs.customElement)("ft-search-result-title")(Ke);var Xs=f(v());var nn=f(E());var Ys=f(ko());var Ve=class extends ze{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?nn.html`
1175
- <ft-typography variant="body1" part="text">${(0,Ys.unsafeHTML)(t)}</ft-typography>
1176
- `:nn.html`
1177
- <style>
1178
- :host {
1179
- display: none !important;
1180
- }
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":W};Ve.styles=Pa;(0,Xs.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 c=o.length-1;c>=0;c--)(l=o[c])&&(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`
1036
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Za(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};ft.elementDefinitions={};ft.styles=sf;qa([(0,co.property)({attribute:!1})],ft.prototype,"cluster",void 0);qa([(0,co.state)()],ft.prototype,"result",void 0);qa([(0,co.property)()],ft.prototype,"index",void 0)});var df=f(()=>{"use strict"});var pf,ff=f(()=>{"use strict";pf=y(A());Ya();Ka();df();Ya();(0,pf.customElement)("ft-search-result-context")(ft)});var Ar,hf,Xa=f(()=>{"use strict";et();Ar=Je.build("searchResultsNumber"),hf={results:"{0} results","results[\\=1]":"1 result"}});var Tn,mf,In,uo,Rr,$e,Qa=f(()=>{"use strict";Tn=y(k()),mf=y(Ra()),In=y(X()),uo=y(A());Ga();Nt();ff();ja();za();et();Xa();Rr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},$e=class extends Be(we){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>Tn.html`
1183
1037
  <ft-search-result-title></ft-search-result-title>
1184
1038
  <ft-search-result-abstract></ft-search-result-abstract>
1185
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(He)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return ar.html`
1186
- <ft-typography part="no-results-message" variant="body1">${He.messages.results(0)}</ft-typography>
1187
- `;let t=this.buildClusters();return(0,Qs.repeat)(t,r=>r.id,(r,n)=>{var i;return ar.html`
1188
- <ft-search-result-context .cluster=${r} index="${n}"
1189
- @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1190
- ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1039
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Ar)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return Tn.html`
1040
+ <ft-typography part="no-results-message" variant="body1">${Ar.messages.results(0)}</ft-typography>
1041
+ `;let e=this.buildClusters();return(0,mf.repeat)(e,o=>o.id,(o,n)=>{var i;return Tn.html`
1042
+ <ft-search-result-context .cluster=${o} index="${n}"
1043
+ @ft-search-result-cluster-change="${a=>this.onClusterChange(o.id,a.detail)}">
1044
+ ${this.renderResult((i=this.selectedResultByCluster[o.id])!==null&&i!==void 0?i:o.entries[0],n)}
1191
1045
  </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,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=Ms;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,Js.customElement)("ft-search-results")(Ot);var ol=f(v());var bo=f(E()),xo=f(Z()),tl=f(v());var el=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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 tl.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
- <div id="container" part="container" class=${(0,el.classMap)(t)}>
1194
- ${this.clickable?bo.html`
1046
+ `})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o;let n=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&o!==void 0?o:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(e){var o,n,i,a,s;return(a=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};$e.styles=Va;Rr([(0,In.property)({type:String,attribute:"cluster-policy"})],$e.prototype,"clusterPolicy",void 0);Rr([(0,In.property)({type:Boolean})],$e.prototype,"displayNoResultsMessage",void 0);Rr([(0,In.property)({attribute:!1})],$e.prototype,"renderResult",void 0);Rr([(0,uo.jsonProperty)([])],$e.prototype,"clusterSortCriterion",void 0);Rr([(0,uo.redux)()],$e.prototype,"request",void 0);Rr([(0,uo.redux)()],$e.prototype,"results",void 0)});var yf=f(()=>{"use strict"});var bf={};_t(bf,{FtSearchResults:()=>$e,FtSearchResultsCssVariables:()=>om,styles:()=>Va});var gf,xf=f(()=>{"use strict";gf=y(A());Qa();Ga();yf();Qa();(0,gf.customElement)("ft-search-results")($e)});var vf,nm,Ja,es=f(()=>{"use strict";vf=y(k()),nm={},Ja=vf.css`
1047
+
1048
+ `});var Ln,Sf,im,Pt,ts=f(()=>{"use strict";Ln=y(k()),Sf=y(A());es();Nt();et();Xa();at();im=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Pt=class extends Be(we){constructor(){super(),this.addI18nContext(Ar,hf)}render(){return this.paging==null?Ln.nothing:Ln.html`
1049
+ <ft-typography variant="body1">
1050
+ ${Ar.messages.results(this.paging.totalClustersCount)}
1051
+ </ft-typography>
1052
+ `}};Pt.elementDefinitions={"ft-typography":oe};Pt.styles=Ja;im([(0,Sf.redux)()],Pt.prototype,"paging",void 0)});var Of=f(()=>{"use strict"});var Ef={};_t(Ef,{FtSearchResultsNumber:()=>Pt,FtSearchResultsNumberCssVariables:()=>nm,styles:()=>Ja});var Cf,wf=f(()=>{"use strict";Cf=y(A());ts();es();Of();ts();(0,Cf.customElement)("ft-search-results-number")(Pt)});var Af=y(A());var Le=y(k()),rs=y(A());var Ei=y(k()),L=y(A());var ps=y(k()),$=y(A());kt();var z={padding:$.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:$.FtCssVariableFactory.extend("--ft-card-border-radius","",$.designSystemVariables.borderRadiusM),borderStyle:$.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:$.FtCssVariableFactory.extend("--ft-card-border-color","",$.designSystemVariables.colorOutline),hoverBorderColor:$.FtCssVariableFactory.extend("--ft-card-hover-border-color","",$.designSystemVariables.colorPrimary),outlineStyle:$.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:$.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:$.FtCssVariableFactory.extend("--ft-card-outline-color","",$.designSystemVariables.colorPrimary),selectedOutlineStyle:$.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:$.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:$.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",$.designSystemVariables.colorPrimary),selectedBorderRadius:$.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",$.designSystemVariables.borderRadiusM),colorSurface:$.FtCssVariableFactory.extend("--ft-card-background-color","",$.designSystemVariables.colorSurface),colorOnSurfaceMedium:$.FtCssVariableFactory.extend("--ft-card-content-color","",$.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:$.FtCssVariableFactory.extend("--ft-card-title-color","",$.designSystemVariables.colorOnSurfaceHigh),elevation02:$.FtCssVariableFactory.extend("--ft-card-elevation","",$.designSystemVariables.elevation02),elevation04:$.FtCssVariableFactory.extend("--ft-card-selected-elevation","",$.designSystemVariables.elevation04)},fs=ps.css`
1053
+ :host {
1054
+ display: block;
1055
+ }
1056
+
1057
+ #container {
1058
+ padding: ${z.padding};
1059
+ outline-style: ${z.outlineStyle};
1060
+ outline-width: ${z.outlineWidth};
1061
+ outline-color: ${z.outlineColor};
1062
+ border-color: ${z.borderColor};
1063
+ border-style: ${z.borderStyle};
1064
+ border-width: 1px;
1065
+ border-radius: ${z.borderRadius};
1066
+ ${(0,$.setVariable)(U.borderRadius,z.borderRadius)};
1067
+ box-shadow: ${z.elevation02};
1068
+ position: relative;
1069
+ width: 100%;
1070
+ height: 100%;
1071
+ display: grid;
1072
+ grid-template:
1073
+ "header actions"
1074
+ "content content";
1075
+ grid-template-columns: minmax(0, 1fr) max-content;
1076
+ grid-template-rows: max-content minmax(0, 1fr);
1077
+ grid-gap: 8px;
1078
+ box-sizing: border-box;
1079
+ background-color: ${z.colorSurface};
1080
+ transition: box-shadow 0.2s linear, color 0.2s linear;
1081
+ }
1082
+
1083
+ #container.no-header {
1084
+ grid-template: "content";
1085
+ }
1086
+
1087
+ #container.no-header #header, #container.no-header #action {
1088
+ display: none;
1089
+ }
1090
+
1091
+ #container.selected {
1092
+ outline-style: ${z.selectedOutlineStyle};
1093
+ outline-width: ${z.selectedOutlineWidth};
1094
+ outline-color: ${z.selectedOutlineColor};
1095
+ border-radius: ${z.selectedBorderRadius};
1096
+ ${(0,$.setVariable)(U.borderRadius,z.selectedBorderRadius)};
1097
+ box-shadow: ${z.elevation04};
1098
+ }
1099
+
1100
+ #container.clickable {
1101
+ cursor: pointer;
1102
+ }
1103
+
1104
+ #container.clickable:hover {
1105
+ box-shadow: ${z.elevation04};
1106
+ border-color: ${z.hoverBorderColor};
1107
+ }
1108
+
1109
+ #header {
1110
+ grid-area: header;
1111
+ }
1112
+
1113
+ .title {
1114
+ text-overflow: ellipsis;
1115
+ overflow: hidden;
1116
+ word-break: break-word;
1117
+ color: ${z.colorOnSurfaceHigh};
1118
+ }
1119
+
1120
+ #content {
1121
+ word-break: break-word;
1122
+ min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
1123
+ grid-area: content;
1124
+ color: ${z.colorOnSurfaceMedium};
1125
+ }
1126
+
1127
+ #action {
1128
+ grid-area: actions;
1129
+ }
1130
+ `;Zr();ko();kt();Mo();var fe={searchFieldBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",L.designSystemVariables.colorSurface),searchFieldBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",L.designSystemVariables.colorOutline),searchFieldTextColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",L.designSystemVariables.colorOnSurface),searchFieldBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",L.designSystemVariables.borderRadiusS),searchButtonColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",L.designSystemVariables.colorPrimary),resultsNumberColor:L.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",L.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",L.designSystemVariables.colorSurface),resultBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",L.designSystemVariables.colorOutline),resultBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",L.designSystemVariables.borderRadiusS),resultTitleTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",L.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",L.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",L.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:L.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",L.designSystemVariables.colorPrimary),resultHoverBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",L.designSystemVariables.colorPrimary)},uu=Ei.css`
1131
+ .ft-search-in-doc--container {
1132
+ display: flex;
1133
+ flex-direction: column;
1134
+ gap: 8px;
1135
+ }
1136
+
1137
+ ft-search-input {
1138
+ ${(0,L.setVariable)(Z.colorSurface,fe.searchFieldBackgroundColor)};
1139
+ ${(0,L.setVariable)(Z.colorOutline,fe.searchFieldBorderColor)};
1140
+ ${(0,L.setVariable)(Z.colorOnSurface,fe.searchFieldTextColor)};
1141
+ ${(0,L.setVariable)(Z.borderRadius,fe.searchFieldBorderRadius)};
1142
+ ${(0,L.setVariable)(Z.buttonColor,fe.searchButtonColor)};
1143
+ }
1144
+
1145
+ ft-search-results-number {
1146
+ margin-left: 12px;
1147
+ }
1148
+
1149
+ ft-search-results-number, ft-search-results::part(no-results-message) {
1150
+ color: ${fe.resultsNumberColor};
1151
+ }
1152
+
1153
+ ft-search-load-more-button {
1154
+ margin: auto;
1155
+ }
1156
+ `,du=Ei.css`
1157
+ ft-card {
1158
+ margin-bottom: 8px;
1159
+ ${(0,L.setVariable)(z.elevation04,"none")};
1160
+ ${(0,L.setVariable)(z.elevation02,"none")};
1161
+ ${(0,L.setVariable)(z.borderStyle,"solid")};
1162
+ ${(0,L.setVariable)(z.borderRadius,L.designSystemVariables.borderRadiusS)};
1163
+ ${(0,L.setVariable)(z.colorSurface,fe.resultBackgroundColor)};
1164
+ ${(0,L.setVariable)(z.borderColor,fe.resultBorderColor)};
1165
+ ${(0,L.setVariable)(z.borderRadius,fe.resultBorderRadius)};
1166
+ }
1167
+
1168
+ ft-search-result-title {
1169
+ color: ${fe.resultTitleTextColor};
1170
+ ${(0,L.setVariable)(Do.highlightBackgroundColor,fe.resultHighlightBackgroundColor)};
1171
+ }
1172
+
1173
+ .breadcrumb {
1174
+ color: ${fe.resultBreadcrumbTextColor};
1175
+ }
1176
+
1177
+ ft-search-result-abstract {
1178
+ color: ${fe.resultContentTextColor};
1179
+ ${(0,L.setVariable)(_o.highlightBackgroundColor,fe.resultHighlightBackgroundColor)};
1180
+ }
1181
+
1182
+ ft-card:hover {
1183
+ ${(0,L.setVariable)(z.hoverBorderColor,fe.resultHoverBorderColor)};
1184
+ ${(0,L.setVariable)(U.color,fe.resultHoverBackgroundColor)};
1185
+ }
1186
+
1187
+ .result-container {
1188
+ display: flex;
1189
+ flex-direction: column;
1190
+ gap: 4px;
1191
+ }
1192
+
1193
+ a, a:hover, a:focus, a:active {
1194
+ text-decoration: none;
1195
+ color: inherit;
1196
+ }
1197
+ `;et();var $d=y(A()),Fd=y(X());var Ud;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ud||(Ud={}));var qh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ya=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ma=Symbol("registerInterval");function Yh(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[ma]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ma]):this.dispatchEvent(new ya)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ma,qh([(0,Fd.state)()],o.prototype,"stateManager",void 0),o}var hn=class extends Yh($d.FtLitElementRedux){};var It=y(X());xa();var gn=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};et();var va=Je.build("designedReaderSearchInDocument");var hp=y(A());var no=y(k()),io=y(X()),pp=y(A());go();at();var fp=y(_r()),bn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ue=class extends pp.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return no.html`
1198
+ <div id="container" part="container" class=${(0,fp.classMap)(e)}>
1199
+ ${this.clickable?no.html`
1195
1200
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1196
- `:bo.nothing}
1201
+ `:no.nothing}
1197
1202
  <div id="header" part="header">
1198
1203
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
1199
1204
  <slot name="header"></slot>
@@ -1207,51 +1212,47 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1207
1212
  </ft-typography>
1208
1213
  </div>
1209
1214
  </div>
1210
- `}};Mt.elementDefinitions={"ft-ripple":U,"ft-typography":W};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,ol.customElement)("ft-card")(Mt);var ae=f(Z());var al=f(v());var cr=f(E()),sn=f(v());var rl=f(E());var nl=rl.css`
1211
- `;var an=Dt.fromGwt("designedActionBlockAriaLabels");var il=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 c=o.length-1;c>=0;c--)(l=o[c])&&(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},Wt=class extends wt(bt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(an)}render(){return this.isLastPage?cr.nothing:cr.html`
1212
- <ft-button @click="${this.loadMore}">
1213
- ${an.messages.searchPageLoadMore()}
1214
- </ft-button>
1215
- `}loadMore(){var t;(t=this.stateManager)===null||t===void 0||t.setPageNumber(this.currentPage+1)}};Wt.elementDefinitions={"ft-button":lt};Wt.styles=nl;il([(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}})],Wt.prototype,"currentPage",void 0);il([(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}})],Wt.prototype,"isLastPage",void 0);(0,al.customElement)("ft-search-load-more-button")(Wt);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 c=o.length-1;c>=0;c--)(l=o[c])&&(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
- <style> ${Ua}</style>
1217
- <a href="${nr(t)}" @click="${()=>this.onLinkClick(t,r)} }">
1215
+ `}};Ue.elementDefinitions={"ft-ripple":Y,"ft-typography":oe};Ue.styles=fs;bn([(0,io.property)()],Ue.prototype,"title",void 0);bn([(0,io.property)({type:Boolean})],Ue.prototype,"clickable",void 0);bn([(0,io.property)({type:Boolean})],Ue.prototype,"selected",void 0);bn([(0,io.property)({type:Boolean})],Ue.prototype,"noHeader",void 0);(0,hp.customElement)("ft-card")(Ue);var Tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ae=class t extends Be(hn){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(va)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,o){var n;return Le.html`
1216
+ <style> ${du}</style>
1217
+ <a href="${yn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
1218
1218
  <ft-card clickable noheader>
1219
1219
  <div class="result-container">
1220
- ${this.hideResultTitle?Et.nothing:Et.html`
1220
+ ${this.hideResultTitle?Le.nothing:Le.html`
1221
1221
  <ft-search-result-title></ft-search-result-title>`}
1222
- ${this.hideResultBreadcrumb?Et.nothing:Et.html`
1223
- <ft-typography class="breadcrumb" variant="caption">${(n=t.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
1222
+ ${this.hideResultBreadcrumb?Le.nothing:Le.html`
1223
+ <ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
1224
1224
  `}
1225
- ${this.hideResultAbstract?Et.nothing:Et.html`
1225
+ ${this.hideResultAbstract?Le.nothing:Le.html`
1226
1226
  <ft-search-result-abstract></ft-search-result-abstract>
1227
1227
  `}
1228
1228
  </div>
1229
1229
  </ft-card>
1230
1230
  </a>
1231
- `}render(){return this.map?Et.html`
1231
+ `}render(){return this.map?Le.html`
1232
1232
  <ft-search-context id="${this.uniqueId}"
1233
1233
  contentLocale="${this.map.lang}"
1234
1234
  query="${this.searchInDocumentQuery}"
1235
1235
  .filters=${this.filters}
1236
1236
  scope="ALL_TOPICS"
1237
1237
  ignoreEmptyQuery
1238
- @ft-search-request-change=${t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentQuery(t.detail.query)}}
1239
- @ft-search-results-change=${t=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new pr({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:t.detail.request.query,searchResultsCount:t.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1238
+ @ft-search-request-change=${e=>{var o;return(o=this.stateManager)===null||o===void 0?void 0:o.setSearchInDocumentQuery(e.detail.query)}}
1239
+ @ft-search-results-change=${e=>{var o,n;this.userHasDoneManualAction&&(this.dispatchEvent(new gn({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(o=this.map)===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1240
1240
  <div class="ft-search-in-doc--container">
1241
- <ft-search-input placeholder=${ln.messages.placeholder()} @change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
1242
- ${this.hideResultsNumber?Et.nothing:Et.html`
1243
- <ft-search-results-number @ft-search-result-click=${t=>t.stopPropagation()}></ft-search-results-number>
1241
+ <ft-search-input placeholder=${va.messages.placeholder()}
1242
+ @change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
1243
+ ${this.hideResultsNumber?Le.nothing:Le.html`
1244
+ <ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
1244
1245
  `}
1245
1246
  <ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
1246
1247
  cluster-policy="display-all-results"
1247
- .renderResult=${(t,r)=>this.renderResult(t,r)}>
1248
+ .renderResult=${(e,o)=>this.renderResult(e,o)}>
1248
1249
  </ft-search-results>
1249
1250
  <slot name="load-more">
1250
1251
  <ft-search-load-more-button></ft-search-load-more-button>
1251
1252
  </slot>
1252
1253
  </div>
1253
1254
  </ft-search-context>
1254
- `:Et.nothing}update(t){super.update(t),t.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>t.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(t,r){this.dispatchEvent(new Ge(t,r))}};xt.elementDefinitions={"ft-button":lt,"ft-typography":W,"ft-search-context":F,"ft-search-input":dt,"ft-search-results-number":Yt,"ft-search-results":Ot,"ft-search-load-more-button":Wt};xt.styles=$a;ie([(0,cn.redux)()],xt.prototype,"map",void 0);ie([(0,cn.redux)()],xt.prototype,"searchInDocumentQuery",void 0);ie([(0,ae.query)("ft-search-context")],xt.prototype,"searchContext",void 0);ie([(0,ae.query)("ft-search-results")],xt.prototype,"searchResults",void 0);ie([(0,ae.property)({type:Boolean})],xt.prototype,"hideResultTitle",void 0);ie([(0,ae.property)({type:Boolean})],xt.prototype,"hideResultBreadcrumb",void 0);ie([(0,ae.property)({type:Boolean})],xt.prototype,"hideResultAbstract",void 0);ie([(0,ae.property)({type:Boolean})],xt.prototype,"hideResultsNumber",void 0);(0,sl.customElement)("ft-reader-search-in-document")(xt);})();
1255
+ `:Le.nothing}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Or(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Np(),Rp)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(zp(),Wp)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(qp(),Zp)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(za(),Jp)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(ja(),of)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(xf(),bf)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(wf(),Ef)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};Ae.elementDefinitions={"ft-card":Ue};Ae.styles=uu;Tt([(0,rs.redux)()],Ae.prototype,"map",void 0);Tt([(0,rs.redux)()],Ae.prototype,"searchInDocumentQuery",void 0);Tt([(0,It.query)("ft-search-context")],Ae.prototype,"searchContext",void 0);Tt([(0,It.query)("ft-search-results")],Ae.prototype,"searchResults",void 0);Tt([(0,It.property)({type:Boolean})],Ae.prototype,"hideResultTitle",void 0);Tt([(0,It.property)({type:Boolean})],Ae.prototype,"hideResultBreadcrumb",void 0);Tt([(0,It.property)({type:Boolean})],Ae.prototype,"hideResultAbstract",void 0);Tt([(0,It.property)({type:Boolean})],Ae.prototype,"hideResultsNumber",void 0);(0,Af.customElement)("ft-reader-search-in-document")(Ae);})();
1255
1256
  /*! Bundled license information:
1256
1257
 
1257
1258
  lit-html/lit-html.js:
@@ -1268,6 +1269,13 @@ lit-html/static.js:
1268
1269
  * SPDX-License-Identifier: BSD-3-Clause
1269
1270
  *)
1270
1271
 
1272
+ @lit/reactive-element/css-tag.js:
1273
+ (**
1274
+ * @license
1275
+ * Copyright 2019 Google LLC
1276
+ * SPDX-License-Identifier: BSD-3-Clause
1277
+ *)
1278
+
1271
1279
  lit-html/directives/if-defined.js:
1272
1280
  (**
1273
1281
  * @license