@fluid-topics/ft-reader-search-in-document 1.1.81 → 1.1.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-search-in-document.light.js +376 -369
- package/build/ft-reader-search-in-document.min.js +126 -126
- package/package.json +15 -15
|
@@ -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 lu=Object.create;var Ci=Object.defineProperty;var cu=Object.getOwnPropertyDescriptor;var uu=Object.getOwnPropertyNames;var du=Object.getPrototypeOf,pu=Object.prototype.hasOwnProperty;var Ot=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var fu=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of uu(e))!pu.call(t,i)&&i!==o&&Ci(t,i,{get:()=>e[i],enumerable:!(n=cu(e,i))||n.enumerable});return t};var m=(t,e,o)=>(o=t!=null?lu(du(t)):{},fu(e||!t||!t.__esModule?Ci(o,"default",{value:t,enumerable:!0}):o,t));var w=Ot(($d,Ei)=>{Ei.exports=ftGlobals.wcUtils});var _=Ot((Fd,wi)=>{wi.exports=ftGlobals.lit});var V=Ot((jd,Di)=>{Di.exports=ftGlobals.litDecorators});var vr=Ot((Pm,Ta)=>{Ta.exports=ftGlobals.litClassMap});var so=Ot((_y,Rs)=>{Rs.exports=ftGlobals.litUnsafeHTML});var oc=Ot(rc=>{(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(h){return h&&DataView.prototype.isPrototypeOf(h)}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(h){return h&&a.indexOf(Object.prototype.toString.call(h))>-1};function c(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(h))throw new TypeError("Invalid character in header field name");return h.toLowerCase()}function d(h){return typeof h!="string"&&(h=String(h)),h}function p(h){var v={next:function(){var P=h.shift();return{done:P===void 0,value:P}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(h){this.map={},h instanceof f?h.forEach(function(v,P){this.append(P,v)},this):Array.isArray(h)?h.forEach(function(v){this.append(v[0],v[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(v){this.append(v,h[v])},this)}f.prototype.append=function(h,v){h=c(h),v=d(v);var P=this.map[h];this.map[h]=P?P+", "+v:v},f.prototype.delete=function(h){delete this.map[c(h)]},f.prototype.get=function(h){return h=c(h),this.has(h)?this.map[h]:null},f.prototype.has=function(h){return this.map.hasOwnProperty(c(h))},f.prototype.set=function(h,v){this.map[c(h)]=d(v)},f.prototype.forEach=function(h,v){for(var P in this.map)this.map.hasOwnProperty(P)&&h.call(v,this.map[P],P,this)},f.prototype.keys=function(){var h=[];return this.forEach(function(v,P){h.push(P)}),p(h)},f.prototype.values=function(){var h=[];return this.forEach(function(v){h.push(v)}),p(h)},f.prototype.entries=function(){var h=[];return this.forEach(function(v,P){h.push([P,v])}),p(h)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function g(h){return new Promise(function(v,P){h.onload=function(){v(h.result)},h.onerror=function(){P(h.error)}})}function x(h){var v=new FileReader,P=g(v);return v.readAsArrayBuffer(h),P}function b(h){var v=new FileReader,P=g(v);return v.readAsText(h),P}function S(h){for(var v=new Uint8Array(h),P=new Array(v.length),K=0;K<v.length;K++)P[K]=String.fromCharCode(v[K]);return P.join("")}function N(h){if(h.slice)return h.slice(0);var v=new Uint8Array(h.byteLength);return v.set(new Uint8Array(h)),v.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(h){this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:n.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:n.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():n.arrayBuffer&&n.blob&&i(h)?(this._bodyArrayBuffer=N(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||s(h))?this._bodyArrayBuffer=N(h):this._bodyText=h=Object.prototype.toString.call(h):this._bodyText="",this.headers.get("content-type")||(typeof h=="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(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var h=y(this);if(h)return h;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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(x)}),this.text=function(){var h=y(this);if(h)return h;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(S(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(z)}),this.json=function(){return this.text().then(JSON.parse)},this}var R=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function k(h){var v=h.toUpperCase();return R.indexOf(v)>-1?v:h}function L(h,v){v=v||{};var P=v.body;if(h instanceof L){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,v.headers||(this.headers=new f(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!P&&h._bodyInit!=null&&(P=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=k(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}L.prototype.clone=function(){return new L(this,{body:this._bodyInit})};function z(h){var v=new FormData;return h.trim().split("&").forEach(function(P){if(P){var K=P.split("="),ae=K.shift().replace(/\+/g," "),H=K.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ae),decodeURIComponent(H))}}),v}function me(h){var v=new f,P=h.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(K){var ae=K.split(":"),H=ae.shift().trim();if(H){var Zr=ae.join(":").trim();v.append(H,Zr)}}),v}A.call(L.prototype);function oe(h,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new f(v.headers),this.url=v.url||"",this._initBody(h)}A.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},oe.error=function(){var h=new oe(null,{status:0,statusText:""});return h.type="error",h};var gr=[301,302,303,307,308];oe.redirect=function(h,v){if(gr.indexOf(v)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:v,headers:{location:h}})},o.DOMException=t.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,P){this.message=v,this.name=P;var K=Error(v);this.stack=K.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Pe(h,v){return new Promise(function(P,K){var ae=new L(h,v);if(ae.signal&&ae.signal.aborted)return K(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Zr(){H.abort()}H.onload=function(){var br={status:H.status,statusText:H.statusText,headers:me(H.getAllResponseHeaders()||"")};br.url="responseURL"in H?H.responseURL:br.headers.get("X-Request-URL");var Yo="response"in H?H.response:H.responseText;P(new oe(Yo,br))},H.onerror=function(){K(new TypeError("Network request failed"))},H.ontimeout=function(){K(new TypeError("Network request failed"))},H.onabort=function(){K(new o.DOMException("Aborted","AbortError"))},H.open(ae.method,ae.url,!0),ae.credentials==="include"?H.withCredentials=!0:ae.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&n.blob&&(H.responseType="blob"),ae.headers.forEach(function(br,Yo){H.setRequestHeader(Yo,br)}),ae.signal&&(ae.signal.addEventListener("abort",Zr),H.onreadystatechange=function(){H.readyState===4&&ae.signal.removeEventListener("abort",Zr)}),H.send(typeof ae._bodyInit>"u"?null:ae._bodyInit)})}return Pe.polyfill=!0,t.fetch||(t.fetch=Pe,t.Headers=f,t.Request=L,t.Response=oe),o.Headers=f,o.Request=L,o.Response=oe,o.fetch=Pe,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:rc)});var ui=Ot((w0,Lc)=>{Lc.exports=ftGlobals.litRepeat});var su=m(w());var Ne=m(_()),Oi=m(w());var Cn=m(_()),I=m(w());var _i=m(_()),U=m(w());var Ii=m(_()),ee=m(w()),Ai=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorContent),B={color:Ai,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ai),opacityContentOnSurfacePressed:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ee.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorPrimary),Ni={color:Ri,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ri)},Pi=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorSecondary),Ti={color:Pi,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",Pi)},Li=Ii.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: ${
|
|
14
|
+
border-radius: ${B.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: ${
|
|
48
|
+
background-color: ${B.backgroundColor};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
52
|
+
background-color: ${B.color};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${Ti.backgroundColor};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
60
|
+
background-color: ${Ti.color};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${Ni.backgroundColor};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${Ni.color};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,37 +95,37 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
98
|
+
opacity: ${B.opacityContentOnSurfaceHover};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
102
|
+
opacity: ${B.opacityContentOnSurfaceSelected};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
106
|
+
opacity: ${B.opacityContentOnSurfaceFocused};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
110
|
+
opacity: ${B.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`;var
|
|
113
|
+
`;var F={padding:U.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:U.FtCssVariableFactory.extend("--ft-card-border-radius","",U.designSystemVariables.borderRadiusM),borderStyle:U.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:U.FtCssVariableFactory.extend("--ft-card-border-color","",U.designSystemVariables.colorOutline),hoverBorderColor:U.FtCssVariableFactory.extend("--ft-card-hover-border-color","",U.designSystemVariables.colorPrimary),outlineStyle:U.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:U.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:U.FtCssVariableFactory.extend("--ft-card-outline-color","",U.designSystemVariables.colorPrimary),selectedOutlineStyle:U.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:U.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:U.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",U.designSystemVariables.colorPrimary),selectedBorderRadius:U.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",U.designSystemVariables.borderRadiusM),colorSurface:U.FtCssVariableFactory.extend("--ft-card-background-color","",U.designSystemVariables.colorSurface),colorOnSurfaceMedium:U.FtCssVariableFactory.extend("--ft-card-content-color","",U.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:U.FtCssVariableFactory.extend("--ft-card-title-color","",U.designSystemVariables.colorOnSurfaceHigh),elevation02:U.FtCssVariableFactory.extend("--ft-card-elevation","",U.designSystemVariables.elevation02),elevation04:U.FtCssVariableFactory.extend("--ft-card-selected-elevation","",U.designSystemVariables.elevation04)},ki=_i.css`
|
|
114
114
|
:host {
|
|
115
115
|
display: block;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
#container {
|
|
119
|
-
padding: ${
|
|
120
|
-
outline-style: ${
|
|
121
|
-
outline-width: ${
|
|
122
|
-
outline-color: ${
|
|
123
|
-
border-color: ${
|
|
124
|
-
border-style: ${
|
|
119
|
+
padding: ${F.padding};
|
|
120
|
+
outline-style: ${F.outlineStyle};
|
|
121
|
+
outline-width: ${F.outlineWidth};
|
|
122
|
+
outline-color: ${F.outlineColor};
|
|
123
|
+
border-color: ${F.borderColor};
|
|
124
|
+
border-style: ${F.borderStyle};
|
|
125
125
|
border-width: 1px;
|
|
126
|
-
border-radius: ${
|
|
127
|
-
${(0,
|
|
128
|
-
box-shadow: ${
|
|
126
|
+
border-radius: ${F.borderRadius};
|
|
127
|
+
${(0,U.setVariable)(B.borderRadius,F.borderRadius)};
|
|
128
|
+
box-shadow: ${F.elevation02};
|
|
129
129
|
position: relative;
|
|
130
130
|
width: 100%;
|
|
131
131
|
height: 100%;
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
grid-template-rows: max-content minmax(0, 1fr);
|
|
138
138
|
grid-gap: 8px;
|
|
139
139
|
box-sizing: border-box;
|
|
140
|
-
background-color: ${
|
|
140
|
+
background-color: ${F.colorSurface};
|
|
141
141
|
transition: box-shadow 0.2s linear, color 0.2s linear;
|
|
142
142
|
}
|
|
143
143
|
|
|
@@ -150,12 +150,12 @@
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
#container.selected {
|
|
153
|
-
outline-style: ${
|
|
154
|
-
outline-width: ${
|
|
155
|
-
outline-color: ${
|
|
156
|
-
border-radius: ${
|
|
157
|
-
${(0,
|
|
158
|
-
box-shadow: ${
|
|
153
|
+
outline-style: ${F.selectedOutlineStyle};
|
|
154
|
+
outline-width: ${F.selectedOutlineWidth};
|
|
155
|
+
outline-color: ${F.selectedOutlineColor};
|
|
156
|
+
border-radius: ${F.selectedBorderRadius};
|
|
157
|
+
${(0,U.setVariable)(B.borderRadius,F.selectedBorderRadius)};
|
|
158
|
+
box-shadow: ${F.elevation04};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
#container.clickable {
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
#container.clickable:hover {
|
|
166
|
-
box-shadow: ${
|
|
167
|
-
border-color: ${
|
|
166
|
+
box-shadow: ${F.elevation04};
|
|
167
|
+
border-color: ${F.hoverBorderColor};
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
#header {
|
|
@@ -175,125 +175,125 @@
|
|
|
175
175
|
text-overflow: ellipsis;
|
|
176
176
|
overflow: hidden;
|
|
177
177
|
word-break: break-word;
|
|
178
|
-
color: ${
|
|
178
|
+
color: ${F.colorOnSurfaceHigh};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
#content {
|
|
182
182
|
word-break: break-word;
|
|
183
183
|
min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
|
|
184
184
|
grid-area: content;
|
|
185
|
-
color: ${
|
|
185
|
+
color: ${F.colorOnSurfaceMedium};
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
#action {
|
|
189
189
|
grid-area: actions;
|
|
190
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,
|
|
194
|
-
font-family: ${
|
|
195
|
-
font-size: ${
|
|
196
|
-
font-weight: ${
|
|
197
|
-
letter-spacing: ${
|
|
198
|
-
line-height: ${
|
|
199
|
-
text-transform: ${
|
|
191
|
+
`;var Fs=m(_()),W=m(w());var vn=m(w());var _r=m(V()),Ms=m(w());var Na=m(_()),M=m(w());var Te=m(_()),C=m(w());var qe=m(_(),1),st=t=>typeof t=="string"?(0,qe.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>st(c??i),s=qe.css`var(${st(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>qe.css`var(${st(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=qe.css`var(${st(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=>qe.css`var(${st(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):st(a??e.lastResortDefaultValue()),i=qe.css`var(${st(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=>qe.css`var(${st(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var 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)")},Mi={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")},Bi={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")},Ui={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")},$i={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")},Fi={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")},Wi={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")},zi={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")},Hi={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")},ji={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")},hu={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")},Gi={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")},Vi={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")},Ki={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")},Zi={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")},qi={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")},Yi={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")},Xi={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")},Qi={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")},Ji={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")},ea={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")},ta={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")},ra={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")},oa={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")},na={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")},ia={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")},aa={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")},qr={display:Mi,"title-1":Bi,"title-2":Ui,"title-3":$i,"body-1-regular":Fi,"body-1-medium":Wi,"body-1-semibold":zi,"body-2-regular":Hi,"body-2-medium":ji,"body-2-medium-underline":hu,"body-2-semibold":Gi,"label-1-medium":Vi,"label-1-semibold":Ki,"label-1-bold":Zi,"label-2-medium":qi,"label-2-semibold":Yi,"label-2-bold":Xi,"caption-1-medium":Qi,"caption-1-semibold":Ji,"caption-1-bold":ea,"caption-2-medium":ta,"caption-2-semibold":ra,"caption-2-bold":oa,"caption-3-medium":na,"caption-3-semibold":ia,"caption-3-bold":aa};var 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.
|
|
192
|
+
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 E={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 np={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 cp={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 hp={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 xp={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 Ep={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 Pp={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 kp={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 $p={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 jp={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 qp={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 ef={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 af={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 df={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 yf={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 Sf={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 Af={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 If={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 Df={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 Ff={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 Gf={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 Yf={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 th={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 ah={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 dh={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 sa;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(sa||(sa={}));var la;(function(t){t.large="large",t.medium="medium",t.small="small"})(la||(la={}));var Yr=m(_());function ca(t){let e=qr[t];return Yr.css`
|
|
193
|
+
.ft-typography--${(0,Yr.unsafeCSS)(t)} {
|
|
194
|
+
font-family: ${e.fontFamily};
|
|
195
|
+
font-size: ${e.fontSize};
|
|
196
|
+
font-weight: ${e.fontWeight};
|
|
197
|
+
letter-spacing: ${e.letterSpacing};
|
|
198
|
+
line-height: ${e.lineHeight};
|
|
199
|
+
text-transform: ${e.textCase};
|
|
200
200
|
}
|
|
201
|
-
`}var
|
|
201
|
+
`}var ua=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.titleFont),Ye=C.FtCssVariableFactory.extend("--ft-typography-font-family","",C.designSystemVariables.contentFont),T={fontFamily:Ye,fontSize:C.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:C.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:C.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:C.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:C.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ut={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ua),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},$t={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ua),fontSize:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Ft={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Wt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},zt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Ht={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},jt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Gt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Vt={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},Fe={fontFamily:C.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ye),fontSize:C.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:C.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:C.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:C.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:C.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},da=Te.css`
|
|
202
202
|
.ft-typography--title {
|
|
203
|
-
font-family: ${
|
|
204
|
-
font-size: ${
|
|
205
|
-
font-weight: ${
|
|
206
|
-
letter-spacing: ${
|
|
207
|
-
line-height: ${
|
|
208
|
-
text-transform: ${
|
|
209
|
-
}
|
|
210
|
-
`,
|
|
203
|
+
font-family: ${Ut.fontFamily};
|
|
204
|
+
font-size: ${Ut.fontSize};
|
|
205
|
+
font-weight: ${Ut.fontWeight};
|
|
206
|
+
letter-spacing: ${Ut.letterSpacing};
|
|
207
|
+
line-height: ${Ut.lineHeight};
|
|
208
|
+
text-transform: ${Ut.textTransform};
|
|
209
|
+
}
|
|
210
|
+
`,pa=Te.css`
|
|
211
211
|
.ft-typography--title-dense {
|
|
212
|
-
font-family: ${
|
|
213
|
-
font-size: ${
|
|
214
|
-
font-weight: ${
|
|
215
|
-
letter-spacing: ${
|
|
216
|
-
line-height: ${
|
|
217
|
-
text-transform: ${
|
|
218
|
-
}
|
|
219
|
-
`,
|
|
212
|
+
font-family: ${$t.fontFamily};
|
|
213
|
+
font-size: ${$t.fontSize};
|
|
214
|
+
font-weight: ${$t.fontWeight};
|
|
215
|
+
letter-spacing: ${$t.letterSpacing};
|
|
216
|
+
line-height: ${$t.lineHeight};
|
|
217
|
+
text-transform: ${$t.textTransform};
|
|
218
|
+
}
|
|
219
|
+
`,fa=Te.css`
|
|
220
220
|
.ft-typography--subtitle1 {
|
|
221
|
-
font-family: ${
|
|
222
|
-
font-size: ${
|
|
223
|
-
font-weight: ${
|
|
224
|
-
letter-spacing: ${
|
|
225
|
-
line-height: ${
|
|
226
|
-
text-transform: ${
|
|
227
|
-
}
|
|
228
|
-
`,
|
|
221
|
+
font-family: ${Ft.fontFamily};
|
|
222
|
+
font-size: ${Ft.fontSize};
|
|
223
|
+
font-weight: ${Ft.fontWeight};
|
|
224
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
225
|
+
line-height: ${Ft.lineHeight};
|
|
226
|
+
text-transform: ${Ft.textTransform};
|
|
227
|
+
}
|
|
228
|
+
`,ha=Te.css`
|
|
229
229
|
.ft-typography--subtitle2 {
|
|
230
|
-
font-family: ${
|
|
231
|
-
font-size: ${
|
|
232
|
-
font-weight: ${
|
|
233
|
-
letter-spacing: ${
|
|
234
|
-
line-height: ${
|
|
235
|
-
text-transform: ${
|
|
230
|
+
font-family: ${Wt.fontFamily};
|
|
231
|
+
font-size: ${Wt.fontSize};
|
|
232
|
+
font-weight: ${Wt.fontWeight};
|
|
233
|
+
letter-spacing: ${Wt.letterSpacing};
|
|
234
|
+
line-height: ${Wt.lineHeight};
|
|
235
|
+
text-transform: ${Wt.textTransform};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
`,
|
|
238
|
+
`,ma=Te.css`
|
|
239
239
|
.ft-typography--body1 {
|
|
240
|
-
font-family: ${
|
|
241
|
-
font-size: ${
|
|
242
|
-
font-weight: ${
|
|
243
|
-
letter-spacing: ${
|
|
244
|
-
line-height: ${
|
|
245
|
-
text-transform: ${
|
|
246
|
-
}
|
|
247
|
-
`,
|
|
240
|
+
font-family: ${zt.fontFamily};
|
|
241
|
+
font-size: ${zt.fontSize};
|
|
242
|
+
font-weight: ${zt.fontWeight};
|
|
243
|
+
letter-spacing: ${zt.letterSpacing};
|
|
244
|
+
line-height: ${zt.lineHeight};
|
|
245
|
+
text-transform: ${zt.textTransform};
|
|
246
|
+
}
|
|
247
|
+
`,Xr=Te.css`
|
|
248
248
|
.ft-typography--body2 {
|
|
249
|
-
font-family: ${
|
|
250
|
-
font-size: ${
|
|
251
|
-
font-weight: ${
|
|
252
|
-
letter-spacing: ${
|
|
253
|
-
line-height: ${
|
|
254
|
-
text-transform: ${
|
|
255
|
-
}
|
|
256
|
-
`,
|
|
249
|
+
font-family: ${Ht.fontFamily};
|
|
250
|
+
font-size: ${Ht.fontSize};
|
|
251
|
+
font-weight: ${Ht.fontWeight};
|
|
252
|
+
letter-spacing: ${Ht.letterSpacing};
|
|
253
|
+
line-height: ${Ht.lineHeight};
|
|
254
|
+
text-transform: ${Ht.textTransform};
|
|
255
|
+
}
|
|
256
|
+
`,ya=Te.css`
|
|
257
257
|
.ft-typography--caption {
|
|
258
|
-
font-family: ${
|
|
259
|
-
font-size: ${
|
|
260
|
-
font-weight: ${
|
|
261
|
-
letter-spacing: ${
|
|
262
|
-
line-height: ${
|
|
263
|
-
text-transform: ${
|
|
264
|
-
}
|
|
265
|
-
`,
|
|
258
|
+
font-family: ${jt.fontFamily};
|
|
259
|
+
font-size: ${jt.fontSize};
|
|
260
|
+
font-weight: ${jt.fontWeight};
|
|
261
|
+
letter-spacing: ${jt.letterSpacing};
|
|
262
|
+
line-height: ${jt.lineHeight};
|
|
263
|
+
text-transform: ${jt.textTransform};
|
|
264
|
+
}
|
|
265
|
+
`,ga=Te.css`
|
|
266
266
|
.ft-typography--breadcrumb {
|
|
267
|
-
font-family: ${
|
|
268
|
-
font-size: ${
|
|
269
|
-
font-weight: ${
|
|
270
|
-
letter-spacing: ${
|
|
271
|
-
line-height: ${
|
|
272
|
-
text-transform: ${
|
|
273
|
-
}
|
|
274
|
-
`,
|
|
267
|
+
font-family: ${Gt.fontFamily};
|
|
268
|
+
font-size: ${Gt.fontSize};
|
|
269
|
+
font-weight: ${Gt.fontWeight};
|
|
270
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
271
|
+
line-height: ${Gt.lineHeight};
|
|
272
|
+
text-transform: ${Gt.textTransform};
|
|
273
|
+
}
|
|
274
|
+
`,ba=Te.css`
|
|
275
275
|
.ft-typography--overline {
|
|
276
|
-
font-family: ${
|
|
277
|
-
font-size: ${
|
|
278
|
-
font-weight: ${
|
|
279
|
-
letter-spacing: ${
|
|
280
|
-
line-height: ${
|
|
281
|
-
text-transform: ${
|
|
282
|
-
}
|
|
283
|
-
`,
|
|
276
|
+
font-family: ${Vt.fontFamily};
|
|
277
|
+
font-size: ${Vt.fontSize};
|
|
278
|
+
font-weight: ${Vt.fontWeight};
|
|
279
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
280
|
+
line-height: ${Vt.lineHeight};
|
|
281
|
+
text-transform: ${Vt.textTransform};
|
|
282
|
+
}
|
|
283
|
+
`,xa=Te.css`
|
|
284
284
|
.ft-typography--button {
|
|
285
|
-
font-family: ${
|
|
286
|
-
font-size: ${
|
|
287
|
-
font-weight: ${
|
|
288
|
-
letter-spacing: ${
|
|
289
|
-
line-height: ${
|
|
290
|
-
text-transform: ${
|
|
291
|
-
}
|
|
292
|
-
`,
|
|
285
|
+
font-family: ${Fe.fontFamily};
|
|
286
|
+
font-size: ${Fe.fontSize};
|
|
287
|
+
font-weight: ${Fe.fontWeight};
|
|
288
|
+
letter-spacing: ${Fe.letterSpacing};
|
|
289
|
+
line-height: ${Fe.lineHeight};
|
|
290
|
+
text-transform: ${Fe.textTransform};
|
|
291
|
+
}
|
|
292
|
+
`,va=Te.css`
|
|
293
293
|
.ft-typography {
|
|
294
294
|
vertical-align: inherit;
|
|
295
295
|
}
|
|
296
|
-
`,
|
|
296
|
+
`,Sa=[Object.keys(qr).map(t=>ca(t))];var Oa=m(_()),xr=m(w()),ye={color:xr.FtCssVariableFactory.extend("--ft-loader-color","",xr.designSystemVariables.colorPrimary),size:xr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ca=Oa.css`
|
|
297
297
|
:host {
|
|
298
298
|
line-height: 0;
|
|
299
299
|
}
|
|
@@ -302,8 +302,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
302
302
|
display: inline-block;
|
|
303
303
|
position: relative;
|
|
304
304
|
|
|
305
|
-
width: ${
|
|
306
|
-
height: ${
|
|
305
|
+
width: ${ye.size};
|
|
306
|
+
height: ${ye.size};
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
.ft-loader div {
|
|
@@ -312,7 +312,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
312
312
|
width: 25%;
|
|
313
313
|
height: 25%;
|
|
314
314
|
border-radius: 50%;
|
|
315
|
-
background: ${
|
|
315
|
+
background: ${ye.color};
|
|
316
316
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
317
317
|
}
|
|
318
318
|
|
|
@@ -359,10 +359,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
359
359
|
transform: translate(0, 0);
|
|
360
360
|
}
|
|
361
361
|
100% {
|
|
362
|
-
transform: translate(calc(0.35 * ${
|
|
362
|
+
transform: translate(calc(0.35 * ${ye.size}), 0);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
`;var
|
|
365
|
+
`;var Ea=m(_()),Xe=m(w()),ge={size:Xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},wa=Ea.css`
|
|
366
366
|
:host, i.ft-icon {
|
|
367
367
|
display: inline-flex;
|
|
368
368
|
align-items: center;
|
|
@@ -371,14 +371,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
:host {
|
|
374
|
-
width: ${
|
|
375
|
-
height: ${
|
|
374
|
+
width: ${ge.size};
|
|
375
|
+
height: ${ge.size};
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
i.ft-icon {
|
|
379
379
|
width: 100%;
|
|
380
380
|
height: 100%;
|
|
381
|
-
font-size: ${
|
|
381
|
+
font-size: ${ge.size};
|
|
382
382
|
line-height: 1;
|
|
383
383
|
font-weight: normal;
|
|
384
384
|
text-transform: none;
|
|
@@ -389,28 +389,28 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
389
389
|
text-rendering: auto;
|
|
390
390
|
-webkit-font-smoothing: antialiased;
|
|
391
391
|
-moz-osx-font-smoothing: grayscale;
|
|
392
|
-
vertical-align: ${
|
|
392
|
+
vertical-align: ${ge.verticalAlign};
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
i.ft-icon.ft-icon--fluid-topics {
|
|
396
|
-
font-family: ${
|
|
396
|
+
font-family: ${ge.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
397
397
|
|
|
398
398
|
/* Ugly fix because font is broken */
|
|
399
|
-
font-size: calc(0.75 * ${
|
|
400
|
-
line-height: ${
|
|
399
|
+
font-size: calc(0.75 * ${ge.size});
|
|
400
|
+
line-height: ${ge.size};
|
|
401
401
|
position: relative;
|
|
402
402
|
top: -4%;
|
|
403
403
|
justify-content: center;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.ft-icon--file-format {
|
|
407
|
-
font-family: ${
|
|
407
|
+
font-family: ${ge.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-icon--material {
|
|
411
|
-
font-family: ${
|
|
411
|
+
font-family: ${ge.materialFontFamily}, "Material Icons", sans-serif;
|
|
412
412
|
}
|
|
413
|
-
`;var
|
|
413
|
+
`;var Aa=M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorPrimary),X={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorSurface),borderRadius:M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusL),color:Aa,fontSize:M.FtCssVariableFactory.extend("--ft-button-font-size","",Fe.fontSize),iconSize:M.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:M.FtCssVariableFactory.extend("--ft-button-ripple-color","",Aa),verticalPadding:M.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},Ra=M.FtCssVariableFactory.extend("--ft-button-primary-color","",M.FtCssVariableFactory.extend("--ft-button-color","",M.designSystemVariables.colorOnPrimary)),Xo={backgroundColor:M.FtCssVariableFactory.extend("--ft-button-primary-background-color","",M.FtCssVariableFactory.extend("--ft-button-background-color","",M.designSystemVariables.colorPrimary)),color:Ra,rippleColor:M.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ra)},We={borderRadius:M.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",M.FtCssVariableFactory.extend("--ft-button-border-radius","",M.designSystemVariables.borderRadiusM)),verticalPadding:M.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:M.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:M.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Pa=[Na.css`
|
|
414
414
|
:host {
|
|
415
415
|
display: inline-block;
|
|
416
416
|
max-width: 100%;
|
|
@@ -421,7 +421,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
421
421
|
box-shadow: 0px 0px 0px transparent;
|
|
422
422
|
border: 0px solid transparent;
|
|
423
423
|
text-shadow: 0px 0px 0px transparent;
|
|
424
|
-
font-size: ${
|
|
424
|
+
font-size: ${X.fontSize};
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
button:hover {
|
|
@@ -450,31 +450,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
450
450
|
border: none;
|
|
451
451
|
pointer-events: auto;
|
|
452
452
|
|
|
453
|
-
--ft-button-internal-line-height: max(calc(${
|
|
454
|
-
--ft-button-internal-color: ${
|
|
455
|
-
${(0,
|
|
456
|
-
${(0,
|
|
453
|
+
--ft-button-internal-line-height: max(calc(${X.fontSize} + 2px), ${X.iconSize});
|
|
454
|
+
--ft-button-internal-color: ${X.color};
|
|
455
|
+
${(0,M.setVariable)(ge.size,X.iconSize)};
|
|
456
|
+
${(0,M.setVariable)(B.color,X.rippleColor)};
|
|
457
457
|
|
|
458
|
-
border-radius: ${
|
|
459
|
-
padding: ${
|
|
460
|
-
background-color: ${
|
|
458
|
+
border-radius: ${X.borderRadius};
|
|
459
|
+
padding: ${X.verticalPadding} ${X.horizontalPadding};
|
|
460
|
+
background-color: ${X.backgroundColor};
|
|
461
461
|
color: var(--ft-button-internal-color);
|
|
462
462
|
-webkit-mask-image: radial-gradient(white, black);
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button.ft-button--outlined {
|
|
466
466
|
border: 1px solid var(--ft-button-internal-color);
|
|
467
|
-
padding: calc(${
|
|
467
|
+
padding: calc(${X.verticalPadding} - 1px) calc(${X.horizontalPadding} - 1px);
|
|
468
468
|
}
|
|
469
469
|
|
|
470
470
|
.ft-button.ft-button--dense {
|
|
471
|
-
padding: ${
|
|
472
|
-
border-radius: ${
|
|
473
|
-
gap: ${
|
|
471
|
+
padding: ${We.verticalPadding} ${We.horizontalPadding};
|
|
472
|
+
border-radius: ${We.borderRadius};
|
|
473
|
+
gap: ${We.iconPadding};
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
477
|
-
padding: calc(${
|
|
477
|
+
padding: calc(${We.verticalPadding} - 1px) calc(${We.horizontalPadding} - 1px);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button:not([disabled]):hover {
|
|
@@ -482,22 +482,22 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
.ft-button--round {
|
|
485
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
485
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${X.verticalPadding});
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
.ft-button--round.ft-button--dense {
|
|
489
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
489
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${We.verticalPadding});
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.ft-button[disabled] {
|
|
493
493
|
filter: grayscale(1);
|
|
494
|
-
opacity: ${
|
|
494
|
+
opacity: ${X.opacityDisabled};
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.ft-button.ft-button--primary {
|
|
498
|
-
background-color: ${
|
|
499
|
-
--ft-button-internal-color: ${
|
|
500
|
-
${(0,
|
|
498
|
+
background-color: ${Xo.backgroundColor};
|
|
499
|
+
--ft-button-internal-color: ${Xo.color};
|
|
500
|
+
${(0,M.setVariable)(B.color,Xo.rippleColor)};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button:focus {
|
|
@@ -510,13 +510,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
510
510
|
white-space: nowrap;
|
|
511
511
|
text-overflow: ellipsis;
|
|
512
512
|
display: block;
|
|
513
|
-
margin: 0 ${
|
|
514
|
-
${(0,
|
|
515
|
-
${(0,
|
|
513
|
+
margin: 0 ${X.iconPadding};
|
|
514
|
+
${(0,M.setVariable)(Fe.fontSize,"1em")};
|
|
515
|
+
${(0,M.setVariable)(Fe.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
.ft-button--dense .ft-button--label {
|
|
519
|
-
margin: 0 ${
|
|
519
|
+
margin: 0 ${We.iconPadding};
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.ft-button--label[hidden] {
|
|
@@ -529,13 +529,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.ft-button--label[hidden] + [part="icon"] {
|
|
532
|
-
margin: 0 calc(${
|
|
533
|
-
padding: 0 ${
|
|
532
|
+
margin: 0 calc(${X.horizontalPadding} * -1);
|
|
533
|
+
padding: 0 ${X.verticalPadding};
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
537
|
-
margin: 0 calc(${
|
|
538
|
-
padding: 0 ${
|
|
537
|
+
margin: 0 calc(${We.horizontalPadding} * -1);
|
|
538
|
+
padding: 0 ${We.verticalPadding};
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -543,31 +543,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
ft-loader {
|
|
546
|
-
${(0,
|
|
547
|
-
${(0,
|
|
546
|
+
${(0,M.setVariable)(ye.size,X.iconSize)};
|
|
547
|
+
${(0,M.setVariable)(ye.color,"var(--ft-button-internal-color)")};
|
|
548
548
|
}
|
|
549
|
-
`,
|
|
549
|
+
`,M.noTextSelect];var Jt=m(w());var _a=m(w());var Ia=m(_()),se=m(V()),La=m(vr()),Sr=m(w());var be=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},j=class extends Sr.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 Sr.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 Sr.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 Ia.html`
|
|
550
550
|
<style>
|
|
551
551
|
.ft-ripple .ft-ripple--effect {
|
|
552
552
|
left: ${this.originX}px;
|
|
553
553
|
top: ${this.originY}px;
|
|
554
554
|
}
|
|
555
555
|
</style>
|
|
556
|
-
<div class="${(0,
|
|
556
|
+
<div class="${(0,La.classMap)(e)}">
|
|
557
557
|
<div class="ft-ripple--background"></div>
|
|
558
558
|
<div class="ft-ripple--effect"></div>
|
|
559
559
|
</div>
|
|
560
|
-
`}contentAvailableCallback(
|
|
561
|
-
\f\r]`,
|
|
562
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
563
|
-
<${
|
|
560
|
+
`}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()}};j.elementDefinitions={};j.styles=Li;be([(0,se.property)({type:Boolean})],j.prototype,"primary",void 0);be([(0,se.property)({type:Boolean})],j.prototype,"secondary",void 0);be([(0,se.property)({type:Boolean})],j.prototype,"unbounded",void 0);be([(0,se.property)({type:Boolean})],j.prototype,"activated",void 0);be([(0,se.property)({type:Boolean})],j.prototype,"selected",void 0);be([(0,se.property)({type:Boolean})],j.prototype,"disabled",void 0);be([(0,se.state)()],j.prototype,"hovered",void 0);be([(0,se.state)()],j.prototype,"focused",void 0);be([(0,se.state)()],j.prototype,"pressed",void 0);be([(0,se.state)()],j.prototype,"rippling",void 0);be([(0,se.state)()],j.prototype,"originX",void 0);be([(0,se.state)()],j.prototype,"originY",void 0);be([(0,se.query)(".ft-ripple")],j.prototype,"ripple",void 0);be([(0,se.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);(0,_a.customElement)("ft-ripple")(j);var As=m(w());var ws=m(_()),ne=m(V()),Ir=m(w());var Ja=m(w());var nn=globalThis,Qr=nn.trustedTypes,ka=Qr?Qr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fa="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Wa="?"+lt,mu=`<${Wa}>`,wt=document,Jr=()=>wt.createComment(""),Cr=t=>t===null||typeof t!="object"&&typeof t!="function",za=Array.isArray,yu=t=>za(t)||typeof t?.[Symbol.iterator]=="function",Qo=`[
|
|
561
|
+
\f\r]`,Or=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Da=/-->/g,Ma=/>/g,Ct=RegExp(`>|${Qo}(?:([^\\s"'>=/]+)(${Qo}*=${Qo}*(?:[^
|
|
562
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ba=/'/g,Ua=/"/g,Ha=/^(?:script|style|textarea|title)$/i,ja=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ga=ja(1),Va=ja(2),Er=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),$a=new WeakMap,Et=wt.createTreeWalker(wt,129);function Ka(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(e):e}var gu=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Or;for(let c=0;c<o;c++){let d=t[c],p,f,y=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===Or?f[1]==="!--"?s=Da:f[1]!==void 0?s=Ma:f[2]!==void 0?(Ha.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Ct):f[3]!==void 0&&(s=Ct):s===Ct?f[0]===">"?(s=i??Or,y=-1):f[1]===void 0?y=-2:(y=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?Ct:f[3]==='"'?Ua:Ba):s===Ua||s===Ba?s=Ct:s===Da||s===Ma?s=Or:(s=Ct,i=void 0);let x=s===Ct&&t[c+1].startsWith("/>")?" ":"";a+=s===Or?d+mu:y>=0?(n.push(p),d.slice(0,y)+Fa+d.slice(y)+lt+x):d+lt+(y===-2?c:x)}return[Ka(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},wr=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,f]=gu(e,o);if(this.el=t.createElement(p,n),Et.currentNode=this.el.content,o===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Et.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Fa)){let g=f[s++],x=i.getAttribute(y).split(lt),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?en:b[1]==="?"?tn:b[1]==="@"?rn:Zt}),i.removeAttribute(y)}else y.startsWith(lt)&&(d.push({type:6,index:a}),i.removeAttribute(y));if(Ha.test(i.tagName)){let y=i.textContent.split(lt),g=y.length-1;if(g>0){i.textContent=Qr?Qr.emptyScript:"";for(let x=0;x<g;x++)i.append(y[x],Jr()),Et.nextNode(),d.push({type:2,index:++a});i.append(y[g],Jr())}}}else if(i.nodeType===8)if(i.data===Wa)d.push({type:2,index:a});else{let y=-1;for(;(y=i.data.indexOf(lt,y+1))!==-1;)d.push({type:7,index:a}),y+=lt.length-1}a++}}static createElement(e,o){let n=wt.createElement("template");return n.innerHTML=e,n}};function Kt(t,e,o=t,n){if(e===Er)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Cr(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=Kt(t,i._$AS(t,e.values),i,n)),e}var Jo=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??wt).importNode(o,!0);Et.currentNode=i;let a=Et.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new eo(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new on(a,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=Et.nextNode(),s++)}return Et.currentNode=wt,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++}},eo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=te,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=Kt(this,e,o),Cr(e)?e===te||e==null||e===""?(this._$AH!==te&&this._$AR(),this._$AH=te):e!==this._$AH&&e!==Er&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):yu(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!==te&&Cr(this._$AH)?this._$AA.nextSibling.data=e:this.$(wt.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=wr.createElement(Ka(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Jo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=$a.get(e.strings);return o===void 0&&$a.set(e.strings,o=new wr(e)),o}T(e){za(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(Jr()),this.k(Jr()),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))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=te,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=te}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Kt(this,e,o,0),s=!Cr(e)||e!==this._$AH&&e!==Er,s&&(this._$AH=e);else{let c=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=Kt(this,c[n+d],o,d),p===Er&&(p=this._$AH[d]),s||=!Cr(p)||p!==this._$AH[d],p===te?e=te:e!==te&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(e)}O(e){e===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},en=class extends Zt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===te?void 0:e}},tn=class extends Zt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==te)}},rn=class extends Zt{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Kt(this,e,o,0)??te)===Er)return;let n=this._$AH,i=e===te&&n!==te||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==te&&(n===te||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)}},on=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){Kt(this,e)}};var bu=nn.litHtmlPolyfillSupport;bu?.(wr,eo),(nn.litHtmlVersions??=[]).push("3.1.0");var qa=Symbol.for(""),xu=t=>{if(t?.r===qa)return t?._$litStatic$},an=t=>({_$litStatic$:t,r:qa});var Za=new Map,Ya=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],d,p=0,f=!1;for(;p<n;){for(d=e[p];p<n&&(a=o[p],(i=xu(a))!==void 0);)d+=i+e[++p],f=!0;p!==n&&c.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),f){let y=s.join("$$lit$$");(e=Za.get(y))===void 0&&(s.raw=s,Za.set(y,e=s)),o=c}return t(e,...o)},sn=Ya(Ga),$m=Ya(Va);var ln=m(V()),Qa=m(w());var At;(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"})(At||(At={}));var Xa=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},q=class extends Qa.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?sn`
|
|
563
|
+
<${an(this.element)}
|
|
564
564
|
part="text"
|
|
565
565
|
class="ft-typography ft-typography--${this.variant}">
|
|
566
566
|
<slot></slot>
|
|
567
|
-
</${
|
|
568
|
-
`:
|
|
567
|
+
</${an(this.element)}>
|
|
568
|
+
`:sn`
|
|
569
569
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
570
|
-
`}};
|
|
570
|
+
`}};q.styles=[da,pa,fa,ha,ma,Xr,ya,ga,ba,xa,va,...Sa];Xa([(0,ln.property)()],q.prototype,"element",void 0);Xa([(0,ln.property)()],q.prototype,"variant",void 0);(0,Ja.customElement)("ft-typography")(q);var es=m(_()),Qe=m(w()),ct={distance:Qe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qe.FtCssVariableFactory.external(Qe.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Qe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ts=es.css`
|
|
571
571
|
.ft-tooltip--container {
|
|
572
572
|
display: block;
|
|
573
573
|
}
|
|
@@ -582,21 +582,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
582
582
|
box-sizing: border-box;
|
|
583
583
|
overflow: hidden;
|
|
584
584
|
width: max-content;
|
|
585
|
-
max-width: ${
|
|
585
|
+
max-width: ${ct.maxWidth};
|
|
586
586
|
text-align: center;
|
|
587
|
-
padding: ${
|
|
588
|
-
z-index: ${
|
|
587
|
+
padding: ${ct.distance};
|
|
588
|
+
z-index: ${ct.zIndex};
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
.ft-tooltip--content {
|
|
592
592
|
padding: 4px 8px;
|
|
593
|
-
border-radius: ${
|
|
594
|
-
background-color: ${
|
|
595
|
-
color: ${
|
|
593
|
+
border-radius: ${ct.borderRadiusS};
|
|
594
|
+
background-color: ${ct.backgroundColor};
|
|
595
|
+
color: ${ct.color};
|
|
596
596
|
position: relative;
|
|
597
597
|
word-break: break-word;
|
|
598
598
|
}
|
|
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`
|
|
599
|
+
`;var os=["top","right","bottom","left"],rs=["start","end"],un=os.reduce((t,e)=>t.concat(e,e+"-"+rs[0],e+"-"+rs[1]),[]),Ar=Math.min,ut=Math.max,Rr=Math.round;var Je=t=>({x:t,y:t}),vu={left:"right",right:"left",bottom:"top",top:"bottom"},Su={start:"end",end:"start"};function dn(t,e,o){return ut(t,Ar(e,o))}function to(t,e){return typeof t=="function"?t(e):t}function qt(t){return t.split("-")[0]}function dt(t){return t.split("-")[1]}function pn(t){return t==="x"?"y":"x"}function fn(t){return t==="y"?"height":"width"}function ro(t){return["top","bottom"].includes(qt(t))?"y":"x"}function hn(t){return pn(ro(t))}function ns(t,e,o){o===void 0&&(o=!1);let n=dt(t),i=hn(t),a=fn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=cn(s)),[s,cn(s)]}function is(t){return t.replace(/start|end/g,e=>Su[e])}function cn(t){return t.replace(/left|right|bottom|top/g,e=>vu[e])}function Ou(t){return{top:0,right:0,bottom:0,left:0,...t}}function as(t){return typeof t!="number"?Ou(t):{top:t,right:t,bottom:t,left:t}}function Rt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ss(t,e,o){let{reference:n,floating:i}=t,a=ro(e),s=hn(e),c=fn(s),d=qt(e),p=a==="y",f=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y};break;case"left":x={x:n.x-i.width,y};break;default:x={x:n.x,y:n.y}}switch(dt(e)){case"start":x[s]-=g*(o&&p?-1:1);break;case"end":x[s]+=g*(o&&p?-1:1);break}return x}var ls=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:f,y}=ss(p,n,d),g=n,x={},b=0;for(let S=0;S<c.length;S++){let{name:N,fn:A}=c[S],{x:R,y:k,data:L,reset:z}=await A({x:f,y,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:p,platform:s,elements:{reference:t,floating:e}});if(f=R??f,y=k??y,x={...x,[N]:{...x[N],...L}},z&&b<=50){b++,typeof z=="object"&&(z.placement&&(g=z.placement),z.rects&&(p=z.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):z.rects),{x:f,y}=ss(p,g,d)),S=-1;continue}}return{x:f,y,placement:g,strategy:i,middlewareData:x}};async function mn(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:f="viewport",elementContext:y="floating",altBoundary:g=!1,padding:x=0}=to(e,t),b=as(x),N=c[g?y==="floating"?"reference":"floating":y],A=Rt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:f,strategy:d})),R=y==="floating"?{...s.floating,x:n,y:i}:s.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),L=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},z=Rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:k,strategy:d}):R);return{top:(A.top-z.top+b.top)/L.y,bottom:(z.bottom-A.bottom+b.bottom)/L.y,left:(A.left-z.left+b.left)/L.x,right:(z.right-A.right+b.right)/L.x}}function Cu(t,e,o){return(t?[...o.filter(i=>dt(i)===t),...o.filter(i=>dt(i)!==t)]:o.filter(i=>qt(i)===i)).filter(i=>t?dt(i)===t||(e?is(i)!==i:!1):!0)}var yn=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:f=!1,alignment:y,allowedPlacements:g=un,autoAlignment:x=!0,...b}=to(t,e),S=y!==void 0||g===un?Cu(y||null,x,g):g,N=await mn(e,b),A=((o=s.autoPlacement)==null?void 0:o.index)||0,R=S[A];if(R==null)return{};let k=ns(R,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==R)return{reset:{placement:S[0]}};let L=[N[qt(R)],N[k[0]],N[k[1]]],z=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:L}],me=S[A+1];if(me)return{data:{index:A+1,overflows:z},reset:{placement:me}};let oe=z.map(h=>{let v=dt(h.placement);return[h.placement,v&&f?h.overflows.slice(0,2).reduce((P,K)=>P+K,0):h.overflows[0],h.overflows]}).sort((h,v)=>h[1]-v[1]),Pe=((i=oe.filter(h=>h[2].slice(0,dt(h[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||oe[0][0];return Pe!==c?{data:{index:A+1,overflows:z},reset:{placement:Pe}}:{}}}};var gn=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:N=>{let{x:A,y:R}=N;return{x:A,y:R}}},...d}=to(t,e),p={x:o,y:n},f=await mn(e,d),y=ro(qt(i)),g=pn(y),x=p[g],b=p[y];if(a){let N=g==="y"?"top":"left",A=g==="y"?"bottom":"right",R=x+f[N],k=x-f[A];x=dn(R,x,k)}if(s){let N=y==="y"?"top":"left",A=y==="y"?"bottom":"right",R=b+f[N],k=b-f[A];b=dn(R,b,k)}let S=c.fn({...e,[g]:x,[y]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function et(t){return us(t)?(t.nodeName||"").toLowerCase():"#document"}function xe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){var e;return(e=(us(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function us(t){return t instanceof Node||t instanceof xe(t).Node}function ze(t){return t instanceof Element||t instanceof xe(t).Element}function ke(t){return t instanceof HTMLElement||t instanceof xe(t).HTMLElement}function cs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof xe(t).ShadowRoot}function Yt(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ds(t){return["table","td","th"].includes(et(t))}function no(t){let e=io(),o=Ee(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 ps(t){let e=Nt(t);for(;ke(e)&&!Nr(e);){if(no(e))return e;e=Nt(e)}return null}function io(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nr(t){return["html","body","#document"].includes(et(t))}function Ee(t){return xe(t).getComputedStyle(t)}function Pr(t){return ze(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Nt(t){if(et(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cs(t)&&t.host||tt(t);return cs(e)?e.host:e}function fs(t){let e=Nt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ke(e)&&Yt(e)?e:fs(e)}function oo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=fs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=xe(i);return a?e.concat(s,s.visualViewport||[],Yt(i)?i:[],s.frameElement&&o?oo(s.frameElement):[]):e.concat(i,oo(i,[],o))}function ys(t){let e=Ee(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ke(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=Rr(o)!==a||Rr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function gs(t){return ze(t)?t:t.contextElement}function Xt(t){let e=gs(t);if(!ke(e))return Je(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=ys(e),s=(a?Rr(o.width):o.width)/n,c=(a?Rr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Eu=Je(0);function bs(t){let e=xe(t);return!io()||!e.visualViewport?Eu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wu(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==xe(t)?!1:e}function Tr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=gs(t),s=Je(1);e&&(n?ze(n)&&(s=Xt(n)):s=Xt(t));let c=wu(a,o,n)?bs(a):Je(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,f=i.width/s.x,y=i.height/s.y;if(a){let g=xe(a),x=n&&ze(n)?xe(n):n,b=g.frameElement;for(;b&&n&&x!==g;){let S=Xt(b),N=b.getBoundingClientRect(),A=Ee(b),R=N.left+(b.clientLeft+parseFloat(A.paddingLeft))*S.x,k=N.top+(b.clientTop+parseFloat(A.paddingTop))*S.y;d*=S.x,p*=S.y,f*=S.x,y*=S.y,d+=R,p+=k,b=xe(b).frameElement}}return Rt({width:f,height:y,x:d,y:p})}function Au(t){let{rect:e,offsetParent:o,strategy:n}=t,i=ke(o),a=tt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=Je(1),d=Je(0);if((i||!i&&n!=="fixed")&&((et(o)!=="body"||Yt(a))&&(s=Pr(o)),ke(o))){let p=Tr(o);c=Xt(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 Ru(t){return Array.from(t.getClientRects())}function xs(t){return Tr(tt(t)).left+Pr(t).scrollLeft}function Nu(t){let e=tt(t),o=Pr(t),n=t.ownerDocument.body,i=ut(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ut(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+xs(t),c=-o.scrollTop;return Ee(n).direction==="rtl"&&(s+=ut(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Pu(t,e){let o=xe(t),n=tt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let p=io();(!p||p&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Tu(t,e){let o=Tr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=ke(t)?Xt(t):Je(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 hs(t,e,o){let n;if(e==="viewport")n=Pu(t,o);else if(e==="document")n=Nu(tt(t));else if(ze(e))n=Tu(e,o);else{let i=bs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Rt(n)}function vs(t,e){let o=Nt(t);return o===e||!ze(o)||Nr(o)?!1:Ee(o).position==="fixed"||vs(o,e)}function Iu(t,e){let o=e.get(t);if(o)return o;let n=oo(t,[],!1).filter(c=>ze(c)&&et(c)!=="body"),i=null,a=Ee(t).position==="fixed",s=a?Nt(t):t;for(;ze(s)&&!Nr(s);){let c=Ee(s),d=no(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Yt(s)&&!d&&vs(t,s))?n=n.filter(f=>f!==s):i=c,s=Nt(s)}return e.set(t,n),n}function Lu(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Iu(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((p,f)=>{let y=hs(e,f,i);return p.top=ut(y.top,p.top),p.right=Ar(y.right,p.right),p.bottom=Ar(y.bottom,p.bottom),p.left=ut(y.left,p.left),p},hs(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function _u(t){return ys(t)}function ku(t,e,o){let n=ke(e),i=tt(e),a=o==="fixed",s=Tr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=Je(0);if(n||!n&&!a)if((et(e)!=="body"||Yt(i))&&(c=Pr(e)),n){let p=Tr(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=xs(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function ms(t,e){return!ke(t)||Ee(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ss(t,e){let o=xe(t);if(!ke(t))return o;let n=ms(t,e);for(;n&&ds(n)&&Ee(n).position==="static";)n=ms(n,e);return n&&(et(n)==="html"||et(n)==="body"&&Ee(n).position==="static"&&!no(n))?o:n||ps(t)||o}var Du=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Ss,a=this.getDimensions;return{reference:ku(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Mu(t){return Ee(t).direction==="rtl"}var ao={convertOffsetParentRelativeRectToViewportRelativeRect:Au,getDocumentElement:tt,getClippingRect:Lu,getOffsetParent:Ss,getElementRects:Du,getClientRects:Ru,getDimensions:_u,getScale:Xt,isElement:ze,isRTL:Mu};var Os=(t,e,o)=>{let n=new Map,i={platform:ao,...o},a={...i.platform,_c:n};return ls(t,e,{...i,platform:a})};function Cs(t){return Bu(t)}function bn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Bu(t){for(let e=t;e;e=bn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bn(t);e;e=bn(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}async function Es(t,e,o){return Os(t,e,{platform:{...ao,getOffsetParent:n=>ao.getOffsetParent(n,Cs)},middleware:[gn({crossAxis:!0}),yn({allowedPlacements:[o]})]})}var ve=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},Q=class extends Ir.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 Ir.Debouncer,this.revealDebouncer=new Ir.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ws.html`
|
|
600
600
|
<div part="container"
|
|
601
601
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
602
602
|
@mouseenter=${this.onHover}
|
|
@@ -614,45 +614,45 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
614
614
|
</div>
|
|
615
615
|
</div>
|
|
616
616
|
</div>
|
|
617
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",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="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.EYE="",o.SHARE="󨃱"})(re||(re={}));var g;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(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--${
|
|
619
|
-
${(0,
|
|
620
|
-
<slot ?hidden=${
|
|
617
|
+
`}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="",Es(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))}};Q.elementDefinitions={"ft-typography":q};Q.styles=ts;ve([(0,ne.property)()],Q.prototype,"text",void 0);ve([(0,ne.property)({type:Boolean})],Q.prototype,"manual",void 0);ve([(0,ne.property)({type:Boolean})],Q.prototype,"inline",void 0);ve([(0,ne.property)({type:Number})],Q.prototype,"delay",void 0);ve([(0,ne.property)()],Q.prototype,"position",void 0);ve([(0,ne.queryAssignedNodes)()],Q.prototype,"slotNodes",void 0);ve([(0,ne.query)(".ft-tooltip--container")],Q.prototype,"container",void 0);ve([(0,ne.query)(".ft-tooltip")],Q.prototype,"tooltip",void 0);ve([(0,ne.query)(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);ve([(0,ne.state)()],Q.prototype,"visible",void 0);ve([(0,ne.eventOptions)({passive:!0})],Q.prototype,"onTouch",null);ve([(0,ne.eventOptions)({passive:!0})],Q.prototype,"onHover",null);ve([(0,ne.eventOptions)({passive:!0})],Q.prototype,"onOut",null);ve([(0,ne.eventOptions)({passive:!0})],Q.prototype,"onClick",null);(0,As.customElement)("ft-tooltip")(Q);var Is=m(w());var Lr=m(_()),Pt=m(V()),Ps=m(w()),Ts=m(so());var pt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.EYE="",t.SHARE="󨃱"})(pt||(pt={}));var O;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(O||(O={}));var xn=new Map([...["abw"].map(t=>[t,O.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,O.AUDIO]),...["avi"].map(t=>[t,O.AVI]),...["chm","xhs"].map(t=>[t,O.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,O.CODE]),...["csv"].map(t=>[t,O.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,O.DITA]),...["epub"].map(t=>[t,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,O.EXCEL]),...["flac"].map(t=>[t,O.FLAC]),...["gif"].map(t=>[t,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,O.GZIP]),...["html","htm","xhtml"].map(t=>[t,O.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,O.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,O.JPEG]),...["json"].map(t=>[t,O.JSON]),...["m4a","m4p"].map(t=>[t,O.M4A]),...["mov","qt"].map(t=>[t,O.MOV]),...["mp3"].map(t=>[t,O.MP3]),...["mp4","m4v"].map(t=>[t,O.MP4]),...["ogg","oga"].map(t=>[t,O.OGG]),...["pdf","ps"].map(t=>[t,O.PDF]),...["png"].map(t=>[t,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,O.POWERPOINT]),...["rar"].map(t=>[t,O.RAR]),...["stp"].map(t=>[t,O.STP]),...["txt","rtf","md","mdown"].map(t=>[t,O.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,O.VIDEO]),...["wav"].map(t=>[t,O.WAV]),...["wma"].map(t=>[t,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,O.WORD]),...["xml","xsl","rdf"].map(t=>[t,O.XML]),...["yaml","yml","x-yaml"].map(t=>[t,O.YAML]),...["zip"].map(t=>[t,O.ZIP])]),Uu=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 Ns(t,e){var o,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((o=Uu.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(i=(n=xn.get(c))!==null&&n!==void 0?n:xn.get(e))!==null&&i!==void 0?i:xn.get(s))!==null&&a!==void 0?a:O.UNKNOWN}var ky={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var De;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(De||(De={}));var lo=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 Ps.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Lr.nothing}render(){let e=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,o=e!==De.material||!!this.value;return Lr.html`
|
|
618
|
+
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
619
|
+
${(0,Ts.unsafeHTML)(this.resolvedIcon)}
|
|
620
|
+
<slot ?hidden=${o}></slot>
|
|
621
621
|
</i>
|
|
622
|
-
`}get textContent(){var
|
|
622
|
+
`}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 De.file_format:this.resolvedIcon=(e=O[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case De.material:this.resolvedIcon=this.value||Lr.nothing;break;default:this.resolvedIcon=(o=pt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Se.elementDefinitions={};Se.styles=wa;lo([(0,Pt.property)()],Se.prototype,"variant",void 0);lo([(0,Pt.property)()],Se.prototype,"value",void 0);lo([(0,Pt.state)()],Se.prototype,"resolvedIcon",void 0);lo([(0,Pt.query)("slot")],Se.prototype,"slottedContent",void 0);(0,Is.customElement)("ft-icon")(Se);var ks=m(w());var Ls=m(_()),_s=m(w());var Tt=class extends _s.FtLitElement{render(){return Ls.html`
|
|
623
623
|
<div class="ft-loader">
|
|
624
624
|
<div></div>
|
|
625
625
|
<div></div>
|
|
626
626
|
<div></div>
|
|
627
627
|
<div></div>
|
|
628
628
|
</div>
|
|
629
|
-
`}};
|
|
629
|
+
`}};Tt.styles=Ca;(0,ks.customElement)("ft-loader")(Tt);var Qt=m(_()),Ds=m(vr()),ue=m(V()),we=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(0,Jt.toFtFormComponent)(Jt.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(Qt.html`
|
|
630
630
|
<button part="button"
|
|
631
|
-
class="${(0,
|
|
631
|
+
class="${(0,Ds.classMap)(this.buttonClasses)}"
|
|
632
632
|
aria-label="${this.getLabel()}"
|
|
633
633
|
?disabled=${this.isDisabled()}>
|
|
634
634
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
635
635
|
<ft-typography part="label"
|
|
636
636
|
variant=${this.typographyVariant}
|
|
637
637
|
element="span"
|
|
638
|
-
class="ft-button--label ${
|
|
638
|
+
class="ft-button--label ${Jt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
639
639
|
?hidden=${!this.hasTextContent()}>
|
|
640
640
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
641
641
|
</ft-typography>
|
|
642
642
|
${this.resolveIcon()}
|
|
643
643
|
</button>
|
|
644
|
-
`)}addTooltipIfNeeded(
|
|
644
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Qt.html`
|
|
645
645
|
<ft-tooltip part="tooltip"
|
|
646
646
|
text="${this.getLabel()}"
|
|
647
647
|
position="${this.tooltipPosition}">
|
|
648
|
-
${
|
|
648
|
+
${e}
|
|
649
649
|
</ft-tooltip>
|
|
650
|
-
`:
|
|
651
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
650
|
+
`:e}resolveIcon(){return this.loading?Qt.html`
|
|
651
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Qt.html`
|
|
652
652
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
653
|
-
`:
|
|
653
|
+
`:Qt.html`
|
|
654
654
|
<slot part="icon" name="icon"></slot>
|
|
655
|
-
`}focus(){var
|
|
655
|
+
`}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}};re.elementDefinitions={"ft-ripple":j,"ft-tooltip":Q,"ft-typography":q,"ft-icon":Se,"ft-loader":Tt};we([(0,ue.property)({type:String,reflect:!0})],re.prototype,"role",void 0);we([(0,ue.property)()],re.prototype,"type",void 0);we([(0,ue.property)({type:Boolean})],re.prototype,"disabled",void 0);we([(0,ue.property)()],re.prototype,"label",void 0);we([(0,ue.property)()],re.prototype,"icon",void 0);we([(0,ue.property)()],re.prototype,"iconVariant",void 0);we([(0,ue.property)({type:Boolean})],re.prototype,"trailingIcon",void 0);we([(0,ue.property)({type:Boolean})],re.prototype,"loading",void 0);we([(0,ue.property)()],re.prototype,"tooltipPosition",void 0);we([(0,ue.property)({type:Boolean})],re.prototype,"hideTooltip",void 0);we([(0,ue.property)({type:Boolean})],re.prototype,"forceTooltip",void 0);we([(0,ue.query)(".ft-button")],re.prototype,"button",void 0);we([(0,ue.query)(".ft-button--label slot")],re.prototype,"slottedContent",void 0);var co=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},de=class extends re{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"}};de.styles=[Ms.safariEllipsisFix,Pa];co([(0,_r.property)({type:Boolean})],de.prototype,"primary",void 0);co([(0,_r.property)({type:Boolean})],de.prototype,"outlined",void 0);co([(0,_r.property)({type:Boolean})],de.prototype,"dense",void 0);co([(0,_r.property)({type:Boolean})],de.prototype,"round",void 0);var er=m(V());var $s=m(w());var Bs=m(_()),$=m(w());var Us=[Bs.css`
|
|
656
656
|
:host {
|
|
657
657
|
display: inline-block;
|
|
658
658
|
max-width: 100%;
|
|
@@ -702,7 +702,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
.ft-button:focus-visible {
|
|
705
|
-
outline-color: ${
|
|
705
|
+
outline-color: ${E.focusFocusRingColor};
|
|
706
706
|
outline-style: solid;
|
|
707
707
|
}
|
|
708
708
|
|
|
@@ -731,150 +731,150 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
731
731
|
/** Primary styles **/
|
|
732
732
|
|
|
733
733
|
.ft-button--primary {
|
|
734
|
-
${(0
|
|
734
|
+
${(0,$.setVariable)(ye.color,E.primaryIconColor)};
|
|
735
735
|
|
|
736
|
-
${(0
|
|
737
|
-
${(0
|
|
738
|
-
${(0
|
|
739
|
-
${(0
|
|
740
|
-
${(0
|
|
736
|
+
${(0,$.setVariable)(B.color,E.primaryStateLayerColor)};
|
|
737
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceHover,E.primaryHoverStateLayerOpacity)};
|
|
738
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceFocused,E.primaryFocusStateLayerOpacity)};
|
|
739
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceSelected,E.primaryActiveStateLayerOpacity)};
|
|
740
|
+
${(0,$.setVariable)(B.opacityContentOnSurfacePressed,E.primaryActiveStateLayerOpacity)};
|
|
741
741
|
|
|
742
|
-
background-color: ${
|
|
743
|
-
color: ${
|
|
742
|
+
background-color: ${E.primaryBackgroundColor};
|
|
743
|
+
color: ${E.primaryColor};
|
|
744
744
|
border-style: none;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
.ft-button--primary[disabled] {
|
|
748
|
-
opacity: ${
|
|
748
|
+
opacity: ${E.primaryDisabledComponentOpacity};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
.ft-button--primary ft-icon {
|
|
752
|
-
color: ${
|
|
752
|
+
color: ${E.primaryIconColor};
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
/** Secondary styles **/
|
|
756
756
|
|
|
757
757
|
.ft-button--secondary {
|
|
758
|
-
${(0
|
|
758
|
+
${(0,$.setVariable)(ye.color,E.secondaryIconColor)};
|
|
759
759
|
|
|
760
|
-
${(0
|
|
761
|
-
${(0
|
|
762
|
-
${(0
|
|
763
|
-
${(0
|
|
764
|
-
${(0
|
|
760
|
+
${(0,$.setVariable)(B.color,E.secondaryStateLayerColor)};
|
|
761
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceHover,E.secondaryHoverStateLayerOpacity)};
|
|
762
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceFocused,E.secondaryFocusStateLayerOpacity)};
|
|
763
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceSelected,E.secondaryActiveStateLayerOpacity)};
|
|
764
|
+
${(0,$.setVariable)(B.opacityContentOnSurfacePressed,E.secondaryActiveStateLayerOpacity)};
|
|
765
765
|
|
|
766
|
-
background-color: ${
|
|
767
|
-
color: ${
|
|
768
|
-
border-color: ${
|
|
766
|
+
background-color: ${E.secondaryBackgroundColor};
|
|
767
|
+
color: ${E.secondaryColor};
|
|
768
|
+
border-color: ${E.secondaryBorderColor};
|
|
769
769
|
border-style: solid;
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
.ft-button--secondary[disabled] {
|
|
773
|
-
opacity: ${
|
|
773
|
+
opacity: ${E.secondaryDisabledComponentOpacity};
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
.ft-button--secondary ft-icon {
|
|
777
|
-
color: ${
|
|
777
|
+
color: ${E.secondaryIconColor};
|
|
778
778
|
}
|
|
779
779
|
|
|
780
780
|
/** Tertiary styles **/
|
|
781
781
|
|
|
782
782
|
.ft-button--tertiary {
|
|
783
|
-
${(0
|
|
783
|
+
${(0,$.setVariable)(ye.color,E.tertiaryIconColor)};
|
|
784
784
|
|
|
785
|
-
${(0
|
|
786
|
-
${(0
|
|
787
|
-
${(0
|
|
788
|
-
${(0
|
|
789
|
-
${(0
|
|
785
|
+
${(0,$.setVariable)(B.color,E.tertiaryStateLayerColor)};
|
|
786
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceHover,E.tertiaryHoverStateLayerOpacity)};
|
|
787
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceFocused,E.tertiaryFocusStateLayerOpacity)};
|
|
788
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceSelected,E.tertiaryActiveStateLayerOpacity)};
|
|
789
|
+
${(0,$.setVariable)(B.opacityContentOnSurfacePressed,E.tertiaryActiveStateLayerOpacity)};
|
|
790
790
|
|
|
791
|
-
background-color: ${
|
|
792
|
-
color: ${
|
|
791
|
+
background-color: ${E.tertiaryBackgroundColor};
|
|
792
|
+
color: ${E.tertiaryColor};
|
|
793
793
|
border-style: none;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
.ft-button--tertiary[disabled] {
|
|
797
|
-
opacity: ${
|
|
797
|
+
opacity: ${E.tertiaryDisabledComponentOpacity};
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
.ft-button--tertiary ft-icon {
|
|
801
|
-
color: ${
|
|
801
|
+
color: ${E.tertiaryIconColor};
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
/** Neutral styles **/
|
|
805
805
|
|
|
806
806
|
.ft-button--neutral {
|
|
807
|
-
${(0
|
|
807
|
+
${(0,$.setVariable)(ye.color,E.neutralIconColor)};
|
|
808
808
|
|
|
809
|
-
${(0
|
|
810
|
-
${(0
|
|
811
|
-
${(0
|
|
812
|
-
${(0
|
|
813
|
-
${(0
|
|
809
|
+
${(0,$.setVariable)(B.backgroundColor,E.neutralStateLayerColor)};
|
|
810
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceHover,E.neutralHoverStateLayerOpacity)};
|
|
811
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceFocused,E.neutralFocusStateLayerOpacity)};
|
|
812
|
+
${(0,$.setVariable)(B.opacityContentOnSurfaceSelected,E.neutralActiveStateLayerOpacity)};
|
|
813
|
+
${(0,$.setVariable)(B.opacityContentOnSurfacePressed,E.neutralActiveStateLayerOpacity)};
|
|
814
814
|
|
|
815
|
-
background-color: ${
|
|
816
|
-
color: ${
|
|
815
|
+
background-color: ${E.neutralBackgroundColor};
|
|
816
|
+
color: ${E.neutralColor};
|
|
817
817
|
border-style: none;
|
|
818
818
|
}
|
|
819
819
|
|
|
820
820
|
.ft-button--neutral[disabled] {
|
|
821
|
-
opacity: ${
|
|
821
|
+
opacity: ${E.neutralDisabledComponentOpacity};
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
.ft-button--neutral ft-icon {
|
|
825
|
-
color: ${
|
|
825
|
+
color: ${E.neutralIconColor};
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
/** Large styles **/
|
|
829
829
|
|
|
830
830
|
.ft-button--large {
|
|
831
|
-
${(0
|
|
832
|
-
${(0
|
|
833
|
-
|
|
834
|
-
height: ${
|
|
835
|
-
padding: 0 ${
|
|
836
|
-
gap: ${
|
|
837
|
-
border-radius: ${
|
|
838
|
-
border-width: ${
|
|
831
|
+
${(0,$.setVariable)(ge.size,E.largeIconSize)};
|
|
832
|
+
${(0,$.setVariable)(ye.size,E.largeIconSize)};
|
|
833
|
+
|
|
834
|
+
height: ${E.largeHeight};
|
|
835
|
+
padding: 0 ${E.largeHorizontalPadding};
|
|
836
|
+
gap: ${E.largeGap};
|
|
837
|
+
border-radius: ${E.largeBorderRadius};
|
|
838
|
+
border-width: ${E.largeBorderWidth};
|
|
839
839
|
}
|
|
840
840
|
|
|
841
841
|
.ft-button--large:focus-visible {
|
|
842
|
-
outline-width: ${
|
|
843
|
-
outline-offset: ${
|
|
842
|
+
outline-width: ${E.largeFocusOutlineWidth};
|
|
843
|
+
outline-offset: ${E.largeFocusOutlineOffset};
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
.ft-button--large.ft-button--icon-only {
|
|
847
|
-
width: ${
|
|
847
|
+
width: ${E.largeIconOnlyWidth};
|
|
848
848
|
padding: unset;
|
|
849
849
|
}
|
|
850
850
|
|
|
851
851
|
/** Small styles **/
|
|
852
852
|
|
|
853
853
|
.ft-button--small {
|
|
854
|
-
${(0
|
|
855
|
-
${(0
|
|
856
|
-
|
|
857
|
-
height: ${
|
|
858
|
-
padding: 0 ${
|
|
859
|
-
gap: ${
|
|
860
|
-
border-radius: ${
|
|
861
|
-
border-width: ${
|
|
854
|
+
${(0,$.setVariable)(ge.size,E.smallIconSize)};
|
|
855
|
+
${(0,$.setVariable)(ye.size,E.smallIconSize)};
|
|
856
|
+
|
|
857
|
+
height: ${E.smallHeight};
|
|
858
|
+
padding: 0 ${E.smallHorizontalPadding};
|
|
859
|
+
gap: ${E.smallGap};
|
|
860
|
+
border-radius: ${E.smallBorderRadius};
|
|
861
|
+
border-width: ${E.smallBorderWidth};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
.ft-button--small:focus-visible {
|
|
865
|
-
outline-width: ${
|
|
866
|
-
outline-offset: ${
|
|
865
|
+
outline-width: ${E.smallFocusOutlineWidth};
|
|
866
|
+
outline-offset: ${E.smallFocusOutlineOffset};
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
.ft-button--small.ft-button--icon-only {
|
|
870
|
-
width: ${
|
|
870
|
+
width: ${E.smallIconOnlyWidth};
|
|
871
871
|
padding: unset;
|
|
872
872
|
}
|
|
873
|
-
|
|
873
|
+
`,$.noTextSelect];var 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},He=class extends re{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?At.caption1medium:At.body2medium}};He.styles=[$s.safariEllipsisFix,Us];kr([(0,er.property)({type:Boolean})],He.prototype,"primary",void 0);kr([(0,er.property)({type:Boolean})],He.prototype,"secondary",void 0);kr([(0,er.property)({type:Boolean})],He.prototype,"tertiary",void 0);kr([(0,er.property)({type:Boolean})],He.prototype,"neutral",void 0);kr([(0,er.property)({type:Boolean})],He.prototype,"small",void 0);(0,vn.customElement)("ft-button")(de);(0,vn.customElement)("ftds-button")(He);var G={height:W.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:W.FtCssVariableFactory.extend("--ft-search-input-border-radius","",W.designSystemVariables.borderRadiusS),desktopFiltersHeight:W.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:W.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:W.FtCssVariableFactory.extend("--ft-search-input-background-color","",W.designSystemVariables.colorSurface),colorOnSurface:W.FtCssVariableFactory.extend("--ft-search-input-color","",W.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:W.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",W.designSystemVariables.colorOnSurfaceMedium),colorOutline:W.FtCssVariableFactory.extend("--ft-search-input-outline-color","",W.designSystemVariables.colorOutline),elevation02:W.FtCssVariableFactory.extend("--ft-search-input-elevation","",W.designSystemVariables.elevation02),focusOutlineColor:W.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",W.designSystemVariables.colorPrimary),buttonColor:W.FtCssVariableFactory.extend("--ft-search-input-button-color","",W.designSystemVariables.colorPrimary),buttonRippleColor:W.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",W.designSystemVariables.colorPrimary)},Ws=Fs.css`
|
|
874
874
|
* {
|
|
875
875
|
box-sizing: border-box;
|
|
876
|
-
${(0,
|
|
877
|
-
${(0,
|
|
876
|
+
${(0,W.setVariable)(X.color,G.buttonColor)};
|
|
877
|
+
${(0,W.setVariable)(X.rippleColor,G.buttonRippleColor)};
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
.ft-search-input {
|
|
@@ -882,11 +882,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
882
882
|
display: flex;
|
|
883
883
|
flex-direction: row;
|
|
884
884
|
align-items: center;
|
|
885
|
-
height: ${
|
|
885
|
+
height: ${G.height};
|
|
886
886
|
|
|
887
|
-
background: ${
|
|
888
|
-
border: 1px solid ${
|
|
889
|
-
border-radius: ${
|
|
887
|
+
background: ${G.colorSurface};
|
|
888
|
+
border: 1px solid ${G.colorOutline};
|
|
889
|
+
border-radius: ${G.borderRadius};
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
.ft-search-input--input-container {
|
|
@@ -901,11 +901,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
901
901
|
width: 100%;
|
|
902
902
|
display: grid;
|
|
903
903
|
padding: 0 8px;
|
|
904
|
-
border-radius: ${
|
|
904
|
+
border-radius: ${G.borderRadius};
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
908
|
-
outline: 2px solid ${
|
|
908
|
+
outline: 2px solid ${G.focusOutlineColor};
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
.ft-search-input--input {
|
|
@@ -913,12 +913,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
913
913
|
width: 100%;
|
|
914
914
|
border: none;
|
|
915
915
|
background-color: transparent;
|
|
916
|
-
color: ${
|
|
916
|
+
color: ${G.colorOnSurface};
|
|
917
917
|
outline: none;
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
.ft-search-input--input::placeholder {
|
|
921
|
-
color: ${
|
|
921
|
+
color: ${G.colorOnSurfaceMedium};
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
.ft-search-input--actions {
|
|
@@ -928,13 +928,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
928
928
|
align-items: center;
|
|
929
929
|
height: 100%;
|
|
930
930
|
|
|
931
|
-
${(0,
|
|
931
|
+
${(0,W.setVariable)(ct.zIndex,`calc(${G.floatingZIndex} + 1)`)};
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
.ft-search-input > ft-button,
|
|
935
935
|
.ft-search-input--actions ft-button {
|
|
936
936
|
flex-shrink: 0;
|
|
937
|
-
${(0,
|
|
937
|
+
${(0,W.setVariable)(X.backgroundColor,"transparent")};
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -952,17 +952,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
952
952
|
|
|
953
953
|
.ft-search-input--separator {
|
|
954
954
|
height: 20px;
|
|
955
|
-
border-right: 1px solid ${
|
|
955
|
+
border-right: 1px solid ${G.colorOutline};
|
|
956
956
|
}
|
|
957
|
-
`;var
|
|
957
|
+
`;var zs=m(_()),Hs=m(w()),Sn={highlightBackgroundColor:Hs.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},js=zs.css`
|
|
958
958
|
.kwicmatch {
|
|
959
959
|
font-weight: 700;
|
|
960
|
-
background-color: ${
|
|
960
|
+
background-color: ${Sn.highlightBackgroundColor};
|
|
961
961
|
}
|
|
962
|
-
`;var
|
|
962
|
+
`;var Gs=m(_()),Vs=m(w()),On={highlightBackgroundColor:Vs.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ks=Gs.css`
|
|
963
963
|
.kwicmatch {
|
|
964
964
|
font-weight: 700;
|
|
965
|
-
background-color: ${
|
|
965
|
+
background-color: ${On.highlightBackgroundColor};
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
a {
|
|
@@ -973,7 +973,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
973
973
|
a:focus {
|
|
974
974
|
outline: revert;
|
|
975
975
|
}
|
|
976
|
-
`;var
|
|
976
|
+
`;var le={searchFieldBackgroundColor:I.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",I.designSystemVariables.colorSurface),searchFieldBorderColor:I.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",I.designSystemVariables.colorOutline),searchFieldTextColor:I.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",I.designSystemVariables.colorOnSurface),searchFieldBorderRadius:I.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",I.designSystemVariables.borderRadiusS),searchButtonColor:I.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",I.designSystemVariables.colorPrimary),resultsNumberColor:I.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",I.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:I.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",I.designSystemVariables.colorSurface),resultBorderColor:I.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",I.designSystemVariables.colorOutline),resultBorderRadius:I.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",I.designSystemVariables.borderRadiusS),resultTitleTextColor:I.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",I.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:I.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",I.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:I.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",I.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:I.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:I.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",I.designSystemVariables.colorPrimary),resultHoverBorderColor:I.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",I.designSystemVariables.colorPrimary)},Zs=Cn.css`
|
|
977
977
|
.ft-search-in-doc--container {
|
|
978
978
|
display: flex;
|
|
979
979
|
flex-direction: column;
|
|
@@ -981,11 +981,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
ft-search-input {
|
|
984
|
-
${(0,
|
|
985
|
-
${(0,
|
|
986
|
-
${(0,
|
|
987
|
-
${(0,
|
|
988
|
-
${(0,
|
|
984
|
+
${(0,I.setVariable)(G.colorSurface,le.searchFieldBackgroundColor)};
|
|
985
|
+
${(0,I.setVariable)(G.colorOutline,le.searchFieldBorderColor)};
|
|
986
|
+
${(0,I.setVariable)(G.colorOnSurface,le.searchFieldTextColor)};
|
|
987
|
+
${(0,I.setVariable)(G.borderRadius,le.searchFieldBorderRadius)};
|
|
988
|
+
${(0,I.setVariable)(G.buttonColor,le.searchButtonColor)};
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
ft-search-results-number {
|
|
@@ -993,41 +993,41 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
ft-search-results-number, ft-search-results::part(no-results-message) {
|
|
996
|
-
color: ${
|
|
996
|
+
color: ${le.resultsNumberColor};
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
ft-search-load-more-button {
|
|
1000
1000
|
margin: auto;
|
|
1001
1001
|
}
|
|
1002
|
-
`,
|
|
1002
|
+
`,qs=Cn.css`
|
|
1003
1003
|
ft-card {
|
|
1004
1004
|
margin-bottom: 8px;
|
|
1005
|
-
${(0,
|
|
1006
|
-
${(0,
|
|
1007
|
-
${(0,
|
|
1008
|
-
${(0,
|
|
1009
|
-
${(0,
|
|
1010
|
-
${(0,
|
|
1011
|
-
${(0,
|
|
1005
|
+
${(0,I.setVariable)(F.elevation04,"none")};
|
|
1006
|
+
${(0,I.setVariable)(F.elevation02,"none")};
|
|
1007
|
+
${(0,I.setVariable)(F.borderStyle,"solid")};
|
|
1008
|
+
${(0,I.setVariable)(F.borderRadius,I.designSystemVariables.borderRadiusS)};
|
|
1009
|
+
${(0,I.setVariable)(F.colorSurface,le.resultBackgroundColor)};
|
|
1010
|
+
${(0,I.setVariable)(F.borderColor,le.resultBorderColor)};
|
|
1011
|
+
${(0,I.setVariable)(F.borderRadius,le.resultBorderRadius)};
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
ft-search-result-title {
|
|
1015
|
-
color: ${
|
|
1016
|
-
${(0,
|
|
1015
|
+
color: ${le.resultTitleTextColor};
|
|
1016
|
+
${(0,I.setVariable)(On.highlightBackgroundColor,le.resultHighlightBackgroundColor)};
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
1019
|
.breadcrumb {
|
|
1020
|
-
color: ${
|
|
1020
|
+
color: ${le.resultBreadcrumbTextColor};
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
1023
|
ft-search-result-abstract {
|
|
1024
|
-
color: ${
|
|
1025
|
-
${(0,
|
|
1024
|
+
color: ${le.resultContentTextColor};
|
|
1025
|
+
${(0,I.setVariable)(Sn.highlightBackgroundColor,le.resultHighlightBackgroundColor)};
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
1028
|
ft-card:hover {
|
|
1029
|
-
${(0,
|
|
1030
|
-
${(0,
|
|
1029
|
+
${(0,I.setVariable)(F.hoverBorderColor,le.resultHoverBorderColor)};
|
|
1030
|
+
${(0,I.setVariable)(B.color,le.resultHoverBackgroundColor)};
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
.result-container {
|
|
@@ -1040,38 +1040,38 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1040
1040
|
text-decoration: none;
|
|
1041
1041
|
color: inherit;
|
|
1042
1042
|
}
|
|
1043
|
-
`;var
|
|
1044
|
-
`;var
|
|
1045
|
-
`;var
|
|
1043
|
+
`;var Xl=m(w());var To=m(_()),Io=m(V()),Lo=m(w());var Ys=m(_());var Xs=Ys.css`
|
|
1044
|
+
`;var Po=m(w());var Zl=m(w());var ol=m(_()),Ie=m(V()),Me=m(w());var Qs=m(_());var Js=Qs.css`
|
|
1045
|
+
`;var el=m(w()),$u="ft-app-info",Fu={},D=el.FtReduxStore.get({name:$u,reducers:Fu,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 ft=m(w());var En=m(w());var It=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 je=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 En.CacheRegistry,this.cache=e?i.commonCache:new En.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:It.get()}get awaitApi(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:It.await()}clearCache(){this.cache.clearAll()}};var tl,Wu=Symbol("clearAfterUnitTest"),uo=class extends je{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[tl]=()=>{this.defaultMessages={},this.cache=new ft.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,ft.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 ft.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,ft.delay)(0).then(()=>o()).catch(()=>null)))}};tl=Wu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends uo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends uo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var tr=window.FluidTopicsI18nService,rl=window.FluidTopicsCustomI18nService;var pe=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},J=class extends Me.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=()=>It.get(),this.messageContexts=[],this.cache=new Me.CacheRegistry,this.cleanSessionDebouncer=new Me.Debouncer}render(){return ol.html`
|
|
1046
1046
|
<slot></slot>
|
|
1047
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&N.actions.noCustom(this.noCustom),t.has("editorMode")&&N.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.session(this.session),t.has("availableUiLocales")&&N.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>De.addContext(r)),t.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=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`
|
|
1047
|
+
`}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=>tr.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())}};J.elementDefinitions={};J.styles=Js;pe([(0,Ie.property)()],J.prototype,"baseUrl",void 0);pe([(0,Ie.property)()],J.prototype,"apiIntegrationIdentifier",void 0);pe([(0,Ie.property)()],J.prototype,"uiLocale",void 0);pe([(0,Me.jsonProperty)(null)],J.prototype,"availableUiLocales",void 0);pe([(0,Me.jsonProperty)(null)],J.prototype,"metadataConfiguration",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"editorMode",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"noCustom",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"openExternalDocumentInNewTab",void 0);pe([(0,Ie.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],J.prototype,"noCustomComponent",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"withManualResources",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"navigatorOnline",void 0);pe([(0,Ie.property)({type:Boolean})],J.prototype,"forcedOffline",void 0);pe([(0,Ie.property)({type:Object})],J.prototype,"apiProvider",void 0);pe([(0,Me.jsonProperty)([])],J.prototype,"messageContexts",void 0);pe([(0,Me.jsonProperty)(void 0)],J.prototype,"session",void 0);var Rd=m(V());function zu(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(!rr(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(!rr(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(!rr(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function rr(t,e){try{return zu(t,e)}catch{return!1}}var Hu=m(V(),1);var po=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}};var An=m(V(),1);var nl=m(V(),1);function il(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,nl.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:(n,i)=>!rr(n,i),...e??{}})}var fo=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 sl=m(_(),1);var ho=window,ju=ho.ShadowRoot&&(ho.ShadyCSS===void 0||ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,cb=Symbol();var al=(t,e)=>{ju?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 mo=class extends sl.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 al(n,e.elementStyles),n}};var wn=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},ul,ll=Symbol("constructorPrototype"),cl=Symbol("constructorName"),dl=Symbol("exportpartsDebouncer"),Lt=class extends mo{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[ul]=new fo(5),this[cl]=this.constructor.name,this[ll]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[cl]&&Object.setPrototypeOf(this,this[ll])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}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(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),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[dl].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=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...b).filter(d).map(S=>S.trim()).forEach(S=>f.add(S))}if(f.size===0){this.removeAttribute("exportparts");return}let y=[...f.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};ul=dl;wn([(0,An.property)()],Lt.prototype,"exportpartsPrefix",void 0);wn([il([])],Lt.prototype,"exportpartsPrefixes",void 0);wn([(0,An.property)()],Lt.prototype,"customStylesheet",void 0);function Dr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var pl,fl,hl,yo=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),_t=Symbol("internalStores"),Mr=class extends Lt{constructor(){super(...arguments),this[pl]=new Map,this[fl]=new Map,this[hl]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[_t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_t].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[_t].get(e)}addStore(e,o){var n;o=(n=o??(Dr(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[_t].delete(o)}setupStore(e,o){this[_t].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_t].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[ht].has(e.store):this[ht].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[ht].set(e,o.subscribe(()=>this.updateFromStores())),Dr(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[yo].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ht].forEach((e,o)=>this.unsubscribeFromStore(o)),this[yo].forEach(e=>e()),this[yo]=[]}unsubscribeFromStore(e){this[ht].has(e)&&this[ht].get(e)(),this[ht].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pl=ht,fl=_t,hl=yo;Mr.reduxProperties=new Map;Mr.reduxReactiveProperties=new Set;Mr.reduxEventListeners=new Map;function Le(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 rt(t){return!!t&&!!t[Z]}function Be(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)===Qu}(t)||Array.isArray(t)||!!t[Sl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Sl])||Dn(t)||Mn(t))}function kt(t,e,o){o===void 0&&(o=!1),ir(t)===0?(o?Object.keys:nr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function ir(t){var e=t[Z];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Dn(t)?2:Mn(t)?3:0}function or(t,e){return ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gu(t,e){return ir(t)===2?t.get(e):t[e]}function Ol(t,e,o){var n=ir(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Cl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Dn(t){return Yu&&t instanceof Map}function Mn(t){return Xu&&t instanceof Set}function mt(t){return t.o||t.t}function Bn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Al(t);delete e[Z];for(var o=nr(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 Un(t,e){return e===void 0&&(e=!1),$n(t)||rt(t)||!Be(t)||(ir(t)>1&&(t.set=t.add=t.clear=t.delete=Vu),Object.freeze(t),e&&kt(t,function(o,n){return Un(n,!0)},!0)),t}function Vu(){Le(2)}function $n(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ge(t){var e=kn[t];return e||Le(18,t),e}function Ku(t,e){kn[t]||(kn[t]=e)}function In(){return Ur}function Rn(t,e){e&&(Ge("Patches"),t.u=[],t.s=[],t.v=e)}function go(t){Ln(t),t.p.forEach(Zu),t.p=null}function Ln(t){t===Ur&&(Ur=t.l)}function ml(t){return Ur={p:[],l:Ur,h:t,m:!0,_:0}}function Zu(t){var e=t[Z];e.i===0||e.i===1?e.j():e.g=!0}function Nn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Ge("ES5").S(e,t,n),n?(o[Z].P&&(go(e),Le(4)),Be(t)&&(t=bo(e,t),e.l||xo(e,t)),e.u&&Ge("Patches").M(o[Z].t,t,e.u,e.s)):t=bo(e,o,[]),go(e),e.u&&e.v(e.u,e.s),t!==wl?t:void 0}function bo(t,e,o){if($n(e))return e;var n=e[Z];if(!n)return kt(e,function(c,d){return yl(t,n,e,c,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return xo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Bn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),kt(a,function(c,d){return yl(t,n,i,c,d,o,s)}),xo(t,i,!1),o&&t.u&&Ge("Patches").N(n,o,t.u,t.s)}return n.o}function yl(t,e,o,n,i,a,s){if(rt(i)){var c=bo(t,i,a&&e&&e.i!==3&&!or(e.R,n)?a.concat(n):void 0);if(Ol(o,n,c),!rt(c))return;t.m=!1}else s&&o.add(i);if(Be(i)&&!$n(i)){if(!t.h.D&&t._<1)return;bo(t,i),e&&e.A.l||xo(t,i)}}function xo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Un(e,o)}function Pn(t,e){var o=t[Z];return(o?mt(o):t)[e]}function gl(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 yt(t){t.P||(t.P=!0,t.l&&yt(t.l))}function Tn(t){t.o||(t.o=Bn(t.t))}function _n(t,e,o){var n=Dn(e)?Ge("MapSet").F(e,o):Mn(e)?Ge("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:In(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,p=$r;s&&(d=[c],p=Br);var f=Proxy.revocable(d,p),y=f.revoke,g=f.proxy;return c.k=g,c.j=y,g}(e,o):Ge("ES5").J(e,o);return(o?o.A:In()).p.push(n),n}function qu(t){return rt(t)||Le(22,t),function e(o){if(!Be(o))return o;var n,i=o[Z],a=ir(o);if(i){if(!i.P&&(i.i<4||!Ge("ES5").K(i)))return i.t;i.I=!0,n=bl(o,a),i.I=!1}else n=bl(o,a);return kt(n,function(s,c){i&&Gu(i.t,s)===c||Ol(n,s,e(c))}),a===3?new Set(n):n}(t)}function bl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Bn(t)}function El(){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[Z];return $r.get(p,s)},set:function(p){var f=this[Z];$r.set(f,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][Z];if(!d.P)switch(d.i){case 5:n(d)&&yt(d);break;case 4:o(d)&&yt(d)}}}function o(s){for(var c=s.t,d=s.k,p=nr(d),f=p.length-1;f>=0;f--){var y=p[f];if(y!==Z){var g=c[y];if(g===void 0&&!or(c,y))return!0;var x=d[y],b=x&&x[Z];if(b?b.t!==g:!Cl(x,g))return!0}}var S=!!c[Z];return p.length!==nr(c).length+(S?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&&Le(3,JSON.stringify(mt(s)))}var a={};Ku("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(y,g){if(y){for(var x=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(x,""+b,t(b,!0));return x}var S=Al(g);delete S[Z];for(var N=nr(S),A=0;A<N.length;A++){var R=N[A];S[R]=t(R,y||!!S[R].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),f={i:d?5:4,A:c?c.A:In(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,Z,{value:f,writable:!0}),p},S:function(s,c,d){d?rt(c)&&c[Z].A===s&&e(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var y=f[Z];if(y){var g=y.t,x=y.k,b=y.R,S=y.i;if(S===4)kt(x,function(L){L!==Z&&(g[L]!==void 0||or(g,L)?b[L]||p(x[L]):(b[L]=!0,yt(y)))}),kt(g,function(L){x[L]!==void 0||or(x,L)||(b[L]=!1,yt(y))});else if(S===5){if(n(y)&&(yt(y),b.length=!0),x.length<g.length)for(var N=x.length;N<g.length;N++)b[N]=!1;else for(var A=g.length;A<x.length;A++)b[A]=!0;for(var R=Math.min(x.length,g.length),k=0;k<R;k++)x.hasOwnProperty(k)||(b[k]=!0),b[k]===void 0&&p(x[k])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var xl,Ur,Fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Yu=typeof Map<"u",Xu=typeof Set<"u",vl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",wl=Fn?Symbol.for("immer-nothing"):((xl={})["immer-nothing"]=!0,xl),Sl=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=Fn?Symbol.for("immer-state"):"__$immer_state";var Qu=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Al=Object.getOwnPropertyDescriptors||function(t){var e={};return nr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},kn={},$r={get:function(t,e){if(e===Z)return t;var o=mt(t);if(!or(o,e))return function(i,a,s){var c,d=gl(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||!Be(n)?n:n===Pn(t.t,e)?(Tn(t),t.o[e]=_n(t.A.h,n,t)):n},has:function(t,e){return e in mt(t)},ownKeys:function(t){return Reflect.ownKeys(mt(t))},set:function(t,e,o){var n=gl(mt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Pn(mt(t),e),a=i?.[Z];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Cl(o,i)&&(o!==void 0||or(t.t,e)))return!0;Tn(t),yt(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 Pn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Tn(t),yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=mt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Le(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Le(12)}},Br={};kt($r,function(t,e){Br[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Br.deleteProperty=function(t,e){return Br.set.call(this,t,e,void 0)},Br.set=function(t,e,o){return $r.set.call(this,t[0],e,o,t[0])};var Ju=function(){function t(o){var n=this;this.O=vl,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(S){var N=this;S===void 0&&(S=c);for(var A=arguments.length,R=Array(A>1?A-1:0),k=1;k<A;k++)R[k-1]=arguments[k];return d.produce(S,function(L){var z;return(z=a).call.apply(z,[N,L].concat(R))})}}var p;if(typeof a!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),Be(i)){var f=ml(n),y=_n(n,i,void 0),g=!0;try{p=a(y),g=!1}finally{g?go(f):Ln(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(S){return Rn(f,s),Nn(S,f)},function(S){throw go(f),S}):(Rn(f,s),Nn(p,f))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===wl&&(p=void 0),n.D&&Un(p,!0),s){var x=[],b=[];Ge("Patches").M(i,p,x,b),s(x,b)}return p}Le(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var f=arguments.length,y=Array(f>1?f-1:0),g=1;g<f;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(x){return i.apply(void 0,[x].concat(y))})};var s,c,d=n.produce(i,a,function(p,f){s=p,c=f});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){Be(o)||Le(8),rt(o)&&(o=qu(o));var n=ml(this),i=_n(this,o,void 0);return i[Z].C=!0,Ln(n),i},e.finishDraft=function(o,n){var i=o&&o[Z],a=i.A;return Rn(a,n),Nn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!vl&&Le(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=Ge("Patches").$;return rt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Ae=new Ju,ed=Ae.produce,Sb=Ae.produceWithPatches.bind(Ae),Ob=Ae.setAutoFreeze.bind(Ae),Cb=Ae.setUseProxies.bind(Ae),Eb=Ae.applyPatches.bind(Ae),wb=Ae.createDraft.bind(Ae),Ab=Ae.finishDraft.bind(Ae),vo=ed;function gt(t){"@babel/helpers - typeof";return gt=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},gt(t)}function Wn(t,e){if(gt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(gt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zn(t){var e=Wn(t,"string");return gt(e)==="symbol"?e:String(e)}function Hn(t,e,o){return e=zn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Rl(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 So(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Rl(Object(o),!0).forEach(function(n){Hn(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Rl(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function ce(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Nl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Oo={INIT:"@@redux/INIT"+jn(),REPLACE:"@@redux/REPLACE"+jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+jn()}};function td(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 Gn(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ce(1));return o(Gn)(t,e)}if(typeof t!="function")throw new Error(ce(2));var i=t,a=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function f(){if(d)throw new Error(ce(3));return a}function y(S){if(typeof S!="function")throw new Error(ce(4));if(d)throw new Error(ce(5));var N=!0;return p(),c.push(S),function(){if(N){if(d)throw new Error(ce(6));N=!1,p();var R=c.indexOf(S);c.splice(R,1),s=null}}}function g(S){if(!td(S))throw new Error(ce(7));if(typeof S.type>"u")throw new Error(ce(8));if(d)throw new Error(ce(9));try{d=!0,a=i(a,S)}finally{d=!1}for(var N=s=c,A=0;A<N.length;A++){var R=N[A];R()}return S}function x(S){if(typeof S!="function")throw new Error(ce(10));i=S,g({type:Oo.REPLACE})}function b(){var S,N=y;return S={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(ce(11));function k(){R.next&&R.next(f())}k();var L=N(k);return{unsubscribe:L}}},S[Nl]=function(){return this},S}return g({type:Oo.INIT}),n={dispatch:g,subscribe:y,getState:f,replaceReducer:x},n[Nl]=b,n}function rd(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Oo.INIT});if(typeof n>"u")throw new Error(ce(12));if(typeof o(void 0,{type:Oo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function Pl(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{rd(o)}catch(d){c=d}return function(p,f){if(p===void 0&&(p={}),c)throw c;if(0)var y;for(var g=!1,x={},b=0;b<a.length;b++){var S=a[b],N=o[S],A=p[S],R=N(A,f);if(typeof R>"u"){var k=f&&f.type;throw new Error(ce(14))}x[S]=R,g=g||R!==A}return g=g||a.length!==Object.keys(p).length,g?x:p}}function ar(){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 Tl(){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(ce(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=ar.apply(void 0,c)(i.dispatch),So(So({},i),{},{dispatch:a})}}}function Il(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 Ll=Il();Ll.withExtraArgument=Il;var Vn=Ll;var Bl=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)}}(),od=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(f){return d([p,f])}}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(f){p=[6,f],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},sr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},nd=Object.defineProperty,id=Object.defineProperties,ad=Object.getOwnPropertyDescriptors,_l=Object.getOwnPropertySymbols,sd=Object.prototype.hasOwnProperty,ld=Object.prototype.propertyIsEnumerable,kl=function(t,e,o){return e in t?nd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},bt=function(t,e){for(var o in e||(e={}))sd.call(e,o)&&kl(t,o,e[o]);if(_l)for(var n=0,i=_l(e);n<i.length;n++){var o=i[n];ld.call(e,o)&&kl(t,o,e[o])}return t},Kn=function(t,e){return id(t,ad(e))},cd=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())})};var ud=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ar:ar.apply(null,arguments)},jb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function dd(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}var pd=function(t){Bl(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,sr([void 0],o[0].concat(this)))):new(e.bind.apply(e,sr([void 0],o.concat(this))))},e}(Array),fd=function(t){Bl(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,sr([void 0],o[0].concat(this)))):new(e.bind.apply(e,sr([void 0],o.concat(this))))},e}(Array);function Yn(t){return Be(t)?vo(t,function(){}):t}function hd(t){return typeof t=="boolean"}function md(){return function(e){return yd(e)}}function yd(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 pd;if(o&&(hd(o)?c.push(Vn):c.push(Vn.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return c}var Zn=!0;function Ul(t){var e=md(),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,f=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,x;if(typeof i=="function")x=i;else if(dd(i))x=Pl(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 b=s;if(typeof b=="function"&&(b=b(e),!Zn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zn&&b.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Tl.apply(void 0,b),N=ar;d&&(N=ud(bt({trace:!Zn},typeof d=="object"&&d)));var A=new fd(S),R=A;Array.isArray(g)?R=sr([S],g):typeof g=="function"&&(R=g(A));var k=N.apply(void 0,R);return Gn(x,f,k)}function xt(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 bt(bt({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 $l(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 gd(t){return typeof t=="function"}function bd(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?$l(e):[e,o,n],a=i[0],s=i[1],c=i[2],d;if(gd(t))d=function(){return Yn(t())};else{var p=Yn(t);d=function(){return p}}function f(y,g){y===void 0&&(y=d());var x=sr([a[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,S){if(S)if(rt(b)){var N=b,A=S(N,g);return A===void 0?b:A}else{if(Be(b))return vo(b,function(R){return S(R,g)});var A=S(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},y)}return f.getInitialState=d,f}function xd(t,e){return t+"/"+e}function Fl(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:Yn(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var y=n[f],g=xd(e,f),x,b;"reducer"in y?(x=y.reducer,b=y.prepare):x=y,a[f]=x,s[g]=x,c[f]=b?xt(g,b):xt(g)});function d(){var f=typeof t.extraReducers=="function"?$l(t.extraReducers):[t.extraReducers],y=f[0],g=y===void 0?{}:y,x=f[1],b=x===void 0?[]:x,S=f[2],N=S===void 0?void 0:S,A=bt(bt({},g),s);return bd(o,function(R){for(var k in A)R.addCase(k,A[k]);for(var L=0,z=b;L<z.length;L++){var me=z[L];R.addMatcher(me.matcher,me.reducer)}N&&R.addDefaultCase(N)})}var p;return{name:e,reducer:function(f,y){return p||(p=d()),p(f,y)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var vd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Sd=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=vd[Math.random()*64|0];return e},Od=["name","message","stack","code"],qn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Dl=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Cd=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Od;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Zb=function(){function t(e,o,n){var i=xt(e+"/fulfilled",function(f,y,g,x){return{payload:f,meta:Kn(bt({},x||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),a=xt(e+"/pending",function(f,y,g){return{payload:void 0,meta:Kn(bt({},g||{}),{arg:y,requestId:f,requestStatus:"pending"})}}),s=xt(e+"/rejected",function(f,y,g,x,b){return{payload:x,error:(n&&n.serializeError||Cd)(f||"Rejected"),meta:Kn(bt({},b||{}),{arg:g,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function p(f){return function(y,g,x){var b=n?.idGenerator?n.idGenerator(f):Sd(),S=new d,N,A=!1;function R(L){N=L,S.abort()}var k=function(){return cd(this,null,function(){var L,z,me,oe,gr,Pe,h;return od(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),oe=(L=n?.condition)==null?void 0:L.call(n,f,{getState:g,extra:x}),wd(oe)?[4,oe]:[3,2];case 1:oe=v.sent(),v.label=2;case 2:if(oe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,gr=new Promise(function(P,K){return S.signal.addEventListener("abort",function(){return K({name:"AbortError",message:N||"Aborted"})})}),y(a(b,f,(z=n?.getPendingMeta)==null?void 0:z.call(n,{requestId:b,arg:f},{getState:g,extra:x}))),[4,Promise.race([gr,Promise.resolve(o(f,{dispatch:y,getState:g,extra:x,requestId:b,signal:S.signal,abort:R,rejectWithValue:function(P,K){return new qn(P,K)},fulfillWithValue:function(P,K){return new Dl(P,K)}})).then(function(P){if(P instanceof qn)throw P;return P instanceof Dl?i(P.payload,b,f,P.meta):i(P,b,f)})])];case 3:return me=v.sent(),[3,5];case 4:return Pe=v.sent(),me=Pe instanceof qn?s(null,b,f,Pe.payload,Pe.meta):s(Pe,b,f),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(me)&&me.meta.condition,h||y(me),[2,me]}})})}();return Object.assign(k,{abort:R,requestId:b,arg:f,unwrap:function(){return k.then(Ed)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Ed(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function wd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Wl="listener",zl="completed",Hl="cancelled",qb="task-"+Hl,Yb="task-"+zl,Xb=Wl+"-"+Hl,Qb=Wl+"-"+zl;var Xn="listenerMiddleware";var Jb=xt(Xn+"/add"),ex=xt(Xn+"/removeAll"),tx=xt(Xn+"/remove");var Ml,rx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ml||(Ml=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ad=function(t){return function(e){setTimeout(e,t)}},ox=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ad(10);El();window.ftReduxStores||(window.ftReduxStores={});var jl=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(Dr(a))return a;if(i==null)return;let s=Fl({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Ul({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 po,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 Ao=m(w());var Co=class extends je{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 Eo=class extends je{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 Nd="ft-user-assets",wo=Ao.FtReduxStore.get({name:Nd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Qn=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Eo,this.savedSearchesService=new Co,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,Ao.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(),wo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),wo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();wo.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;wo.actions.bookmarks(o)}}},Gl=new Qn;var Jn=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Jn;var Vl=m(w()),ei=class{highlightHtml(e,o){(0,Vl.highlightHtml)(e,o)}};window.FluidTopicsHighlightHtmlService=new ei;var Kl=m(w());var ti=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 Kl.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 ti;(0,Zl.customElement)("ft-app-context")(J);var Yl=m(V()),Pd=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},ri=Symbol("i18nAttributes"),Ro=Symbol("i18nProperties"),Fr=Symbol("i18nUnsubs");function _e(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?rl:tr}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[ri])===null||a===void 0||a.forEach((c,d)=>{var p;let f=this.getI18nAttributeValue(d);((p=f?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,f,c)}),(s=this[Ro])===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[ri])===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[Ro])===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[Ro])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[ri])===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[Fr].has(i)||this[Fr].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[Fr].forEach(i=>i()),this[Fr].clear()}}return e=Fr,Pd([(0,Yl.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var ql=class extends _e(Po.FtLitElement){},No=class extends _e(Po.FtLitElementRedux){};var Wr=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 No{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":To.nothing:To.html`
|
|
1048
1048
|
<span class="ft-i18n">
|
|
1049
1049
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1050
1050
|
</span>
|
|
1051
|
-
`}update(
|
|
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`
|
|
1051
|
+
`}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:""})}};Ue.elementDefinitions={};Ue.styles=Xs;Wr([(0,Lo.redux)()],Ue.prototype,"editorMode",void 0);Wr([(0,Io.property)()],Ue.prototype,"context",void 0);Wr([(0,Io.property)()],Ue.prototype,"key",void 0);Wr([(0,Lo.jsonProperty)([])],Ue.prototype,"args",void 0);Wr([(0,Io.property)()],Ue.prototype,"defaultMessage",void 0);var Ve=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)=>tr.resolveMessage(this.name,n,...i)})}};(0,Xl.customElement)("ft-i18n")(Ue);var Sc=m(w());var vc=m(_()),nt=m(V()),$e=m(w());var Ql=m(_());var Jl=Ql.css`
|
|
1052
|
+
`;var bc=m(w()),xc=m(V());var ot=m(w());var ec=m(w()),Td={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)=>{t.request.clusterSortCriterions=e.payload},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}},tc=t=>ec.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Td});var Iv=m(oc(),1);var nc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(nc||(nc={}));var ic;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ic||(ic={}));var ac;(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"})(ac||(ac={}));var sc;(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"})(sc||(sc={}));var lc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(lc||(lc={}));var cc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(cc||(cc={}));var uc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(uc||(uc={}));var dc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(dc||(dc={}));var pc;(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"})(pc||(pc={}));var fc;(function(t){t.ASC="ASC",t.DESC="DESC"})(fc||(fc={}));var hc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(hc||(hc={}));var lr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(lr||(lr={}));var mc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(mc||(mc={}));var _o;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(_o||(_o={}));var yc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(yc||(yc={}));var cr;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(cr||(cr={}));var ur;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(ur||(ur={}));var ie;(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"})(ie||(ie={}));var gc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(gc||(gc={}));var Rv={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.DEVELOPER]:[ie.BETA_USER,ie.DEBUG_USER]};var ko=class extends je{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(e){return this.api.search(e)}async launchSuggest(e){return this.api.getSuggestions(e)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var Id=t=>t.request.virtualField===lr.TITLE_ONLY&&t.request.scope===ur.DOCUMENTS,Do=class t extends Event{constructor(){super(t.eventName)}};Do.eventName="search-context-clear-all-filters";var zr=class t{static build(e,o){return new t(tc(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new ot.Debouncer(100),this.suggestDebouncer=new ot.Debouncer(300),this.service=o??new ko}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),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(lr.TITLE_ONLY),this.store.actions.setRequestScope(ur.DOCUMENTS)):(this.store.actions.setRequestVirtualField(lr.EVERYWHERE),this.store.actions.setRequestScope(ur.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Id(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Do)}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()}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,ot.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 ot.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,ot.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(o){!(o instanceof ot.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}};var Ld=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},ni=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},oi=Symbol("registerInterval");function _d(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[oi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[oi]):this.dispatchEvent(new ni)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=oi,Ld([(0,xc.state)()],o.prototype,"stateManager",void 0),o}var Oe=class extends _d(bc.FtLitElementRedux){};var fe=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},ii=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ai=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},si=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},Y=class extends $e.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=zr.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 vc.html`
|
|
1053
1053
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1054
|
-
`}update(
|
|
1054
|
+
`}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("session")&&this.session&&this.stateManager.initService(),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("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)}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(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ai(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new si(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 ii(e))}reloadSavedSearches(){Gl.clearMySearches()}clear(){this.stateManager.clear()}};Y.elementDefinitions={};Y.styles=Jl;fe([(0,nt.property)()],Y.prototype,"query",void 0);fe([(0,nt.property)()],Y.prototype,"contentLocale",void 0);fe([(0,nt.property)({type:Number})],Y.prototype,"pageSize",void 0);fe([(0,nt.property)({type:Boolean})],Y.prototype,"searchInDocumentTitlesOnly",void 0);fe([(0,nt.property)()],Y.prototype,"periodFilter",void 0);fe([(0,nt.property)()],Y.prototype,"scope",void 0);fe([(0,nt.property)({type:Boolean})],Y.prototype,"ignoreEmptyQuery",void 0);fe([(0,$e.redux)({store:D.name})],Y.prototype,"openExternalDocumentInNewTab",void 0);fe([(0,$e.jsonProperty)([])],Y.prototype,"filters",void 0);fe([(0,$e.jsonProperty)([])],Y.prototype,"sort",void 0);fe([(0,$e.redux)({store:"search"})],Y.prototype,"request",void 0);fe([(0,$e.redux)({store:"search"})],Y.prototype,"paging",void 0);fe([(0,$e.redux)({store:"search",selector:t=>t.spellcheck})],Y.prototype,"autocorrect",void 0);fe([(0,$e.redux)({store:D.name})],Y.prototype,"session",void 0);fe([(0,nt.property)({attribute:!1})],Y.prototype,"searchServiceProvider",void 0);(0,Sc.customElement)("ft-search-context")(Y);var Cc=m(w()),Ec=m(V());var Oc;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Oc||(Oc={}));var kd=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},ci=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},li=Symbol("registerInterval");function Dd(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[li]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[li]):this.dispatchEvent(new ci)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=li,kd([(0,Ec.state)()],o.prototype,"stateManager",void 0),o}var Mo=class extends Dd(Cc.FtLitElementRedux){};var Pc=m(w());var Bo=m(_()),Nc=m(w());var wc=m(_());var Ac=wc.css`
|
|
1055
1055
|
|
|
1056
|
-
`;var
|
|
1056
|
+
`;var dr=Ve.build("searchResultsNumber"),Rc={results:"{0} results","results[\\=1]":"1 result"};var Md=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},it=class extends _e(Oe){constructor(){super(),this.addI18nContext(dr,Rc)}render(){return this.paging==null?Bo.nothing:Bo.html`
|
|
1057
1057
|
<ft-typography variant="body1">
|
|
1058
|
-
${
|
|
1058
|
+
${dr.messages.results(this.paging.totalClustersCount)}
|
|
1059
1059
|
</ft-typography>
|
|
1060
|
-
`}};
|
|
1060
|
+
`}};it.elementDefinitions={"ft-typography":q};it.styles=Ac;Md([(0,Nc.redux)()],it.prototype,"paging",void 0);(0,Pc.customElement)("ft-search-results-number")(it);var Bc=m(w());var pi=m(_()),Fo=m(w());var Hr=Ve.build("designedSearchInput");var Bt=m(V()),Mc=m(vr());var $o=m(w()),Uo=m(_()),kc=m(V());var Tc=m(_());var Ic=Tc.css`
|
|
1061
1061
|
* {
|
|
1062
1062
|
box-sizing: border-box;
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
1065
|
.ft-search-input-suggestion {
|
|
1066
1066
|
position: absolute;
|
|
1067
|
-
z-index: ${
|
|
1067
|
+
z-index: ${G.floatingZIndex};
|
|
1068
1068
|
top: calc(100% + 2px);
|
|
1069
1069
|
left: -1px;
|
|
1070
1070
|
right: -1px;
|
|
1071
|
-
background: ${
|
|
1072
|
-
border: 1px solid ${
|
|
1073
|
-
border-radius: 0 0 ${
|
|
1074
|
-
box-shadow: ${
|
|
1071
|
+
background: ${G.colorSurface};
|
|
1072
|
+
border: 1px solid ${G.colorOutline};
|
|
1073
|
+
border-radius: 0 0 ${G.borderRadius} ${G.borderRadius};
|
|
1074
|
+
box-shadow: ${G.elevation02};
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -1082,7 +1082,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1082
1082
|
padding: 8px;
|
|
1083
1083
|
gap: 8px;
|
|
1084
1084
|
cursor: pointer;
|
|
1085
|
-
color: ${
|
|
1085
|
+
color: ${G.colorOnSurface};
|
|
1086
1086
|
min-height: 44px;
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
@@ -1099,26 +1099,26 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1099
1099
|
flex-grow: 1;
|
|
1100
1100
|
flex-shrink: 1;
|
|
1101
1101
|
}
|
|
1102
|
-
`;var
|
|
1102
|
+
`;var Dc=m(ui());var _c=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},di=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Dt=class extends Oe{render(){return Uo.html`
|
|
1103
1103
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1104
1104
|
part="container"
|
|
1105
|
-
@keydown=${
|
|
1106
|
-
${(0,
|
|
1105
|
+
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
1106
|
+
${(0,Dc.repeat)(this.suggestResults||[],e=>e.value,e=>Uo.html`
|
|
1107
1107
|
<a href="#"
|
|
1108
1108
|
part="suggestion"
|
|
1109
1109
|
class="ft-search-input-suggestion--suggestion"
|
|
1110
|
-
@keyup=${
|
|
1111
|
-
@click=${
|
|
1110
|
+
@keyup=${o=>this.onSuggestKeyUp(o,e.value)}
|
|
1111
|
+
@click=${o=>this.onSuggestSelected(o,e.value)}>
|
|
1112
1112
|
<ft-ripple></ft-ripple>
|
|
1113
|
-
${this.getIcon(
|
|
1114
|
-
<ft-typography variant="body1">${
|
|
1113
|
+
${this.getIcon(e)}
|
|
1114
|
+
<ft-typography variant="body1">${e.value}</ft-typography>
|
|
1115
1115
|
</a>
|
|
1116
1116
|
`)}
|
|
1117
1117
|
</div>
|
|
1118
|
-
`}onSuggestKeyDown(
|
|
1119
|
-
<ft-icon .variant="${
|
|
1120
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let
|
|
1121
|
-
<div class="${(0
|
|
1118
|
+
`}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 di(o))}getIcon(e){let o=e.type==="DOCUMENT"?De.file_format:De.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?pt.BOOK:pt.ARTICLE;break;case"DOCUMENT":n=Ns(e.mimeType,e.filenameExtension);break;case"TOPIC":n=pt.TOPICS;break}return Uo.html`
|
|
1119
|
+
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1120
|
+
`}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()}};Dt.elementDefinitions={"ft-ripple":j,"ft-typography":q,"ft-icon":Se};Dt.styles=[$o.wordWrap,Ic];_c([(0,$o.redux)()],Dt.prototype,"suggestResults",void 0);Dt=_c([(0,kc.customElement)("ft-search-input-suggestion")],Dt);var Mt=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},he=class extends _e(Oe){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.placeholder=Hr.messages.placeholder(),this.addI18nContext(Hr)}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 pi.html`
|
|
1121
|
+
<div class="${(0,Mc.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
1122
1122
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1123
1123
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1124
1124
|
<input class="ft-search-input--input ft-typography--body2"
|
|
@@ -1135,13 +1135,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1135
1135
|
></ft-search-input-suggestion>
|
|
1136
1136
|
</div>
|
|
1137
1137
|
<div class="ft-search-input--actions" part="actions">
|
|
1138
|
-
${this.liveQuery?
|
|
1138
|
+
${this.liveQuery?pi.html`
|
|
1139
1139
|
<ft-button id="clear-button"
|
|
1140
1140
|
class="ft-search-input--clear-query"
|
|
1141
1141
|
part="clear-query"
|
|
1142
1142
|
icon="close"
|
|
1143
1143
|
round dense
|
|
1144
|
-
label="${
|
|
1144
|
+
label="${Hr.messages.clearButton()}"
|
|
1145
1145
|
@click=${()=>this.liveQuery=""}
|
|
1146
1146
|
></ft-button>
|
|
1147
1147
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1150,50 +1150,50 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1150
1150
|
part="launch-search-in-input"
|
|
1151
1151
|
icon="search"
|
|
1152
1152
|
round dense
|
|
1153
|
-
label="${
|
|
1153
|
+
label="${Hr.messages.searchButton()}"
|
|
1154
1154
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1155
1155
|
></ft-button>
|
|
1156
1156
|
</div>
|
|
1157
1157
|
</div>
|
|
1158
|
-
`}onSearchBarKeyDown(
|
|
1158
|
+
`}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)}};he.elementDefinitions={"ft-search-input-suggestion":Dt,"ft-button":de};he.styles=[Xr,Ws];Mt([(0,Fo.redux)()],he.prototype,"request",void 0);Mt([(0,Fo.redux)()],he.prototype,"liveQuery",void 0);Mt([(0,Fo.redux)()],he.prototype,"suggestResults",void 0);Mt([(0,Bt.state)()],he.prototype,"forceCloseSuggestion",void 0);Mt([(0,Bt.property)({type:String})],he.prototype,"placeholder",void 0);Mt([(0,Bt.query)(".ft-search-input--input")],he.prototype,"input",void 0);Mt([(0,Bt.query)("ft-search-input-suggestion")],he.prototype,"suggestion",void 0);(0,Bc.customElement)("ft-search-input")(he);var Jc=m(w());var Go=m(_()),Qc=m(ui()),Vo=m(V()),Gr=m(w());var Uc=m(_());var $c=Uc.css`
|
|
1159
1159
|
[part="no-results-message"] {
|
|
1160
1160
|
text-align: center;
|
|
1161
1161
|
padding: 12px;
|
|
1162
1162
|
}
|
|
1163
|
-
`;var
|
|
1163
|
+
`;var jc=m(w());var zc=m(_()),jr=m(V()),Hc=m(w());var Fc=m(_());var Wc=Fc.css`
|
|
1164
1164
|
a {
|
|
1165
1165
|
color: inherit;
|
|
1166
1166
|
text-decoration: inherit;
|
|
1167
1167
|
}
|
|
1168
|
-
`;var
|
|
1168
|
+
`;var Wo=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 hi=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},fi=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},at=class extends Hc.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Wo(e=>this.onResultSelected(e))}render(){return zc.html`
|
|
1169
1169
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1170
|
-
`}onResultSelected(
|
|
1171
|
-
<a href="${this.result?
|
|
1172
|
-
<ft-typography variant="title" part="text">${(0,
|
|
1170
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new fi(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()}};at.elementDefinitions={};at.styles=Wc;hi([(0,jr.property)({attribute:!1})],at.prototype,"cluster",void 0);hi([(0,jr.state)()],at.prototype,"result",void 0);hi([(0,jr.property)()],at.prototype,"index",void 0);(0,jc.customElement)("ft-search-result-context")(at);var qc=m(w());var jo=m(_());var zo=m(V()),mi=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},gi=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},yi=Symbol("registerInterval");function Bd(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[yi]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[yi]):this.dispatchEvent(new gi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=yi,mi([(0,zo.property)({attribute:!1})],o.prototype,"cluster",void 0),mi([(0,zo.property)({attribute:!1})],o.prototype,"result",void 0),mi([(0,zo.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var pr=class extends Bd(Oe){};var Zc=m(so());var Gc=t=>t??te;function Vc(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)===_o.EXTERNAL}function Ho(t){var e,o,n,i,a;if(Vc(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 cr.MAP:return t.map.readerUrl;case cr.DOCUMENT:return t.document.viewerUrl;case cr.TOPIC:return t.topic.readerUrl}return""}function Kc(t,e){return Gc(e&&Vc(t)?"_blank":void 0)}var fr=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}};var hr=class extends pr{render(){var e;return this.result?jo.html`
|
|
1171
|
+
<a href="${this.result?Ho(this.result):""}" @click=${this.onResultClick} target="${Kc(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
|
|
1172
|
+
<ft-typography variant="title" part="text">${(0,Zc.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
|
|
1173
1173
|
</a>
|
|
1174
|
-
`:
|
|
1175
|
-
<ft-typography variant="body1" part="text">${(0,
|
|
1176
|
-
`:
|
|
1174
|
+
`:jo.nothing}onResultClick(){this.dispatchEvent(new fr(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""}};hr.elementDefinitions={"ft-typography":q};hr.styles=Ks;(0,qc.customElement)("ft-search-result-title")(hr);var Xc=m(w());var bi=m(_());var Yc=m(so());var mr=class extends pr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?bi.html`
|
|
1175
|
+
<ft-typography variant="body1" part="text">${(0,Yc.unsafeHTML)(e)}</ft-typography>
|
|
1176
|
+
`:bi.html`
|
|
1177
1177
|
<style>
|
|
1178
1178
|
:host {
|
|
1179
1179
|
display: none !important;
|
|
1180
1180
|
}
|
|
1181
1181
|
</style>
|
|
1182
|
-
`}selectAbstract(
|
|
1182
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};mr.elementDefinitions={"ft-typography":q};mr.styles=js;(0,Xc.customElement)("ft-search-result-abstract")(mr);var yr=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 _e(Oe){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>Go.html`
|
|
1183
1183
|
<ft-search-result-title></ft-search-result-title>
|
|
1184
1184
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1185
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(
|
|
1186
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
1187
|
-
`;let
|
|
1188
|
-
<ft-search-result-context .cluster=${
|
|
1189
|
-
@ft-search-result-cluster-change="${a=>this.onClusterChange(
|
|
1190
|
-
${this.renderResult((i=this.selectedResultByCluster[
|
|
1185
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(dr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return Go.html`
|
|
1186
|
+
<ft-typography part="no-results-message" variant="body1">${dr.messages.results(0)}</ft-typography>
|
|
1187
|
+
`;let e=this.buildClusters();return(0,Qc.repeat)(e,o=>o.id,(o,n)=>{var i;return Go.html`
|
|
1188
|
+
<ft-search-result-context .cluster=${o} index="${n}"
|
|
1189
|
+
@ft-search-result-cluster-change="${a=>this.onClusterChange(o.id,a.detail)}">
|
|
1190
|
+
${this.renderResult((i=this.selectedResultByCluster[o.id])!==null&&i!==void 0?i:o.entries[0],n)}
|
|
1191
1191
|
</ft-search-result-context>
|
|
1192
|
-
`})}update(
|
|
1193
|
-
<div id="container" part="container" class=${(0,
|
|
1194
|
-
${this.clickable?
|
|
1192
|
+
`})}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}};Re.styles=$c;yr([(0,Vo.property)({type:String,attribute:"cluster-policy"})],Re.prototype,"clusterPolicy",void 0);yr([(0,Vo.property)({type:Boolean})],Re.prototype,"displayNoResultsMessage",void 0);yr([(0,Vo.property)({attribute:!1})],Re.prototype,"renderResult",void 0);yr([(0,Gr.jsonProperty)([])],Re.prototype,"clusterSortCriterion",void 0);yr([(0,Gr.redux)()],Re.prototype,"request",void 0);yr([(0,Gr.redux)()],Re.prototype,"results",void 0);(0,Jc.customElement)("ft-search-results")(Re);var ru=m(w());var Vr=m(_()),Kr=m(V()),eu=m(w());var tu=m(vr()),Ko=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},Ke=class extends eu.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 Vr.html`
|
|
1193
|
+
<div id="container" part="container" class=${(0,tu.classMap)(e)}>
|
|
1194
|
+
${this.clickable?Vr.html`
|
|
1195
1195
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1196
|
-
`:
|
|
1196
|
+
`:Vr.nothing}
|
|
1197
1197
|
<div id="header" part="header">
|
|
1198
1198
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
1199
1199
|
<slot name="header"></slot>
|
|
@@ -1207,51 +1207,51 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1207
1207
|
</ft-typography>
|
|
1208
1208
|
</div>
|
|
1209
1209
|
</div>
|
|
1210
|
-
`}};
|
|
1211
|
-
`;var
|
|
1210
|
+
`}};Ke.elementDefinitions={"ft-ripple":j,"ft-typography":q};Ke.styles=ki;Ko([(0,Kr.property)()],Ke.prototype,"title",void 0);Ko([(0,Kr.property)({type:Boolean})],Ke.prototype,"clickable",void 0);Ko([(0,Kr.property)({type:Boolean})],Ke.prototype,"selected",void 0);Ko([(0,Kr.property)({type:Boolean})],Ke.prototype,"noHeader",void 0);(0,ru.customElement)("ft-card")(Ke);var St=m(V());var au=m(w());var Zo=m(_()),vi=m(w());var ou=m(_());var nu=ou.css`
|
|
1211
|
+
`;var xi=Ve.fromGwt("designedActionBlockAriaLabels");var iu=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},Ze=class extends _e(Oe){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(xi)}render(){return this.isLastPage?Zo.nothing:Zo.html`
|
|
1212
1212
|
<ft-button @click="${this.loadMore}">
|
|
1213
|
-
${
|
|
1213
|
+
${xi.messages.searchPageLoadMore()}
|
|
1214
1214
|
</ft-button>
|
|
1215
|
-
`}loadMore(){var
|
|
1216
|
-
<style> ${
|
|
1217
|
-
<a href="${
|
|
1215
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Ze.elementDefinitions={"ft-button":de};Ze.styles=nu;iu([(0,vi.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}})],Ze.prototype,"currentPage",void 0);iu([(0,vi.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}})],Ze.prototype,"isLastPage",void 0);(0,au.customElement)("ft-search-load-more-button")(Ze);var qo=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};var Si=Ve.build("designedReaderSearchInDocument");var vt=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},Ce=class extends _e(Mo){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(Si)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,o){var n;return Ne.html`
|
|
1216
|
+
<style> ${qs}</style>
|
|
1217
|
+
<a href="${Ho(e)}" @click="${()=>this.onLinkClick(e,o)} }">
|
|
1218
1218
|
<ft-card clickable noheader>
|
|
1219
1219
|
<div class="result-container">
|
|
1220
|
-
${this.hideResultTitle?
|
|
1220
|
+
${this.hideResultTitle?Ne.nothing:Ne.html`
|
|
1221
1221
|
<ft-search-result-title></ft-search-result-title>`}
|
|
1222
|
-
${this.hideResultBreadcrumb?
|
|
1223
|
-
<ft-typography class="breadcrumb" variant="caption">${(n=
|
|
1222
|
+
${this.hideResultBreadcrumb?Ne.nothing:Ne.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?
|
|
1225
|
+
${this.hideResultAbstract?Ne.nothing:Ne.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?
|
|
1231
|
+
`}render(){return this.map?Ne.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=${
|
|
1239
|
-
@ft-search-results-change=${
|
|
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 qo({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=${
|
|
1242
|
-
${this.hideResultsNumber?
|
|
1243
|
-
<ft-search-results-number @ft-search-result-click=${
|
|
1241
|
+
<ft-search-input placeholder=${Si.messages.placeholder()} @change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
|
|
1242
|
+
${this.hideResultsNumber?Ne.nothing:Ne.html`
|
|
1243
|
+
<ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
|
|
1244
1244
|
`}
|
|
1245
1245
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
1246
1246
|
cluster-policy="display-all-results"
|
|
1247
|
-
.renderResult=${(
|
|
1247
|
+
.renderResult=${(e,o)=>this.renderResult(e,o)}>
|
|
1248
1248
|
</ft-search-results>
|
|
1249
1249
|
<slot name="load-more">
|
|
1250
1250
|
<ft-search-load-more-button></ft-search-load-more-button>
|
|
1251
1251
|
</slot>
|
|
1252
1252
|
</div>
|
|
1253
1253
|
</ft-search-context>
|
|
1254
|
-
`:
|
|
1254
|
+
`:Ne.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 fr(e,o))}};Ce.elementDefinitions={"ft-button":de,"ft-typography":q,"ft-search-context":Y,"ft-search-input":he,"ft-search-results-number":it,"ft-search-results":Re,"ft-search-load-more-button":Ze};Ce.styles=Zs;vt([(0,Oi.redux)()],Ce.prototype,"map",void 0);vt([(0,Oi.redux)()],Ce.prototype,"searchInDocumentQuery",void 0);vt([(0,St.query)("ft-search-context")],Ce.prototype,"searchContext",void 0);vt([(0,St.query)("ft-search-results")],Ce.prototype,"searchResults",void 0);vt([(0,St.property)({type:Boolean})],Ce.prototype,"hideResultTitle",void 0);vt([(0,St.property)({type:Boolean})],Ce.prototype,"hideResultBreadcrumb",void 0);vt([(0,St.property)({type:Boolean})],Ce.prototype,"hideResultAbstract",void 0);vt([(0,St.property)({type:Boolean})],Ce.prototype,"hideResultsNumber",void 0);(0,su.customElement)("ft-reader-search-in-document")(Ce);})();
|
|
1255
1255
|
/*! Bundled license information:
|
|
1256
1256
|
|
|
1257
1257
|
lit-html/lit-html.js:
|
|
@@ -1268,6 +1268,13 @@ lit-html/static.js:
|
|
|
1268
1268
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1269
1269
|
*)
|
|
1270
1270
|
|
|
1271
|
+
@lit/reactive-element/css-tag.js:
|
|
1272
|
+
(**
|
|
1273
|
+
* @license
|
|
1274
|
+
* Copyright 2019 Google LLC
|
|
1275
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1276
|
+
*)
|
|
1277
|
+
|
|
1271
1278
|
lit-html/directives/if-defined.js:
|
|
1272
1279
|
(**
|
|
1273
1280
|
* @license
|