@fluid-topics/ft-page-layout 1.3.30 → 1.3.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- "use strict";(()=>{var Zl=Object.create;var Ca=Object.defineProperty;var ql=Object.getOwnPropertyDescriptor;var Yl=Object.getOwnPropertyNames;var Xl=Object.getPrototypeOf,Jl=Object.prototype.hasOwnProperty;var Dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ql=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Yl(t))!Jl.call(e,a)&&a!==o&&Ca(e,a,{get:()=>t[a],enumerable:!(n=ql(t,a))||n.enumerable});return e};var b=(e,t,o)=>(o=e!=null?Zl(Xl(e)):{},Ql(t||!e||!e.__esModule?Ca(o,"default",{value:e,enumerable:!0}):o,e));var P=Dt((Ep,Oa)=>{Oa.exports=ftGlobals.wcUtils});var z=Dt((Ap,Ea)=>{Ea.exports=ftGlobals.lit});var te=Dt((wp,Aa)=>{Aa.exports=ftGlobals.litDecorators});var Ra=Dt((Rp,wa)=>{wa.exports=ftGlobals.litRepeat});var bt=Dt((_p,za)=>{za.exports=ftGlobals.litClassMap});var Ts=Dt((cg,Ns)=>{Ns.exports=ftGlobals.litUnsafeHTML});var dc=Dt((Lt,lc)=>{var No=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,To=function(){function e(){this.fetch=!1,this.DOMException=No.DOMException}return e.prototype=No,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&c.indexOf(Object.prototype.toString.call(y))>-1};function p(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var x={next:function(){var _=y.shift();return{done:_===void 0,value:_}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function h(y){this.map={},y instanceof h?y.forEach(function(x,_){this.append(_,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}h.prototype.append=function(y,x){y=p(y),x=u(x);var _=this.map[y];this.map[y]=_?_+", "+x:x},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,x){this.map[p(y)]=u(x)},h.prototype.forEach=function(y,x){for(var _ in this.map)this.map.hasOwnProperty(_)&&y.call(x,this.map[_],_,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(x,_){y.push(_)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(x,_){y.push([_,x])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,_){y.onload=function(){x(y.result)},y.onerror=function(){_(y.error)}})}function v(y){var x=new FileReader,_=S(x);return x.readAsArrayBuffer(y),_}function O(y){var x=new FileReader,_=S(x),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Y=H?H[1]:"utf-8";return x.readAsText(y,Y),_}function T(y){for(var x=new Uint8Array(y),_=new Array(x.length),H=0;H<x.length;H++)_[H]=String.fromCharCode(x[H]);return _.join("")}function R(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;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(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(we)}),this.json=function(){return this.text().then(JSON.parse)},this}var B=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(y){var x=y.toUpperCase();return B.indexOf(x)>-1?x:y}function M(y,x){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var _=x.body;if(y instanceof M){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!_&&y._bodyInit!=null&&(_=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new h(x.headers)),this.method=U(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var F=new AbortController;return F.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&_)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(_),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})};function we(y){var x=new FormData;return y.trim().split("&").forEach(function(_){if(_){var H=_.split("="),Y=H.shift().replace(/\+/g," "),F=H.join("=").replace(/\+/g," ");x.append(decodeURIComponent(Y),decodeURIComponent(F))}}),x}function Qe(y){var x=new h,_=y.replace(/\r?\n[\t ]+/g," ");return _.split("\r").map(function(H){return H.indexOf(`
2
- `)===0?H.substr(1,H.length):H}).forEach(function(H){var Y=H.split(":"),F=Y.shift().trim();if(F){var ro=Y.join(":").trim();try{x.append(F,ro)}catch(an){console.warn("Response "+an.message)}}}),x}L.call(M.prototype);function Oe(y,x){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new h(x.headers),this.url=x.url||"",this._initBody(y)}L.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Oe.error=function(){var y=new Oe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var et=[301,302,303,307,308];Oe.redirect=function(y,x){if(et.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Oe(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var H=Error(x);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function me(y,x){return new Promise(function(_,H){var Y=new M(y,x);if(Y.signal&&Y.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function ro(){F.abort()}F.onload=function(){var ge={statusText:F.statusText,headers:Qe(F.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(F.status<200||F.status>599)?ge.status=200:ge.status=F.status,ge.url="responseURL"in F?F.responseURL:ge.headers.get("X-Request-URL");var Bt="response"in F?F.response:F.responseText;setTimeout(function(){_(new Oe(Bt,ge))},0)},F.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},F.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function an(ge){try{return ge===""&&n.location.href?n.location.href:ge}catch{return ge}}if(F.open(Y.method,an(Y.url),!0),Y.credentials==="include"?F.withCredentials=!0:Y.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(a.blob?F.responseType="blob":a.arrayBuffer&&(F.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof h||n.Headers&&x.headers instanceof n.Headers)){var Sa=[];Object.getOwnPropertyNames(x.headers).forEach(function(ge){Sa.push(p(ge)),F.setRequestHeader(ge,u(x.headers[ge]))}),Y.headers.forEach(function(ge,Bt){Sa.indexOf(Bt)===-1&&F.setRequestHeader(Bt,ge)})}else Y.headers.forEach(function(ge,Bt){F.setRequestHeader(Bt,ge)});Y.signal&&(Y.signal.addEventListener("abort",ro),F.onreadystatechange=function(){F.readyState===4&&Y.signal.removeEventListener("abort",ro)}),F.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return me.polyfill=!0,n.fetch||(n.fetch=me,n.Headers=h,n.Request=M,n.Response=Oe),o.Headers=h,o.Request=M,o.Response=Oe,o.fetch=me,o}({})})(To);To.fetch.ponyfill=!0;delete To.fetch.polyfill;var vr=No.fetch?No:To;Lt=vr.fetch;Lt.default=vr.fetch;Lt.fetch=vr.fetch;Lt.Headers=vr.Headers;Lt.Request=vr.Request;Lt.Response=vr.Response;lc.exports=Lt});var Vl=b(P());var Ee=b(z()),je=b(te()),va=b(Ra());var fn=globalThis,oo=fn.trustedTypes,La=oo?oo.createPolicy("lit-html",{createHTML:e=>e}):void 0,ka="$lit$",gt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ba="?"+gt,ed=`<${Ba}>`,Mt=document,no=()=>Mt.createComment(""),Nr=e=>e===null||typeof e!="object"&&typeof e!="function",hn=Array.isArray,td=e=>hn(e)||typeof e?.[Symbol.iterator]=="function",sn=`[
3
- \f\r]`,Lr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Na=/-->/g,Ta=/>/g,$t=RegExp(`>|${sn}(?:([^\\s"'>=/]+)(${sn}*=${sn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ia=/'/g,Pa=/"/g,Da=/^(?:script|style|textarea|title)$/i,yn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),$a=yn(1),Ua=yn(2),Ma=yn(3),Tr=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),_a=new WeakMap,Ut=Mt.createTreeWalker(Mt,129);function Fa(e,t){if(!hn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return La!==void 0?La.createHTML(t):t}var rd=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=Lr;for(let l=0;l<o;l++){let p=e[l],u,m,h=-1,g=0;for(;g<p.length&&(c.lastIndex=g,m=c.exec(p),m!==null);)g=c.lastIndex,c===Lr?m[1]==="!--"?c=Na:m[1]!==void 0?c=Ta:m[2]!==void 0?(Da.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=$t):m[3]!==void 0&&(c=$t):c===$t?m[0]===">"?(c=a??Lr,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?$t:m[3]==='"'?Pa:Ia):c===Pa||c===Ia?c=$t:c===Na||c===Ta?c=Lr:(c=$t,a=void 0);let S=c===$t&&e[l+1].startsWith("/>")?" ":"";i+=c===Lr?p+ed:h>=0?(n.push(u),p.slice(0,h)+ka+p.slice(h)+gt+S):p+gt+(h===-2?l:S)}return[Fa(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Ir=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=t.length-1,p=this.parts,[u,m]=rd(t,o);if(this.el=e.createElement(u,n),Ut.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Ut.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ka)){let g=m[c++],S=a.getAttribute(h).split(gt),v=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:v[2],strings:S,ctor:v[1]==="."?ln:v[1]==="?"?dn:v[1]==="@"?pn:Xt}),a.removeAttribute(h)}else h.startsWith(gt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(Da.test(a.tagName)){let h=a.textContent.split(gt),g=h.length-1;if(g>0){a.textContent=oo?oo.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],no()),Ut.nextNode(),p.push({type:2,index:++i});a.append(h[g],no())}}}else if(a.nodeType===8)if(a.data===Ba)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(gt,h+1))!==-1;)p.push({type:7,index:i}),h+=gt.length-1}i++}}static createElement(t,o){let n=Mt.createElement("template");return n.innerHTML=t,n}};function Yt(e,t,o=e,n){if(t===Tr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Nr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Yt(e,a._$AS(e,t.values),a,n)),t}var cn=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Mt).importNode(o,!0);Ut.currentNode=a;let i=Ut.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new ao(i,i.nextSibling,this,t):p.type===1?u=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(u=new un(i,this,t)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(i=Ut.nextNode(),c++)}return Ut.currentNode=Mt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ao=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Yt(this,t,o),Nr(t)?t===oe||t==null||t===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):t!==this._$AH&&t!==Tr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):td(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==oe&&Nr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Mt.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ir.createElement(Fa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new cn(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=_a.get(t.strings);return o===void 0&&_a.set(t.strings,o=new Ir(t)),o}k(t){hn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(no()),this.O(no()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Xt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=oe}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Yt(this,t,o,0),c=!Nr(t)||t!==this._$AH&&t!==Tr,c&&(this._$AH=t);else{let l=t,p,u;for(t=i[0],p=0;p<i.length-1;p++)u=Yt(this,l[n+p],o,p),u===Tr&&(u=this._$AH[p]),c||=!Nr(u)||u!==this._$AH[p],u===oe?t=oe:t!==oe&&(t+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(t)}j(t){t===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ln=class extends Xt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===oe?void 0:t}},dn=class extends Xt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==oe)}},pn=class extends Xt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Yt(this,t,o,0)??oe)===Tr)return;let n=this._$AH,a=t===oe&&n!==oe||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==oe&&(n===oe||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},un=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Yt(this,t)}};var od=fn.litHtmlPolyfillSupport;od?.(Ir,ao),(fn.litHtmlVersions??=[]).push("3.3.0");var io=e=>e??oe;var Kl=b(bt());var yi=b(z()),mn=b(P());var at=b(z(),1),xt=e=>typeof e=="string"?(0,at.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=l=>xt(l??a),c=at.css`var(${xt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ha(c,l??i(a)),c.get=l=>at.css`var(${xt(t)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=l=>n.get(l??a),c=at.css`var(${xt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ha(c,l??i(a)),c.get=l=>at.css`var(${xt(t)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.defaultCssValue(i),a=at.css`var(${xt(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>at.css`var(${xt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Ha(e,t){return xt(`${e.name}: ${t}`)}var s={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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Wa={fontFamily:r.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-text-case","","UNKNOWN","none")},Ga={fontFamily:r.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},ja={fontFamily:r.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Ka={fontFamily:r.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},Va={fontFamily:r.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Za={fontFamily:r.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},qa={fontFamily:r.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ya={fontFamily:r.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},Xa={fontFamily:r.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},nd={fontFamily:r.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ja={fontFamily:r.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Qa={fontFamily:r.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},ai={fontFamily:r.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Ft={display:Wa,"title-1":Ga,"title-2":ja,"title-3":Ka,"body-1-regular":Va,"body-1-medium":Za,"body-1-semibold":qa,"body-2-regular":Ya,"body-2-medium":Xa,"body-2-medium-underline":nd,"body-2-semibold":Ja,"label-1-medium":Qa,"label-1-semibold":ei,"label-1-bold":ti,"label-2-medium":ri,"label-2-semibold":oi,"label-2-bold":ni,"caption-1-medium":ai,"caption-1-semibold":ii,"caption-1-bold":si,"caption-2-medium":ci,"caption-2-semibold":li,"caption-2-bold":di,"caption-3-medium":pi,"caption-3-semibold":ui,"caption-3-bold":fi};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Vp={loadMoreIconSize:r.extend("--ft-tree-list-load-more-icon-size","",s.iconSize2),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ft-tree-list-load-more-label-margin-left","",s.spacing1),nodeIconSize:r.extend("--ft-tree-list-node-icon-size","",s.iconSize2),nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",s.spacing10),emptyStateContainerPaddingTop:r.extend("--ft-tree-list-empty-state-container-padding-top","",s.spacing10),emptyStateContainerPaddingBottom:r.extend("--ft-tree-list-empty-state-container-padding-bottom","",s.spacing10),emptyStateTitleMarginBottom:r.extend("--ft-tree-list-empty-state-title-margin-bottom","",s.spacing2),emptyStateTitleLabelColor:r.extend("--ft-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ft-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Jp={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var ou={circleSize:r.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ft-radio-border-width","","SIZE","2px"),color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ft-radio-vertical-gap","",s.spacing3),horizontalGap:r.extend("--ft-radio-horizontal-gap","",s.spacing3)};var cu={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var fu={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var k={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.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.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.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.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.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.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var ce={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var wu={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Iu={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Pr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var J={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var vt={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Vu={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Ju={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var of={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var lf={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var hf={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var xf={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.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","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var Ef={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Nf={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var kf={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var be={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var Wf={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Zf={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Jf={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var rh={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var sh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var uh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var gh={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var Ch={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Rh={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Ih={menuHorizontalPadding:r.extend("--ft-date-range-picker-menu-horizontal-padding","",s.spacing4),menuVerticalPadding:r.extend("--ft-date-range-picker-menu-vertical-padding","",s.spacing4),menuVerticalGap:r.extend("--ft-date-range-picker-menu-vertical-gap","",s.spacing4),menuButtonsVerticalGap:r.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",s.spacing2)};var Ke;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ke||(Ke={}));var re;(function(e){e.large="large",e.medium="medium",e.small="small"})(re||(re={}));var hi={contentVerticalPadding:mn.FtCssVariableFactory.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:mn.FtCssVariableFactory.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},mi=yi.css`
1
+ "use strict";(()=>{var Zl=Object.create;var Ci=Object.defineProperty;var ql=Object.getOwnPropertyDescriptor;var Yl=Object.getOwnPropertyNames;var Xl=Object.getPrototypeOf,Jl=Object.prototype.hasOwnProperty;var Dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ql=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Yl(t))!Jl.call(e,i)&&i!==o&&Ci(e,i,{get:()=>t[i],enumerable:!(n=ql(t,i))||n.enumerable});return e};var b=(e,t,o)=>(o=e!=null?Zl(Xl(e)):{},Ql(t||!e||!e.__esModule?Ci(o,"default",{value:e,enumerable:!0}):o,e));var P=Dt((Ep,Oi)=>{Oi.exports=ftGlobals.wcUtils});var z=Dt((Ap,Ei)=>{Ei.exports=ftGlobals.lit});var te=Dt((wp,Ai)=>{Ai.exports=ftGlobals.litDecorators});var Ri=Dt((Rp,wi)=>{wi.exports=ftGlobals.litRepeat});var bt=Dt((_p,zi)=>{zi.exports=ftGlobals.litClassMap});var Ns=Dt((cg,Ts)=>{Ts.exports=ftGlobals.litUnsafeHTML});var dc=Dt((Lt,lc)=>{var To=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,No=function(){function e(){this.fetch=!1,this.DOMException=To.DOMException}return e.prototype=To,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&c.indexOf(Object.prototype.toString.call(y))>-1};function p(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var x={next:function(){var _=y.shift();return{done:_===void 0,value:_}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function h(y){this.map={},y instanceof h?y.forEach(function(x,_){this.append(_,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}h.prototype.append=function(y,x){y=p(y),x=u(x);var _=this.map[y];this.map[y]=_?_+", "+x:x},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,x){this.map[p(y)]=u(x)},h.prototype.forEach=function(y,x){for(var _ in this.map)this.map.hasOwnProperty(_)&&y.call(x,this.map[_],_,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(x,_){y.push(_)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(x,_){y.push([_,x])}),m(y)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,_){y.onload=function(){x(y.result)},y.onerror=function(){_(y.error)}})}function v(y){var x=new FileReader,_=S(x);return x.readAsArrayBuffer(y),_}function O(y){var x=new FileReader,_=S(x),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Y=H?H[1]:"utf-8";return x.readAsText(y,Y),_}function N(y){for(var x=new Uint8Array(y),_=new Array(x.length),H=0;H<x.length;H++)_[H]=String.fromCharCode(x[H]);return _.join("")}function R(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=g(this);if(y)return y;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(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}var B=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(y){var x=y.toUpperCase();return B.indexOf(x)>-1?x:y}function M(y,x){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var _=x.body;if(y instanceof M){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!_&&y._bodyInit!=null&&(_=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new h(x.headers)),this.method=U(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var F=new AbortController;return F.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&_)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(_),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})};function Ae(y){var x=new FormData;return y.trim().split("&").forEach(function(_){if(_){var H=_.split("="),Y=H.shift().replace(/\+/g," "),F=H.join("=").replace(/\+/g," ");x.append(decodeURIComponent(Y),decodeURIComponent(F))}}),x}function et(y){var x=new h,_=y.replace(/\r?\n[\t ]+/g," ");return _.split("\r").map(function(H){return H.indexOf(`
2
+ `)===0?H.substr(1,H.length):H}).forEach(function(H){var Y=H.split(":"),F=Y.shift().trim();if(F){var oo=Y.join(":").trim();try{x.append(F,oo)}catch(an){console.warn("Response "+an.message)}}}),x}L.call(M.prototype);function Ce(y,x){if(!(this instanceof Ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new h(x.headers),this.url=x.url||"",this._initBody(y)}L.call(Ce.prototype),Ce.prototype.clone=function(){return new Ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Ce.error=function(){var y=new Ce(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var tt=[301,302,303,307,308];Ce.redirect=function(y,x){if(tt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Ce(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var H=Error(x);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ye(y,x){return new Promise(function(_,H){var Y=new M(y,x);if(Y.signal&&Y.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function oo(){F.abort()}F.onload=function(){var me={statusText:F.statusText,headers:et(F.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(F.status<200||F.status>599)?me.status=200:me.status=F.status,me.url="responseURL"in F?F.responseURL:me.headers.get("X-Request-URL");var Bt="response"in F?F.response:F.responseText;setTimeout(function(){_(new Ce(Bt,me))},0)},F.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},F.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function an(me){try{return me===""&&n.location.href?n.location.href:me}catch{return me}}if(F.open(Y.method,an(Y.url),!0),Y.credentials==="include"?F.withCredentials=!0:Y.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(i.blob?F.responseType="blob":i.arrayBuffer&&(F.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof h||n.Headers&&x.headers instanceof n.Headers)){var Si=[];Object.getOwnPropertyNames(x.headers).forEach(function(me){Si.push(p(me)),F.setRequestHeader(me,u(x.headers[me]))}),Y.headers.forEach(function(me,Bt){Si.indexOf(Bt)===-1&&F.setRequestHeader(Bt,me)})}else Y.headers.forEach(function(me,Bt){F.setRequestHeader(Bt,me)});Y.signal&&(Y.signal.addEventListener("abort",oo),F.onreadystatechange=function(){F.readyState===4&&Y.signal.removeEventListener("abort",oo)}),F.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return ye.polyfill=!0,n.fetch||(n.fetch=ye,n.Headers=h,n.Request=M,n.Response=Ce),o.Headers=h,o.Request=M,o.Response=Ce,o.fetch=ye,o}({})})(No);No.fetch.ponyfill=!0;delete No.fetch.polyfill;var Sr=To.fetch?To:No;Lt=Sr.fetch;Lt.default=Sr.fetch;Lt.fetch=Sr.fetch;Lt.Headers=Sr.Headers;Lt.Request=Sr.Request;Lt.Response=Sr.Response;lc.exports=Lt});var Vl=b(P());var Oe=b(z()),je=b(te()),vi=b(Ri());var fn=globalThis,no=fn.trustedTypes,Li=no?no.createPolicy("lit-html",{createHTML:e=>e}):void 0,ki="$lit$",gt=`lit$${Math.random().toFixed(9).slice(2)}$`,Bi="?"+gt,ed=`<${Bi}>`,Mt=document,io=()=>Mt.createComment(""),Nr=e=>e===null||typeof e!="object"&&typeof e!="function",hn=Array.isArray,td=e=>hn(e)||typeof e?.[Symbol.iterator]=="function",sn=`[
3
+ \f\r]`,Tr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ti=/-->/g,Ni=/>/g,$t=RegExp(`>|${sn}(?:([^\\s"'>=/]+)(${sn}*=${sn}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ii=/'/g,Pi=/"/g,Di=/^(?:script|style|textarea|title)$/i,yn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),$i=yn(1),Ui=yn(2),Mi=yn(3),Ir=Symbol.for("lit-noChange"),oe=Symbol.for("lit-nothing"),_i=new WeakMap,Ut=Mt.createTreeWalker(Mt,129);function Fi(e,t){if(!hn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Li!==void 0?Li.createHTML(t):t}var rd=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",c=Tr;for(let l=0;l<o;l++){let p=e[l],u,m,h=-1,g=0;for(;g<p.length&&(c.lastIndex=g,m=c.exec(p),m!==null);)g=c.lastIndex,c===Tr?m[1]==="!--"?c=Ti:m[1]!==void 0?c=Ni:m[2]!==void 0?(Di.test(m[2])&&(i=RegExp("</"+m[2],"g")),c=$t):m[3]!==void 0&&(c=$t):c===$t?m[0]===">"?(c=i??Tr,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?$t:m[3]==='"'?Pi:Ii):c===Pi||c===Ii?c=$t:c===Ti||c===Ni?c=Tr:(c=$t,i=void 0);let S=c===$t&&e[l+1].startsWith("/>")?" ":"";a+=c===Tr?p+ed:h>=0?(n.push(u),p.slice(0,h)+ki+p.slice(h)+gt+S):p+gt+(h===-2?l:S)}return[Fi(e,a+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Pr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,c=0,l=t.length-1,p=this.parts,[u,m]=rd(t,o);if(this.el=e.createElement(u,n),Ut.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ut.nextNode())!==null&&p.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ki)){let g=m[c++],S=i.getAttribute(h).split(gt),v=/([.?@])?(.*)/.exec(g);p.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?ln:v[1]==="?"?dn:v[1]==="@"?pn:Xt}),i.removeAttribute(h)}else h.startsWith(gt)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(Di.test(i.tagName)){let h=i.textContent.split(gt),g=h.length-1;if(g>0){i.textContent=no?no.emptyScript:"";for(let S=0;S<g;S++)i.append(h[S],io()),Ut.nextNode(),p.push({type:2,index:++a});i.append(h[g],io())}}}else if(i.nodeType===8)if(i.data===Bi)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(gt,h+1))!==-1;)p.push({type:7,index:a}),h+=gt.length-1}a++}}static createElement(t,o){let n=Mt.createElement("template");return n.innerHTML=t,n}};function Yt(e,t,o=e,n){if(t===Ir)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Yt(e,i._$AS(e,t.values),i,n)),t}var cn=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Mt).importNode(o,!0);Ut.currentNode=i;let a=Ut.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new ao(a,a.nextSibling,this,t):p.type===1?u=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(u=new un(a,this,t)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(a=Ut.nextNode(),c++)}return Ut.currentNode=Mt,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},ao=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=oe,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Yt(this,t,o),Nr(t)?t===oe||t==null||t===""?(this._$AH!==oe&&this._$AR(),this._$AH=oe):t!==this._$AH&&t!==Ir&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):td(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==oe&&Nr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Mt.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Pr.createElement(Fi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new cn(i,this),c=a.u(this.options);a.p(o),this.T(c),this._$AH=a}}_$AC(t){let o=_i.get(t.strings);return o===void 0&&_i.set(t.strings,o=new Pr(t)),o}k(t){hn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.O(io()),this.O(io()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Xt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=oe,this._$AN=void 0,this.element=t,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=oe}_$AI(t,o=this,n,i){let a=this.strings,c=!1;if(a===void 0)t=Yt(this,t,o,0),c=!Nr(t)||t!==this._$AH&&t!==Ir,c&&(this._$AH=t);else{let l=t,p,u;for(t=a[0],p=0;p<a.length-1;p++)u=Yt(this,l[n+p],o,p),u===Ir&&(u=this._$AH[p]),c||=!Nr(u)||u!==this._$AH[p],u===oe?t=oe:t!==oe&&(t+=(u??"")+a[p+1]),this._$AH[p]=u}c&&!i&&this.j(t)}j(t){t===oe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ln=class extends Xt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===oe?void 0:t}},dn=class extends Xt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==oe)}},pn=class extends Xt{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Yt(this,t,o,0)??oe)===Ir)return;let n=this._$AH,i=t===oe&&n!==oe||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==oe&&(n===oe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},un=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Yt(this,t)}};var od=fn.litHtmlPolyfillSupport;od?.(Pr,ao),(fn.litHtmlVersions??=[]).push("3.3.0");var Jt=e=>e??oe;var Kl=b(bt());var ya=b(z()),mn=b(P());var at=b(z(),1),xt=e=>typeof e=="string"?(0,at.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=l=>xt(l??i),c=at.css`var(${xt(t)}, ${a(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.set=l=>Hi(c,l??a(i)),c.get=l=>at.css`var(${xt(t)}, ${a(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let a=l=>n.get(l??i),c=at.css`var(${xt(t)}, ${a(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.set=l=>Hi(c,l??a(i)),c.get=l=>at.css`var(${xt(t)}, ${a(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=a=>t.defaultCssValue(a),i=at.css`var(${xt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>at.css`var(${xt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function Hi(e,t){return xt(`${e.name}: ${t}`)}var s={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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Wi={fontFamily:r.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-text-case","","UNKNOWN","none")},Gi={fontFamily:r.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},ji={fontFamily:r.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Ki={fontFamily:r.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},Vi={fontFamily:r.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Zi={fontFamily:r.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},qi={fontFamily:r.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Yi={fontFamily:r.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},Xi={fontFamily:r.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},nd={fontFamily:r.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ji={fontFamily:r.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Qi={fontFamily:r.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},ra={fontFamily:r.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},oa={fontFamily:r.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},na={fontFamily:r.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},ia={fontFamily:r.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},aa={fontFamily:r.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},sa={fontFamily:r.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},ca={fontFamily:r.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},la={fontFamily:r.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},da={fontFamily:r.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},pa={fontFamily:r.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},ua={fontFamily:r.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},fa={fontFamily:r.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Ft={display:Wi,"title-1":Gi,"title-2":ji,"title-3":Ki,"body-1-regular":Vi,"body-1-medium":Zi,"body-1-semibold":qi,"body-2-regular":Yi,"body-2-medium":Xi,"body-2-medium-underline":nd,"body-2-semibold":Ji,"label-1-medium":Qi,"label-1-semibold":ea,"label-1-bold":ta,"label-2-medium":ra,"label-2-semibold":oa,"label-2-bold":na,"caption-1-medium":ia,"caption-1-semibold":aa,"caption-1-bold":sa,"caption-2-medium":ca,"caption-2-semibold":la,"caption-2-bold":da,"caption-3-medium":pa,"caption-3-semibold":ua,"caption-3-bold":fa};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Vp={loadMoreIconSize:r.extend("--ft-tree-list-load-more-icon-size","",s.iconSize2),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ft-tree-list-load-more-label-margin-left","",s.spacing1),nodeIconSize:r.extend("--ft-tree-list-node-icon-size","",s.iconSize2),nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",s.spacing10),emptyStateContainerPaddingTop:r.extend("--ft-tree-list-empty-state-container-padding-top","",s.spacing10),emptyStateContainerPaddingBottom:r.extend("--ft-tree-list-empty-state-container-padding-bottom","",s.spacing10),emptyStateTitleMarginBottom:r.extend("--ft-tree-list-empty-state-title-margin-bottom","",s.spacing2),emptyStateTitleLabelColor:r.extend("--ft-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ft-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Jp={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var ou={circleSize:r.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ft-radio-border-width","","SIZE","2px"),color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ft-radio-vertical-gap","",s.spacing3),horizontalGap:r.extend("--ft-radio-horizontal-gap","",s.spacing3)};var cu={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var fu={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var k={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.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.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.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.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.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.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var ce={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var wu={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Iu={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var _r={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Q={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var vt={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Vu={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Ju={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var of={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var lf={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var hf={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var xf={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.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","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var Ef={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Tf={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var kf={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var ge={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var Wf={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Zf={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Jf={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var rh={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var sh={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var uh={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var gh={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var Ch={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Rh={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Ih={menuHorizontalPadding:r.extend("--ft-date-range-picker-menu-horizontal-padding","",s.spacing4),menuVerticalPadding:r.extend("--ft-date-range-picker-menu-vertical-padding","",s.spacing4),menuVerticalGap:r.extend("--ft-date-range-picker-menu-vertical-gap","",s.spacing4),menuButtonsVerticalGap:r.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",s.spacing2)};var Ke;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ke||(Ke={}));var re;(function(e){e.large="large",e.medium="medium",e.small="small"})(re||(re={}));var ha={contentVerticalPadding:mn.FtCssVariableFactory.create("--ft-page-layout--content-vertical-padding","","SIZE","24px"),contentHorizontalPadding:mn.FtCssVariableFactory.create("--ft-page-layout--content-horizontal-padding","","SIZE","24px")},ma=ya.css`
6
6
  :host {
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  height: 100%;
10
- background: ${J.backgroundColor};
11
- color: ${J.parentTitleColor};
10
+ background: ${Q.backgroundColor};
11
+ color: ${Q.parentTitleColor};
12
12
  font-family: ${Ft["body-1-regular"].fontFamily}, system-ui, sans-serif;
13
13
  font-size: ${Ft["body-1-regular"].fontSize};
14
14
  }
@@ -24,27 +24,27 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
24
24
  .ftds-page-layout--right-slot {
25
25
  height: 100%;
26
26
  display: flex;
27
- gap: ${J.parentButtonsGroupVerticalGap} ${J.parentButtonsGroupHorizontalGap};
27
+ gap: ${Q.parentButtonsGroupVerticalGap} ${Q.parentButtonsGroupHorizontalGap};
28
28
  align-items: center;
29
29
  }
30
30
 
31
31
  .ftds-page-layout--child .ftds-page-layout--right-slot {
32
- gap: ${J.childButtonsGroupVerticalGap} ${J.childButtonsGroupHorizontalGap};
32
+ gap: ${Q.childButtonsGroupVerticalGap} ${Q.childButtonsGroupHorizontalGap};
33
33
  }
34
34
 
35
35
  /* HEADER */
36
36
  .ftds-page-layout--header {
37
37
  display: flex;
38
- min-height: ${J.childMinHeight};
39
- border-bottom: ${J.bottomBorderWidth} solid ${J.bottomBorderColor};
40
- padding: ${J.parentTopPadding} ${J.parentHorizontalPadding} ${J.parentBottomPadding};
38
+ min-height: ${Q.childMinHeight};
39
+ border-bottom: ${Q.bottomBorderWidth} solid ${Q.bottomBorderColor};
40
+ padding: ${Q.parentTopPadding} ${Q.parentHorizontalPadding} ${Q.parentBottomPadding};
41
41
  }
42
42
 
43
43
  .ftds-page-layout--header .ftds-page-layout--left-slot {
44
44
  flex-direction: column;
45
45
  align-items: flex-start;
46
46
  justify-content: center;
47
- gap: ${J.parentVerticalGap}
47
+ gap: ${Q.parentVerticalGap}
48
48
  }
49
49
 
50
50
  .ftds-page-layout--header .ftds-page-layout--right-slot {
@@ -52,8 +52,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
52
52
  }
53
53
 
54
54
  .ftds-page-layout--header.ftds-page-layout--child {
55
- min-height: ${J.childMinHeight};
56
- padding: ${J.childTopPadding} ${J.childHorizontalPadding} ${J.childBottomPadding};
55
+ min-height: ${Q.childMinHeight};
56
+ padding: ${Q.childTopPadding} ${Q.childHorizontalPadding} ${Q.childBottomPadding};
57
57
  }
58
58
 
59
59
  .ftds-page-layout--title-container {
@@ -62,26 +62,26 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
62
62
  }
63
63
 
64
64
  .ftds-page-layout--title {
65
- color: ${J.parentTitleColor};
65
+ color: ${Q.parentTitleColor};
66
66
  }
67
67
 
68
68
  .ftds-page-layout--sub-title {
69
- color: ${J.parentSubtitleColor};
69
+ color: ${Q.parentSubtitleColor};
70
70
  }
71
71
 
72
72
  ftds-popover {
73
- margin-left: ${J.parentHelpLeftMargin};
73
+ margin-left: ${Q.parentHelpLeftMargin};
74
74
  }
75
75
 
76
76
  .ftds-page-layout--chips-container {
77
- margin-left: ${J.parentChipLeftMargin};
77
+ margin-left: ${Q.parentChipLeftMargin};
78
78
  align-self: center;
79
79
  }
80
80
 
81
81
  /* BREADCRUMB */
82
82
  nav.ftds-page-layout--breadcrumb {
83
83
  display: flex;
84
- gap: ${Pr.horizontalGap};
84
+ gap: ${_r.horizontalGap};
85
85
  align-items: center;
86
86
  }
87
87
 
@@ -96,7 +96,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
96
96
  }
97
97
 
98
98
  nav.ftds-page-layout--breadcrumb ft-typography.ftds-page-layout--breadcrumb-item {
99
- color: ${Pr.previousNonClickableColor};
99
+ color: ${_r.previousNonClickableColor};
100
100
  }
101
101
 
102
102
  nav.ftds-page-layout--breadcrumb li + li::before {
@@ -104,11 +104,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
104
104
  margin: 0 0.25em;
105
105
  height: 0.8em;
106
106
  content: ">";
107
- color: ${Pr.iconColor};
107
+ color: ${_r.iconColor};
108
108
  }
109
109
 
110
110
  nav.ftds-page-layout--breadcrumb .ftds-page-layout--title {
111
- color: ${Pr.currentColor};
111
+ color: ${_r.currentColor};
112
112
  font-weight: 600;
113
113
  }
114
114
 
@@ -116,7 +116,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
116
116
  main {
117
117
  overflow: auto;
118
118
  flex-grow: 1;
119
- padding: ${hi.contentVerticalPadding} ${hi.contentHorizontalPadding};
119
+ padding: ${ha.contentVerticalPadding} ${ha.contentHorizontalPadding};
120
120
  }
121
121
 
122
122
  /* FOOTER */
@@ -127,11 +127,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
127
127
  padding: ${vt.verticalPadding} ${vt.horizontalPadding} ${vt.verticalPadding} ${vt.horizontalPadding}
128
128
  }
129
129
 
130
- .ftds-page-layout--footer[hidden] {
130
+ [hidden] {
131
131
  display: none;
132
132
  }
133
- `;var Bi=b(P());var bi=Symbol.for(""),ad=e=>{if(e?.r===bi)return e?._$litStatic$},gn=e=>({_$litStatic$:e,r:bi});var gi=new Map,bn=e=>(t,...o)=>{let n=o.length,a,i,c=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=t[u];u<n&&(i=o[u],(a=ad(i))!==void 0);)p+=a+t[++u],m=!0;u!==n&&l.push(i),c.push(p),u++}if(u===n&&c.push(t[n]),m){let h=c.join("$$lit$$");(t=gi.get(h))===void 0&&(c.raw=c,gi.set(h,t=c)),o=l}return e(t,...o)},xn=bn($a),Oy=bn(Ua),Ey=bn(Ma);var vn=b(te()),ki=b(P());var le;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(le||(le={}));var He=b(z()),w=b(P());var Jt=b(z());function xi(e,t){let o=Ft[e];return Jt.css`
134
- ${t?(0,Jt.unsafeCSS)(t):Jt.css`.ft-typography--${(0,Jt.unsafeCSS)(e)}`} {
133
+ `;var Ba=b(P());var ba=Symbol.for(""),id=e=>{if(e?.r===ba)return e?._$litStatic$},gn=e=>({_$litStatic$:e,r:ba});var ga=new Map,bn=e=>(t,...o)=>{let n=o.length,i,a,c=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=t[u];u<n&&(a=o[u],(i=id(a))!==void 0);)p+=i+t[++u],m=!0;u!==n&&l.push(a),c.push(p),u++}if(u===n&&c.push(t[n]),m){let h=c.join("$$lit$$");(t=ga.get(h))===void 0&&(c.raw=c,ga.set(h,t=c)),o=l}return e(t,...o)},xn=bn($i),Oy=bn(Ui),Ey=bn(Mi);var vn=b(te()),ka=b(P());var X;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(X||(X={}));var He=b(z()),w=b(P());var Qt=b(z());function xa(e,t){let o=Ft[e];return Qt.css`
134
+ ${t?(0,Qt.unsafeCSS)(t):Qt.css`.ft-typography--${(0,Qt.unsafeCSS)(e)}`} {
135
135
  font-family: ${o.fontFamily};
136
136
  font-size: ${o.fontSize};
137
137
  font-weight: ${o.fontWeight};
@@ -140,17 +140,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
140
140
  text-decoration: ${o.textDecoration};
141
141
  text-transform: ${o.textCase};
142
142
  }
143
- `}var vi=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),it=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),I={fontFamily:it,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",vi),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},er={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",vi),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},tr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},rr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},or={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ar={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},ir={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},tt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",it),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Si=He.css`
143
+ `}var va=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),st=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),I={fontFamily:st,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},er={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",va),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},tr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",va),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},rr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},or={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ir={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ar={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},sr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},rt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",st),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Sa=He.css`
144
144
  .ft-typography--title {
145
- font-family: ${Qt.fontFamily};
146
- font-size: ${Qt.fontSize};
147
- font-weight: ${Qt.fontWeight};
148
- letter-spacing: ${Qt.letterSpacing};
149
- line-height: ${Qt.lineHeight};
150
- text-transform: ${Qt.textTransform};
151
- }
152
- `,Ci=He.css`
153
- .ft-typography--title-dense {
154
145
  font-family: ${er.fontFamily};
155
146
  font-size: ${er.fontSize};
156
147
  font-weight: ${er.fontWeight};
@@ -158,8 +149,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
158
149
  line-height: ${er.lineHeight};
159
150
  text-transform: ${er.textTransform};
160
151
  }
161
- `,Oi=He.css`
162
- .ft-typography--subtitle1 {
152
+ `,Ca=He.css`
153
+ .ft-typography--title-dense {
163
154
  font-family: ${tr.fontFamily};
164
155
  font-size: ${tr.fontSize};
165
156
  font-weight: ${tr.fontWeight};
@@ -167,8 +158,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
167
158
  line-height: ${tr.lineHeight};
168
159
  text-transform: ${tr.textTransform};
169
160
  }
170
- `,Ei=He.css`
171
- .ft-typography--subtitle2 {
161
+ `,Oa=He.css`
162
+ .ft-typography--subtitle1 {
172
163
  font-family: ${rr.fontFamily};
173
164
  font-size: ${rr.fontSize};
174
165
  font-weight: ${rr.fontWeight};
@@ -176,9 +167,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
176
167
  line-height: ${rr.lineHeight};
177
168
  text-transform: ${rr.textTransform};
178
169
  }
179
-
180
- `,Ai=He.css`
181
- .ft-typography--body1 {
170
+ `,Ea=He.css`
171
+ .ft-typography--subtitle2 {
182
172
  font-family: ${or.fontFamily};
183
173
  font-size: ${or.fontSize};
184
174
  font-weight: ${or.fontWeight};
@@ -186,7 +176,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
186
176
  line-height: ${or.lineHeight};
187
177
  text-transform: ${or.textTransform};
188
178
  }
189
- `,wi=He.css`
179
+
180
+ `,Aa=He.css`
181
+ .ft-typography--body1 {
182
+ font-family: ${nr.fontFamily};
183
+ font-size: ${nr.fontSize};
184
+ font-weight: ${nr.fontWeight};
185
+ letter-spacing: ${nr.letterSpacing};
186
+ line-height: ${nr.lineHeight};
187
+ text-transform: ${nr.textTransform};
188
+ }
189
+ `,wa=He.css`
190
190
  .ft-typography--body2 {
191
191
  font-family: ${ze.fontFamily};
192
192
  font-size: ${ze.fontSize};
@@ -195,16 +195,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
195
195
  line-height: ${ze.lineHeight};
196
196
  text-transform: ${ze.textTransform};
197
197
  }
198
- `,Ri=He.css`
198
+ `,Ra=He.css`
199
199
  .ft-typography--caption {
200
- font-family: ${nr.fontFamily};
201
- font-size: ${nr.fontSize};
202
- font-weight: ${nr.fontWeight};
203
- letter-spacing: ${nr.letterSpacing};
204
- line-height: ${nr.lineHeight};
205
- text-transform: ${nr.textTransform};
200
+ font-family: ${ir.fontFamily};
201
+ font-size: ${ir.fontSize};
202
+ font-weight: ${ir.fontWeight};
203
+ letter-spacing: ${ir.letterSpacing};
204
+ line-height: ${ir.lineHeight};
205
+ text-transform: ${ir.textTransform};
206
206
  }
207
- `,Li=He.css`
207
+ `,La=He.css`
208
208
  .ft-typography--breadcrumb {
209
209
  font-family: ${ar.fontFamily};
210
210
  font-size: ${ar.fontSize};
@@ -213,29 +213,29 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
213
213
  line-height: ${ar.lineHeight};
214
214
  text-transform: ${ar.textTransform};
215
215
  }
216
- `,Ni=He.css`
216
+ `,Ta=He.css`
217
217
  .ft-typography--overline {
218
- font-family: ${ir.fontFamily};
219
- font-size: ${ir.fontSize};
220
- font-weight: ${ir.fontWeight};
221
- letter-spacing: ${ir.letterSpacing};
222
- line-height: ${ir.lineHeight};
223
- text-transform: ${ir.textTransform};
224
- }
225
- `,Ti=He.css`
218
+ font-family: ${sr.fontFamily};
219
+ font-size: ${sr.fontSize};
220
+ font-weight: ${sr.fontWeight};
221
+ letter-spacing: ${sr.letterSpacing};
222
+ line-height: ${sr.lineHeight};
223
+ text-transform: ${sr.textTransform};
224
+ }
225
+ `,Na=He.css`
226
226
  .ft-typography--button {
227
- font-family: ${tt.fontFamily};
228
- font-size: ${tt.fontSize};
229
- font-weight: ${tt.fontWeight};
230
- letter-spacing: ${tt.letterSpacing};
231
- line-height: ${tt.lineHeight};
232
- text-transform: ${tt.textTransform};
233
- }
234
- `,Ii=He.css`
227
+ font-family: ${rt.fontFamily};
228
+ font-size: ${rt.fontSize};
229
+ font-weight: ${rt.fontWeight};
230
+ letter-spacing: ${rt.letterSpacing};
231
+ line-height: ${rt.lineHeight};
232
+ text-transform: ${rt.textTransform};
233
+ }
234
+ `,Ia=He.css`
235
235
  .ft-typography {
236
236
  vertical-align: inherit;
237
237
  }
238
- `,Pi=[Object.keys(Ft).map(e=>xi(e))];var _i=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},X=class extends ki.FtLitElement{constructor(){super(...arguments),this.variant=le.body1}render(){return this.element?xn`
238
+ `,Pa=[Object.keys(Ft).map(e=>xa(e))];var _a=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},J=class extends ka.FtLitElement{constructor(){super(...arguments),this.variant=X.body1}render(){return this.element?xn`
239
239
  <${gn(this.element)}
240
240
  part="text"
241
241
  class="ft-typography ft-typography--${this.variant}">
@@ -243,7 +243,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
243
243
  </${gn(this.element)}>
244
244
  `:xn`
245
245
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
246
- `}};X.styles=[Si,Ci,Oi,Ei,Ai,wi,Ri,Li,Ni,Ti,Ii,...Pi];_i([(0,vn.property)()],X.prototype,"element",void 0);_i([(0,vn.property)()],X.prototype,"variant",void 0);(0,Bi.customElement)("ft-typography")(X);var $n=b(P());var ut=b(z()),ie=b(te()),ur=b(P());var Bn=b(P());var zr=b(te()),$s=b(P());var qi=b(z()),D=b(P());var zi=b(z()),ne=b(P()),Di=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorContent),E={color:Di,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Di),opacityContentOnSurfacePressed:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ne.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},$i=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorPrimary),Ui={color:$i,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",$i)},Mi=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorSecondary),Fi={color:Mi,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Mi)},Hi=zi.css`
246
+ `}};J.styles=[Sa,Ca,Oa,Ea,Aa,wa,Ra,La,Ta,Na,Ia,...Pa];_a([(0,vn.property)()],J.prototype,"element",void 0);_a([(0,vn.property)()],J.prototype,"variant",void 0);(0,Ba.customElement)("ft-typography")(J);var $n=b(P());var At=b(z()),ae=b(te());var fr=b(P());var Bn=b(P());var Hr=b(te()),$s=b(P());var qa=b(z()),D=b(P());var za=b(z()),ne=b(P()),Da=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorContent),E={color:Da,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Da),opacityContentOnSurfacePressed:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ne.FtCssVariableFactory.external(ne.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ne.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},$a=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorPrimary),Ua={color:$a,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",$a)},Ma=ne.FtCssVariableFactory.extend("--ft-ripple-color","",ne.designSystemVariables.colorSecondary),Fa={color:Ma,backgroundColor:ne.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ma)},Ha=za.css`
247
247
  :host {
248
248
  display: contents;
249
249
  }
@@ -298,19 +298,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
298
298
  }
299
299
 
300
300
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
301
- background-color: ${Fi.backgroundColor};
301
+ background-color: ${Fa.backgroundColor};
302
302
  }
303
303
 
304
304
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
305
- background-color: ${Fi.color};
305
+ background-color: ${Fa.color};
306
306
  }
307
307
 
308
308
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
309
- background-color: ${Ui.backgroundColor};
309
+ background-color: ${Ua.backgroundColor};
310
310
  }
311
311
 
312
312
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
313
- background-color: ${Ui.color};
313
+ background-color: ${Ua.color};
314
314
  }
315
315
 
316
316
  .ft-ripple .ft-ripple--background {
@@ -355,7 +355,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
355
355
  opacity: ${E.opacityContentOnSurfacePressed};
356
356
  transform: translate(-50%, -50%) scale(1);
357
357
  }
358
- `;var Wi=b(z()),_r=b(P()),V={color:_r.FtCssVariableFactory.extend("--ft-loader-color","",_r.designSystemVariables.colorPrimary),size:_r.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Gi=Wi.css`
358
+ `;var Wa=b(z()),kr=b(P()),V={color:kr.FtCssVariableFactory.extend("--ft-loader-color","",kr.designSystemVariables.colorPrimary),size:kr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ga=Wa.css`
359
359
  :host {
360
360
  line-height: 0;
361
361
  }
@@ -424,7 +424,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
424
424
  transform: translate(calc(0.35 * ${V.size}), 0);
425
425
  }
426
426
  }
427
- `;var ji=b(z()),Ve=b(P()),G={size:Ve.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ve.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ki=[ji.css`
427
+ `;var ja=b(z()),Ve=b(P()),G={size:Ve.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ve.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ve.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ve.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ka=[ja.css`
428
428
  :host, i.ft-icon {
429
429
  display: inline-flex;
430
430
  align-items: center;
@@ -472,7 +472,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
472
472
  .ft-icon--material {
473
473
  font-family: ${G.materialFontFamily}, "Material Icons", sans-serif;
474
474
  }
475
- `,Ve.noTextSelect];var Vi=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),Q={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Vi,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",tt.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Vi),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Zi=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Sn={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Zi,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Zi)},rt={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Yi=[qi.css`
475
+ `,Ve.noTextSelect];var Va=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),ee={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Va,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",rt.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Va),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Za=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Sn={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Za,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Za)},ot={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ya=[qa.css`
476
476
  :host {
477
477
  display: inline-block;
478
478
  max-width: 100%;
@@ -483,7 +483,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
483
483
  box-shadow: 0px 0px 0px transparent;
484
484
  border: 0px solid transparent;
485
485
  text-shadow: 0px 0px 0px transparent;
486
- font-size: ${Q.fontSize};
486
+ font-size: ${ee.fontSize};
487
487
  text-decoration: none;
488
488
  }
489
489
 
@@ -513,31 +513,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
513
513
  border: none;
514
514
  pointer-events: auto;
515
515
 
516
- --button-internal-line-height: max(calc(${Q.fontSize} + 2px), ${Q.iconSize});
517
- --button-internal-color: ${Q.color};
518
- ${(0,D.setVariable)(G.size,Q.iconSize)};
519
- ${(0,D.setVariable)(E.color,Q.rippleColor)};
516
+ --button-internal-line-height: max(calc(${ee.fontSize} + 2px), ${ee.iconSize});
517
+ --button-internal-color: ${ee.color};
518
+ ${(0,D.setVariable)(G.size,ee.iconSize)};
519
+ ${(0,D.setVariable)(E.color,ee.rippleColor)};
520
520
 
521
- border-radius: ${Q.borderRadius};
522
- padding: ${Q.verticalPadding} ${Q.horizontalPadding};
523
- background-color: ${Q.backgroundColor};
521
+ border-radius: ${ee.borderRadius};
522
+ padding: ${ee.verticalPadding} ${ee.horizontalPadding};
523
+ background-color: ${ee.backgroundColor};
524
524
  color: var(--button-internal-color);
525
525
  -webkit-mask-image: radial-gradient(white, black);
526
526
  }
527
527
 
528
528
  .ft-button.ft-button--outlined {
529
529
  border: 1px solid var(--button-internal-color);
530
- padding: calc(${Q.verticalPadding} - 1px) calc(${Q.horizontalPadding} - 1px);
530
+ padding: calc(${ee.verticalPadding} - 1px) calc(${ee.horizontalPadding} - 1px);
531
531
  }
532
532
 
533
533
  .ft-button.ft-button--dense {
534
- padding: ${rt.verticalPadding} ${rt.horizontalPadding};
535
- border-radius: ${rt.borderRadius};
536
- gap: ${rt.iconPadding};
534
+ padding: ${ot.verticalPadding} ${ot.horizontalPadding};
535
+ border-radius: ${ot.borderRadius};
536
+ gap: ${ot.iconPadding};
537
537
  }
538
538
 
539
539
  .ft-button.ft-button--dense.ft-button--outlined {
540
- padding: calc(${rt.verticalPadding} - 1px) calc(${rt.horizontalPadding} - 1px);
540
+ padding: calc(${ot.verticalPadding} - 1px) calc(${ot.horizontalPadding} - 1px);
541
541
  }
542
542
 
543
543
  .ft-button:not([disabled]):hover {
@@ -545,16 +545,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
545
545
  }
546
546
 
547
547
  .ft-button--round {
548
- border-radius: calc(var(--button-internal-line-height) / 2 + ${Q.verticalPadding});
548
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${ee.verticalPadding});
549
549
  }
550
550
 
551
551
  .ft-button--round.ft-button--dense {
552
- border-radius: calc(var(--button-internal-line-height) / 2 + ${rt.verticalPadding});
552
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${ot.verticalPadding});
553
553
  }
554
554
 
555
555
  .ft-button[disabled] {
556
556
  filter: grayscale(1);
557
- opacity: ${Q.opacityDisabled};
557
+ opacity: ${ee.opacityDisabled};
558
558
  }
559
559
 
560
560
  .ft-button.ft-button--primary {
@@ -573,13 +573,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
573
573
  white-space: nowrap;
574
574
  text-overflow: ellipsis;
575
575
  display: block;
576
- margin: 0 ${Q.iconPadding};
577
- ${(0,D.setVariable)(tt.fontSize,"1em")};
578
- ${(0,D.setVariable)(tt.lineHeight,"var(--button-internal-line-height)")};
576
+ margin: 0 ${ee.iconPadding};
577
+ ${(0,D.setVariable)(rt.fontSize,"1em")};
578
+ ${(0,D.setVariable)(rt.lineHeight,"var(--button-internal-line-height)")};
579
579
  }
580
580
 
581
581
  .ft-button--dense .ft-button--label {
582
- margin: 0 ${rt.iconPadding};
582
+ margin: 0 ${ot.iconPadding};
583
583
  }
584
584
 
585
585
  .ft-button--label[hidden] {
@@ -592,13 +592,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
592
592
  }
593
593
 
594
594
  .ft-button--label[hidden] + [part="icon"] {
595
- margin: 0 calc(${Q.horizontalPadding} * -1);
596
- padding: 0 ${Q.verticalPadding};
595
+ margin: 0 calc(${ee.horizontalPadding} * -1);
596
+ padding: 0 ${ee.verticalPadding};
597
597
  }
598
598
 
599
599
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
600
- margin: 0 calc(${rt.horizontalPadding} * -1);
601
- padding: 0 ${rt.verticalPadding};
600
+ margin: 0 calc(${ot.horizontalPadding} * -1);
601
+ padding: 0 ${ot.verticalPadding};
602
602
  }
603
603
 
604
604
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -606,21 +606,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
606
606
  }
607
607
 
608
608
  ft-loader {
609
- ${(0,D.setVariable)(V.size,Q.iconSize)};
609
+ ${(0,D.setVariable)(V.size,ee.iconSize)};
610
610
  ${(0,D.setVariable)(V.color,"var(--button-internal-color)")};
611
611
  }
612
- `,D.noTextSelect];var At=b(P());var Qi=b(P());var Xi=b(z()),xe=b(te()),Ji=b(bt()),kr=b(P());var Re=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Z=class extends kr.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new kr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new kr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),c=(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(a!=null?a-c.x:c.width/2),this.originY=Math.round(i!=null?i-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Xi.html`
612
+ `,D.noTextSelect];var Et=b(P());var Qa=b(P());var Xa=b(z()),be=b(te()),Ja=b(bt()),Br=b(P());var we=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Z=class extends Br.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 Br.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Br.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),c=(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-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Xa.html`
613
613
  <style>
614
614
  .ft-ripple .ft-ripple--effect {
615
615
  left: ${this.originX}px;
616
616
  top: ${this.originY}px;
617
617
  }
618
618
  </style>
619
- <div class="${(0,Ji.classMap)(t)}">
619
+ <div class="${(0,Ja.classMap)(t)}">
620
620
  <div class="ft-ripple--background"></div>
621
621
  <div class="ft-ripple--effect"></div>
622
622
  </div>
623
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",i,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",i,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.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()}};Z.elementDefinitions={};Z.styles=Hi;Re([(0,xe.property)({type:Boolean})],Z.prototype,"primary",void 0);Re([(0,xe.property)({type:Boolean})],Z.prototype,"secondary",void 0);Re([(0,xe.property)({type:Boolean})],Z.prototype,"unbounded",void 0);Re([(0,xe.property)({type:Boolean})],Z.prototype,"activated",void 0);Re([(0,xe.property)({type:Boolean})],Z.prototype,"selected",void 0);Re([(0,xe.property)({type:Boolean})],Z.prototype,"disabled",void 0);Re([(0,xe.state)()],Z.prototype,"hovered",void 0);Re([(0,xe.state)()],Z.prototype,"focused",void 0);Re([(0,xe.state)()],Z.prototype,"pressed",void 0);Re([(0,xe.state)()],Z.prototype,"rippling",void 0);Re([(0,xe.state)()],Z.prototype,"originX",void 0);Re([(0,xe.state)()],Z.prototype,"originY",void 0);Re([(0,xe.query)(".ft-ripple")],Z.prototype,"ripple",void 0);Re([(0,xe.query)(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);(0,Qi.customElement)("ft-ripple")(Z);var Ls=b(P());var Rs=b(z()),de=b(te()),Ct=b(P());var es=b(z()),st=b(P()),sr={distance:st.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:st.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:st.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:st.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:st.FtCssVariableFactory.external(st.designSystemVariables.borderRadiusS,"Design system"),maxWidth:st.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ts=es.css`
623
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",i,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",a,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",i,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",a,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,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(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.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()}};Z.elementDefinitions={};Z.styles=Ha;we([(0,be.property)({type:Boolean})],Z.prototype,"primary",void 0);we([(0,be.property)({type:Boolean})],Z.prototype,"secondary",void 0);we([(0,be.property)({type:Boolean})],Z.prototype,"unbounded",void 0);we([(0,be.property)({type:Boolean})],Z.prototype,"activated",void 0);we([(0,be.property)({type:Boolean})],Z.prototype,"selected",void 0);we([(0,be.property)({type:Boolean})],Z.prototype,"disabled",void 0);we([(0,be.state)()],Z.prototype,"hovered",void 0);we([(0,be.state)()],Z.prototype,"focused",void 0);we([(0,be.state)()],Z.prototype,"pressed",void 0);we([(0,be.state)()],Z.prototype,"rippling",void 0);we([(0,be.state)()],Z.prototype,"originX",void 0);we([(0,be.state)()],Z.prototype,"originY",void 0);we([(0,be.query)(".ft-ripple")],Z.prototype,"ripple",void 0);we([(0,be.query)(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);(0,Qa.customElement)("ft-ripple")(Z);var Ls=b(P());var Rs=b(z()),ke=b(te()),Le=b(P());var es=b(z()),ct=b(P()),cr={distance:ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ct.FtCssVariableFactory.external(ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ts=es.css`
624
624
  .ft-tooltip--container {
625
625
  display: block;
626
626
  }
@@ -635,29 +635,24 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
635
635
  box-sizing: border-box;
636
636
  overflow: hidden;
637
637
  width: max-content;
638
- max-width: ${sr.maxWidth};
638
+ max-width: ${cr.maxWidth};
639
639
  text-align: center;
640
- padding: ${sr.distance};
641
- z-index: ${sr.zIndex};
640
+ padding: ${cr.distance};
641
+ z-index: ${cr.zIndex};
642
642
  }
643
643
 
644
644
  .ft-tooltip--content {
645
645
  padding: 4px 8px;
646
- border-radius: ${sr.borderRadiusS};
647
- background-color: ${sr.backgroundColor};
648
- color: ${sr.color};
646
+ border-radius: ${cr.borderRadiusS};
647
+ background-color: ${cr.backgroundColor};
648
+ color: ${cr.color};
649
649
  position: relative;
650
650
  word-break: break-word;
651
651
  }
652
- `;var os=["top","right","bottom","left"],rs=["start","end"],On=os.reduce((e,t)=>e.concat(t,t+"-"+rs[0],t+"-"+rs[1]),[]),ns=Math.min,as=Math.max;var id={left:"right",right:"left",bottom:"top",top:"bottom"},sd={start:"end",end:"start"};function En(e,t,o){return as(e,ns(t,o))}function so(e,t){return typeof e=="function"?e(t):e}function cr(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function An(e){return e==="x"?"y":"x"}function wn(e){return e==="y"?"height":"width"}function co(e){return["top","bottom"].includes(cr(e))?"y":"x"}function Rn(e){return An(co(e))}function is(e,t,o){o===void 0&&(o=!1);let n=St(e),a=Rn(e),i=wn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=Cn(c)),[c,Cn(c)]}function ss(e){return e.replace(/start|end/g,t=>sd[t])}function Cn(e){return e.replace(/left|right|bottom|top/g,t=>id[t])}function cd(e){return{top:0,right:0,bottom:0,left:0,...e}}function cs(e){return typeof e!="number"?cd(e):{top:e,right:e,bottom:e,left:e}}function zt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function ls(e,t,o){let{reference:n,floating:a}=e,i=co(t),c=Rn(t),l=wn(c),p=cr(t),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,S;switch(p){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-a.width,y:h};break;default:S={x:n.x,y:n.y}}switch(St(t)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var ds=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,l=i.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:h}=ls(u,n,p),g=n,S={},v=0;for(let O=0;O<l.length;O++){let{name:T,fn:R}=l[O],{x:L,y:B,data:U,reset:M}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:t}});m=L??m,h=B??h,S={...S,[T]:{...S[T],...U}},M&&v<=50&&(v++,typeof M=="object"&&(M.placement&&(g=M.placement),M.rects&&(u=M.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):M.rects),{x:m,y:h}=ls(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function Ln(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:c,elements:l,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=so(t,e),v=cs(S),T=l[g?h==="floating"?"reference":"floating":h],R=zt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(T)))==null||o?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),L=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,B=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(B))?await(i.getScale==null?void 0:i.getScale(B))||{x:1,y:1}:{x:1,y:1},M=zt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:L,offsetParent:B,strategy:p}):L);return{top:(R.top-M.top+v.top)/U.y,bottom:(M.bottom-R.bottom+v.bottom)/U.y,left:(R.left-M.left+v.left)/U.x,right:(M.right-R.right+v.right)/U.x}}function ld(e,t,o){return(e?[...o.filter(a=>St(a)===e),...o.filter(a=>St(a)!==e)]:o.filter(a=>cr(a)===a)).filter(a=>e?St(a)===e||(t?ss(a)!==a:!1):!0)}var Nn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:p,elements:u}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:g=On,autoAlignment:S=!0,...v}=so(e,t),O=h!==void 0||g===On?ld(h||null,S,g):g,T=await Ln(t,v),R=((o=c.autoPlacement)==null?void 0:o.index)||0,L=O[R];if(L==null)return{};let B=is(L,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==L)return{reset:{placement:O[0]}};let U=[T[cr(L)],T[B[0]],T[B[1]]],M=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:U}],we=O[R+1];if(we)return{data:{index:R+1,overflows:M},reset:{placement:we}};let Qe=M.map(me=>{let y=St(me.placement);return[me.placement,y&&m?me.overflows.slice(0,2).reduce((x,_)=>x+_,0):me.overflows[0],me.overflows]}).sort((me,y)=>me[1]-y[1]),et=((a=Qe.filter(me=>me[2].slice(0,St(me[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Qe[0][0];return et!==l?{data:{index:R+1,overflows:M},reset:{placement:et}}:{}}}};var Tn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:T=>{let{x:R,y:L}=T;return{x:R,y:L}}},...p}=so(e,t),u={x:o,y:n},m=await Ln(t,p),h=co(cr(a)),g=An(h),S=u[g],v=u[h];if(i){let T=g==="y"?"top":"left",R=g==="y"?"bottom":"right",L=S+m[T],B=S-m[R];S=En(L,S,B)}if(c){let T=h==="y"?"top":"left",R=h==="y"?"bottom":"right",L=v+m[T],B=v-m[R];v=En(L,v,B)}let O=l.fn({...t,[g]:S,[h]:v});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var In=Math.min,lr=Math.max,Br=Math.round;var ct=e=>({x:e,y:e});function lt(e){return us(e)?(e.nodeName||"").toLowerCase():"#document"}function Le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function dt(e){var t;return(t=(us(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function us(e){return e instanceof Node||e instanceof Le(e).Node}function ot(e){return e instanceof Element||e instanceof Le(e).Element}function Ze(e){return e instanceof HTMLElement||e instanceof Le(e).HTMLElement}function ps(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Le(e).ShadowRoot}function dr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=ke(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function fs(e){return["table","td","th"].includes(lt(e))}function po(e){let t=uo(),o=ke(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(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 hs(e){let t=Ht(e);for(;Ze(t)&&!Dr(t);){if(po(t))return t;t=Ht(t)}return null}function uo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Dr(e){return["html","body","#document"].includes(lt(e))}function ke(e){return Le(e).getComputedStyle(e)}function $r(e){return ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(lt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ps(e)&&e.host||dt(e);return ps(t)?t.host:t}function ys(e){let t=Ht(e);return Dr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ze(t)&&dr(t)?t:ys(t)}function lo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=ys(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=Le(a);return i?t.concat(c,c.visualViewport||[],dr(a)?a:[],c.frameElement&&o?lo(c.frameElement):[]):t.concat(a,lo(a,[],o))}function bs(e){let t=ke(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Ze(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=Br(o)!==i||Br(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function xs(e){return ot(e)?e:e.contextElement}function pr(e){let t=xs(e);if(!Ze(t))return ct(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=bs(t),c=(i?Br(o.width):o.width)/n,l=(i?Br(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var ud=ct(0);function vs(e){let t=Le(e);return!uo()||!t.visualViewport?ud:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Le(e)?!1:t}function Ur(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=xs(e),c=ct(1);t&&(n?ot(n)&&(c=pr(n)):c=pr(e));let l=fd(i,o,n)?vs(i):ct(0),p=(a.left+l.x)/c.x,u=(a.top+l.y)/c.y,m=a.width/c.x,h=a.height/c.y;if(i){let g=Le(i),S=n&&ot(n)?Le(n):n,v=g.frameElement;for(;v&&n&&S!==g;){let O=pr(v),T=v.getBoundingClientRect(),R=ke(v),L=T.left+(v.clientLeft+parseFloat(R.paddingLeft))*O.x,B=T.top+(v.clientTop+parseFloat(R.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=L,u+=B,v=Le(v).frameElement}}return zt({width:m,height:h,x:p,y:u})}function hd(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Ze(o),i=dt(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},l=ct(1),p=ct(0);if((a||!a&&n!=="fixed")&&((lt(o)!=="body"||dr(i))&&(c=$r(o)),Ze(o))){let u=Ur(o);l=pr(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-c.scrollLeft*l.x+p.x,y:t.y*l.y-c.scrollTop*l.y+p.y}}function yd(e){return Array.from(e.getClientRects())}function Ss(e){return Ur(dt(e)).left+$r(e).scrollLeft}function md(e){let t=dt(e),o=$r(e),n=e.ownerDocument.body,a=lr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=lr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ss(e),l=-o.scrollTop;return ke(n).direction==="rtl"&&(c+=lr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function gd(e,t){let o=Le(e),n=dt(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,p=0;if(a){i=a.width,c=a.height;let u=uo();(!u||u&&t==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:l,y:p}}function bd(e,t){let o=Ur(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Ze(e)?pr(e):ct(1),c=e.clientWidth*i.x,l=e.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:c,height:l,x:p,y:u}}function ms(e,t,o){let n;if(t==="viewport")n=gd(e,o);else if(t==="document")n=md(dt(e));else if(ot(t))n=bd(t,o);else{let a=vs(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return zt(n)}function Cs(e,t){let o=Ht(e);return o===t||!ot(o)||Dr(o)?!1:ke(o).position==="fixed"||Cs(o,t)}function xd(e,t){let o=t.get(e);if(o)return o;let n=lo(e,[],!1).filter(l=>ot(l)&&lt(l)!=="body"),a=null,i=ke(e).position==="fixed",c=i?Ht(e):e;for(;ot(c)&&!Dr(c);){let l=ke(c),p=po(c);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||dr(c)&&!p&&Cs(e,c))?n=n.filter(m=>m!==c):a=l,c=Ht(c)}return t.set(e,n),n}function vd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?xd(t,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=ms(t,m,a);return u.top=lr(h.top,u.top),u.right=In(h.right,u.right),u.bottom=In(h.bottom,u.bottom),u.left=lr(h.left,u.left),u},ms(t,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Sd(e){return bs(e)}function Cd(e,t,o){let n=Ze(t),a=dt(t),i=o==="fixed",c=Ur(e,!0,i,t),l={scrollLeft:0,scrollTop:0},p=ct(0);if(n||!n&&!i)if((lt(t)!=="body"||dr(a))&&(l=$r(t)),n){let u=Ur(t,!0,i,t);p.x=u.x+t.clientLeft,p.y=u.y+t.clientTop}else a&&(p.x=Ss(a));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function gs(e,t){return!Ze(e)||ke(e).position==="fixed"?null:t?t(e):e.offsetParent}function Os(e,t){let o=Le(e);if(!Ze(e))return o;let n=gs(e,t);for(;n&&fs(n)&&ke(n).position==="static";)n=gs(n,t);return n&&(lt(n)==="html"||lt(n)==="body"&&ke(n).position==="static"&&!po(n))?o:n||hs(e)||o}var Od=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||Os,i=this.getDimensions;return{reference:Cd(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Ed(e){return ke(e).direction==="rtl"}var fo={convertOffsetParentRelativeRectToViewportRelativeRect:hd,getDocumentElement:dt,getClippingRect:vd,getOffsetParent:Os,getElementRects:Od,getClientRects:yd,getDimensions:Sd,getScale:pr,isElement:ot,isRTL:Ed};var Es=(e,t,o)=>{let n=new Map,a={platform:fo,...o},i={...a.platform,_c:n};return ds(e,t,{...a,platform:i})};function As(e){return Ad(e)}function Pn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ad(e){for(let t=e;t;t=Pn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Pn(e);t;t=Pn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function ws(e,t,o){return Es(e,t,{platform:{...fo,getOffsetParent:n=>fo.getOffsetParent(n,As)},middleware:[Tn({crossAxis:!0}),Nn({allowedPlacements:[o]})]})}var Ne=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ee=class extends Ct.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 Ct.Debouncer,this.revealDebouncer=new Ct.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Rs.html`
652
+ `;var os=["top","right","bottom","left"],rs=["start","end"],On=os.reduce((e,t)=>e.concat(t,t+"-"+rs[0],t+"-"+rs[1]),[]),ns=Math.min,is=Math.max;var ad={left:"right",right:"left",bottom:"top",top:"bottom"},sd={start:"end",end:"start"};function En(e,t,o){return is(e,ns(t,o))}function so(e,t){return typeof e=="function"?e(t):e}function lr(e){return e.split("-")[0]}function St(e){return e.split("-")[1]}function An(e){return e==="x"?"y":"x"}function wn(e){return e==="y"?"height":"width"}function co(e){return["top","bottom"].includes(lr(e))?"y":"x"}function Rn(e){return An(co(e))}function as(e,t,o){o===void 0&&(o=!1);let n=St(e),i=Rn(e),a=wn(i),c=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(c=Cn(c)),[c,Cn(c)]}function ss(e){return e.replace(/start|end/g,t=>sd[t])}function Cn(e){return e.replace(/left|right|bottom|top/g,t=>ad[t])}function cd(e){return{top:0,right:0,bottom:0,left:0,...e}}function cs(e){return typeof e!="number"?cd(e):{top:e,right:e,bottom:e,left:e}}function zt(e){let{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function ls(e,t,o){let{reference:n,floating:i}=e,a=co(t),c=Rn(t),l=wn(c),p=lr(t),u=a==="y",m=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[l]/2-i[l]/2,S;switch(p){case"top":S={x:m,y:n.y-i.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-i.width,y:h};break;default:S={x:n.x,y:n.y}}switch(St(t)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var ds=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=o,l=a.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:m,y:h}=ls(u,n,p),g=n,S={},v=0;for(let O=0;O<l.length;O++){let{name:N,fn:R}=l[O],{x:L,y:B,data:U,reset:M}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:t}});m=L??m,h=B??h,S={...S,[N]:{...S[N],...U}},M&&v<=50&&(v++,typeof M=="object"&&(M.placement&&(g=M.placement),M.rects&&(u=M.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:i}):M.rects),{x:m,y:h}=ls(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:i,middlewareData:S}};async function Ln(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:c,elements:l,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=so(t,e),v=cs(S),N=l[g?h==="floating"?"reference":"floating":h],R=zt(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(l.floating)),boundary:u,rootBoundary:m,strategy:p})),L=h==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,B=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),U=await(a.isElement==null?void 0:a.isElement(B))?await(a.getScale==null?void 0:a.getScale(B))||{x:1,y:1}:{x:1,y:1},M=zt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:L,offsetParent:B,strategy:p}):L);return{top:(R.top-M.top+v.top)/U.y,bottom:(M.bottom-R.bottom+v.bottom)/U.y,left:(R.left-M.left+v.left)/U.x,right:(M.right-R.right+v.right)/U.x}}function ld(e,t,o){return(e?[...o.filter(i=>St(i)===e),...o.filter(i=>St(i)!==e)]:o.filter(i=>lr(i)===i)).filter(i=>e?St(i)===e||(t?ss(i)!==i:!1):!0)}var Tn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:c,placement:l,platform:p,elements:u}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:g=On,autoAlignment:S=!0,...v}=so(e,t),O=h!==void 0||g===On?ld(h||null,S,g):g,N=await Ln(t,v),R=((o=c.autoPlacement)==null?void 0:o.index)||0,L=O[R];if(L==null)return{};let B=as(L,a,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==L)return{reset:{placement:O[0]}};let U=[N[lr(L)],N[B[0]],N[B[1]]],M=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:U}],Ae=O[R+1];if(Ae)return{data:{index:R+1,overflows:M},reset:{placement:Ae}};let et=M.map(ye=>{let y=St(ye.placement);return[ye.placement,y&&m?ye.overflows.slice(0,2).reduce((x,_)=>x+_,0):ye.overflows[0],ye.overflows]}).sort((ye,y)=>ye[1]-y[1]),tt=((i=et.filter(ye=>ye[2].slice(0,St(ye[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||et[0][0];return tt!==l?{data:{index:R+1,overflows:M},reset:{placement:tt}}:{}}}};var Nn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:l={fn:N=>{let{x:R,y:L}=N;return{x:R,y:L}}},...p}=so(e,t),u={x:o,y:n},m=await Ln(t,p),h=co(lr(i)),g=An(h),S=u[g],v=u[h];if(a){let N=g==="y"?"top":"left",R=g==="y"?"bottom":"right",L=S+m[N],B=S-m[R];S=En(L,S,B)}if(c){let N=h==="y"?"top":"left",R=h==="y"?"bottom":"right",L=v+m[N],B=v-m[R];v=En(L,v,B)}let O=l.fn({...t,[g]:S,[h]:v});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:a,[h]:c}}}}}};var In=Math.min,dr=Math.max,Dr=Math.round;var lt=e=>({x:e,y:e});function dt(e){return us(e)?(e.nodeName||"").toLowerCase():"#document"}function Re(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){var t;return(t=(us(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function us(e){return e instanceof Node||e instanceof Re(e).Node}function nt(e){return e instanceof Element||e instanceof Re(e).Element}function Ze(e){return e instanceof HTMLElement||e instanceof Re(e).HTMLElement}function ps(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Re(e).ShadowRoot}function pr(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=_e(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function fs(e){return["table","td","th"].includes(dt(e))}function po(e){let t=uo(),o=_e(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(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 hs(e){let t=Ht(e);for(;Ze(t)&&!$r(t);){if(po(t))return t;t=Ht(t)}return null}function uo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $r(e){return["html","body","#document"].includes(dt(e))}function _e(e){return Re(e).getComputedStyle(e)}function Ur(e){return nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(dt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||ps(e)&&e.host||pt(e);return ps(t)?t.host:t}function ys(e){let t=Ht(e);return $r(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ze(t)&&pr(t)?t:ys(t)}function lo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ys(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),c=Re(i);return a?t.concat(c,c.visualViewport||[],pr(i)?i:[],c.frameElement&&o?lo(c.frameElement):[]):t.concat(i,lo(i,[],o))}function bs(e){let t=_e(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ze(e),a=i?e.offsetWidth:o,c=i?e.offsetHeight:n,l=Dr(o)!==a||Dr(n)!==c;return l&&(o=a,n=c),{width:o,height:n,$:l}}function xs(e){return nt(e)?e:e.contextElement}function ur(e){let t=xs(e);if(!Ze(t))return lt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=bs(t),c=(a?Dr(o.width):o.width)/n,l=(a?Dr(o.height):o.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var ud=lt(0);function vs(e){let t=Re(e);return!uo()||!t.visualViewport?ud:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function fd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==Re(e)?!1:t}function Mr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=xs(e),c=lt(1);t&&(n?nt(n)&&(c=ur(n)):c=ur(e));let l=fd(a,o,n)?vs(a):lt(0),p=(i.left+l.x)/c.x,u=(i.top+l.y)/c.y,m=i.width/c.x,h=i.height/c.y;if(a){let g=Re(a),S=n&&nt(n)?Re(n):n,v=g.frameElement;for(;v&&n&&S!==g;){let O=ur(v),N=v.getBoundingClientRect(),R=_e(v),L=N.left+(v.clientLeft+parseFloat(R.paddingLeft))*O.x,B=N.top+(v.clientTop+parseFloat(R.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=L,u+=B,v=Re(v).frameElement}}return zt({width:m,height:h,x:p,y:u})}function hd(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Ze(o),a=pt(o);if(o===a)return t;let c={scrollLeft:0,scrollTop:0},l=lt(1),p=lt(0);if((i||!i&&n!=="fixed")&&((dt(o)!=="body"||pr(a))&&(c=Ur(o)),Ze(o))){let u=Mr(o);l=ur(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-c.scrollLeft*l.x+p.x,y:t.y*l.y-c.scrollTop*l.y+p.y}}function yd(e){return Array.from(e.getClientRects())}function Ss(e){return Mr(pt(e)).left+Ur(e).scrollLeft}function md(e){let t=pt(e),o=Ur(e),n=e.ownerDocument.body,i=dr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=dr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ss(e),l=-o.scrollTop;return _e(n).direction==="rtl"&&(c+=dr(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:l}}function gd(e,t){let o=Re(e),n=pt(e),i=o.visualViewport,a=n.clientWidth,c=n.clientHeight,l=0,p=0;if(i){a=i.width,c=i.height;let u=uo();(!u||u&&t==="fixed")&&(l=i.offsetLeft,p=i.offsetTop)}return{width:a,height:c,x:l,y:p}}function bd(e,t){let o=Mr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Ze(e)?ur(e):lt(1),c=e.clientWidth*a.x,l=e.clientHeight*a.y,p=i*a.x,u=n*a.y;return{width:c,height:l,x:p,y:u}}function ms(e,t,o){let n;if(t==="viewport")n=gd(e,o);else if(t==="document")n=md(pt(e));else if(nt(t))n=bd(t,o);else{let i=vs(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return zt(n)}function Cs(e,t){let o=Ht(e);return o===t||!nt(o)||$r(o)?!1:_e(o).position==="fixed"||Cs(o,t)}function xd(e,t){let o=t.get(e);if(o)return o;let n=lo(e,[],!1).filter(l=>nt(l)&&dt(l)!=="body"),i=null,a=_e(e).position==="fixed",c=a?Ht(e):e;for(;nt(c)&&!$r(c);){let l=_e(c),p=po(c);!p&&l.position==="fixed"&&(i=null),(a?!p&&!i:!p&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||pr(c)&&!p&&Cs(e,c))?n=n.filter(m=>m!==c):i=l,c=Ht(c)}return t.set(e,n),n}function vd(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,c=[...o==="clippingAncestors"?xd(t,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=ms(t,m,i);return u.top=dr(h.top,u.top),u.right=In(h.right,u.right),u.bottom=In(h.bottom,u.bottom),u.left=dr(h.left,u.left),u},ms(t,l,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Sd(e){return bs(e)}function Cd(e,t,o){let n=Ze(t),i=pt(t),a=o==="fixed",c=Mr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},p=lt(0);if(n||!n&&!a)if((dt(t)!=="body"||pr(i))&&(l=Ur(t)),n){let u=Mr(t,!0,a,t);p.x=u.x+t.clientLeft,p.y=u.y+t.clientTop}else i&&(p.x=Ss(i));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function gs(e,t){return!Ze(e)||_e(e).position==="fixed"?null:t?t(e):e.offsetParent}function Os(e,t){let o=Re(e);if(!Ze(e))return o;let n=gs(e,t);for(;n&&fs(n)&&_e(n).position==="static";)n=gs(n,t);return n&&(dt(n)==="html"||dt(n)==="body"&&_e(n).position==="static"&&!po(n))?o:n||hs(e)||o}var Od=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Os,a=this.getDimensions;return{reference:Cd(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Ed(e){return _e(e).direction==="rtl"}var fo={convertOffsetParentRelativeRectToViewportRelativeRect:hd,getDocumentElement:pt,getClippingRect:vd,getOffsetParent:Os,getElementRects:Od,getClientRects:yd,getDimensions:Sd,getScale:ur,isElement:nt,isRTL:Ed};var Es=(e,t,o)=>{let n=new Map,i={platform:fo,...o},a={...i.platform,_c:n};return ds(e,t,{...i,platform:a})};function As(e){return Ad(e)}function Pn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ad(e){for(let t=e;t;t=Pn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Pn(e);t;t=Pn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function ws(e,t,o){return Es(e,t,{platform:{...fo,getOffsetParent:n=>fo.getOffsetParent(n,As)},middleware:[Nn({crossAxis:!0}),Tn({allowedPlacements:[o]})]})}var qe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},le=class extends Le.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Le.Debouncer,this.revealDebouncer=new Le.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Rs.html`
653
653
  <div part="container"
654
- class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
655
- @mouseenter=${this.onHover}
656
- @mouseleave=${this.onOut}
657
- @focusin=${this.onHover}
658
- @focusout=${this.onOut}
659
- @touchstart=${this.onTouch}>
660
- <slot part="slot" @click=${this.onClick}></slot>
654
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
655
+ <slot part="slot"></slot>
661
656
  <div part="tooltip" role="tooltip" inert
662
657
  class="ft-tooltip ft-tooltip--${this.validPosition}"
663
658
  ?hidden=${!this.visible}>
@@ -667,19 +662,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
667
662
  </div>
668
663
  </div>
669
664
  </div>
670
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=t,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.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="",ws(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ct.designSystemVariables.transitionDuration}, left ${Ct.designSystemVariables.transitionDuration}`,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,o){return Math.max(t,Math.min(0,-o))}};ee.elementDefinitions={"ft-typography":X};ee.styles=ts;Ne([(0,de.property)()],ee.prototype,"text",void 0);Ne([(0,de.property)({type:Boolean})],ee.prototype,"manual",void 0);Ne([(0,de.property)({type:Boolean})],ee.prototype,"inline",void 0);Ne([(0,de.property)({type:Number})],ee.prototype,"delay",void 0);Ne([(0,de.property)()],ee.prototype,"position",void 0);Ne([(0,de.queryAssignedNodes)()],ee.prototype,"slotNodes",void 0);Ne([(0,de.query)(".ft-tooltip--container")],ee.prototype,"container",void 0);Ne([(0,de.query)(".ft-tooltip")],ee.prototype,"tooltip",void 0);Ne([(0,de.query)(".ft-tooltip--content")],ee.prototype,"tooltipContent",void 0);Ne([(0,de.state)()],ee.prototype,"visible",void 0);Ne([(0,de.eventOptions)({passive:!0})],ee.prototype,"onTouch",null);Ne([(0,de.eventOptions)({passive:!0})],ee.prototype,"onHover",null);Ne([(0,de.eventOptions)({passive:!0})],ee.prototype,"onOut",null);Ne([(0,de.eventOptions)({passive:!0})],ee.prototype,"onClick",null);(0,Ls.customElement)("ft-tooltip")(ee);var _s=b(P());var Mr=b(z()),Ot=b(te()),Is=b(P()),Ps=b(Ts());var pt;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CLOUD_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;"})(pt||(pt={}));var A;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(A||(A={}));var lg=new Map([...["abw"].map(e=>[e,A.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(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.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(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.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(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.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(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var dg={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var Te;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Te||(Te={}));var Fr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},pe=class extends Is.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Mr.nothing}render(){let t=this.variant&&Object.values(Te).includes(this.variant)?this.variant:Te.fluid_topics,o=t!==Te.material||!!this.value;return Mr.html`
665
+ `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=t,await this.show(o),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.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="",ws(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Le.designSystemVariables.transitionDuration}, left ${Le.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Le.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};le.elementDefinitions={"ft-typography":J};le.styles=ts;qe([(0,ke.property)()],le.prototype,"text",void 0);qe([(0,ke.property)({type:Boolean})],le.prototype,"manual",void 0);qe([(0,ke.property)({type:Boolean})],le.prototype,"inline",void 0);qe([(0,Le.numberProperty)()],le.prototype,"delay",void 0);qe([(0,ke.property)()],le.prototype,"position",void 0);qe([(0,Le.jsonProperty)([])],le.prototype,"ignoreMatchingElements",void 0);qe([(0,ke.queryAssignedNodes)()],le.prototype,"slotNodes",void 0);qe([(0,ke.query)(".ft-tooltip--container")],le.prototype,"container",void 0);qe([(0,ke.query)(".ft-tooltip")],le.prototype,"tooltip",void 0);qe([(0,ke.query)(".ft-tooltip--content")],le.prototype,"tooltipContent",void 0);qe([(0,ke.state)()],le.prototype,"visible",void 0);(0,Ls.customElement)("ft-tooltip")(le);var _s=b(P());var Fr=b(z()),Ct=b(te()),Is=b(P()),Ps=b(Ns());var ut;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CLOUD_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;"})(ut||(ut={}));var A;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(A||(A={}));var lg=new Map([...["abw"].map(e=>[e,A.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(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.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(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.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(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.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(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var dg={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var Te;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Te||(Te={}));var zr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},de=class extends Is.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Fr.nothing}render(){let t=this.variant&&Object.values(Te).includes(this.variant)?this.variant:Te.fluid_topics,o=t!==Te.material||!!this.value;return Fr.html`
671
666
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
672
667
  ${(0,Ps.unsafeHTML)(this.resolvedIcon)}
673
668
  <slot ?hidden=${o}></slot>
674
669
  </i>
675
- `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Te.file_format:this.resolvedIcon=(t=A[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Te.material:this.resolvedIcon=this.value||Mr.nothing;break;default:this.resolvedIcon=(o=pt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};pe.elementDefinitions={};pe.styles=Ki;Fr([(0,Ot.property)()],pe.prototype,"variant",void 0);Fr([(0,Ot.property)()],pe.prototype,"value",void 0);Fr([(0,Ot.property)({reflect:!0,attribute:"aria-hidden"})],pe.prototype,"ariaHidden",void 0);Fr([(0,Ot.state)()],pe.prototype,"resolvedIcon",void 0);Fr([(0,Ot.query)("slot")],pe.prototype,"slottedContent",void 0);(0,_s.customElement)("ft-icon")(pe);var Ds=b(P());var ks=b(z()),Bs=b(P());var Wt=class extends Bs.FtLitElement{render(){return ks.html`
670
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Te.file_format:this.resolvedIcon=(t=A[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Te.material:this.resolvedIcon=this.value||Fr.nothing;break;default:this.resolvedIcon=(o=ut[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};de.elementDefinitions={};de.styles=Ka;zr([(0,Ct.property)()],de.prototype,"variant",void 0);zr([(0,Ct.property)()],de.prototype,"value",void 0);zr([(0,Ct.property)({reflect:!0,attribute:"aria-hidden"})],de.prototype,"ariaHidden",void 0);zr([(0,Ct.state)()],de.prototype,"resolvedIcon",void 0);zr([(0,Ct.query)("slot")],de.prototype,"slottedContent",void 0);(0,_s.customElement)("ft-icon")(de);var Ds=b(P());var ks=b(z()),Bs=b(P());var Wt=class extends Bs.FtLitElement{render(){return ks.html`
676
671
  <div class="ft-loader">
677
672
  <div></div>
678
673
  <div></div>
679
674
  <div></div>
680
675
  <div></div>
681
676
  </div>
682
- `}};Wt.styles=Gi;(0,Ds.customElement)("ft-loader")(Wt);var Et=b(z()),_n=b(bt()),ae=b(te());var he=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},j=class extends(0,At.toFtFormComponent)(At.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=Et.html`
677
+ `}};Wt.styles=Ga;(0,Ds.customElement)("ft-loader")(Wt);var Ot=b(z()),_n=b(bt()),ie=b(te());var fe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},j=class extends(0,Et.toFtFormComponent)(Et.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let i=Ot.html`
683
678
  <ft-ripple part="ripple"
684
679
  ?disabled=${this.isDisabled()}
685
680
  ?activated=${this.activated}
@@ -687,40 +682,40 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
687
682
  <ft-typography part="label"
688
683
  variant="${this.typographyVariant}"
689
684
  element="span"
690
- class="ft-button--label ${At.isSafari?"ft-safari-ellipsis-fix":""}"
685
+ class="ft-button--label ${Et.isSafari?"ft-safari-ellipsis-fix":""}"
691
686
  ?hidden=${!this.hasTextContent()}>
692
687
  <slot @slotchange=${this.onSlotchange}></slot>
693
688
  </ft-typography>
694
689
  ${this.resolveIcon()}
695
- `,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?Et.html`
696
- <a href="${i}"
690
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?Ot.html`
691
+ <a href="${a}"
697
692
  target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
698
693
  part="button"
699
694
  class="${(0,_n.classMap)(this.buttonClasses)}"
700
695
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
701
696
  ?disabled=${this.isDisabled()}>
702
- ${a}
697
+ ${i}
703
698
  </a>
704
- `:Et.html`
699
+ `:Ot.html`
705
700
  <button part="button"
706
701
  class="${(0,_n.classMap)(this.buttonClasses)}"
707
702
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
708
- aria-haspopup="${io(this.ariaHasPopup)}"
703
+ aria-haspopup="${Jt(this.ariaHasPopup)}"
709
704
  ?disabled=${this.isDisabled()}>
710
- ${a}
705
+ ${i}
711
706
  </button>
712
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Et.html`
707
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Ot.html`
713
708
  <ft-tooltip part="tooltip"
714
709
  text="${this.getLabel()}"
715
710
  position="${this.tooltipPosition}">
716
711
  ${t}
717
712
  </ft-tooltip>
718
- `:t}resolveIcon(){return this.loading?Et.html`
719
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Et.html`
713
+ `:t}resolveIcon(){return this.loading?Ot.html`
714
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Ot.html`
720
715
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
721
- `:Et.html`
716
+ `:Ot.html`
722
717
  <slot part="icon" name="icon"></slot>
723
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,At.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":Z,"ft-tooltip":ee,"ft-typography":X,"ft-icon":pe,"ft-loader":Wt};he([(0,ae.property)()],j.prototype,"href",void 0);he([(0,ae.property)()],j.prototype,"target",void 0);he([(0,ae.property)()],j.prototype,"type",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"disabled",void 0);he([(0,ae.property)()],j.prototype,"label",void 0);he([(0,ae.property)()],j.prototype,"icon",void 0);he([(0,ae.property)()],j.prototype,"iconVariant",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"loading",void 0);he([(0,ae.property)({attribute:"aria-label"})],j.prototype,"ariaLabel",void 0);he([(0,ae.property)()],j.prototype,"ariaHasPopup",void 0);he([(0,ae.property)()],j.prototype,"tooltipPosition",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);he([(0,ae.property)({type:Boolean})],j.prototype,"activated",void 0);he([(0,ae.query)(".ft-button")],j.prototype,"button",void 0);he([(0,ae.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);he([(0,ae.query)("[part=tooltip]")],j.prototype,"tooltip",void 0);var ho=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},qe=class extends j{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"}};qe.styles=[$s.safariEllipsisFix,Yi];ho([(0,zr.property)({type:Boolean})],qe.prototype,"primary",void 0);ho([(0,zr.property)({type:Boolean})],qe.prototype,"outlined",void 0);ho([(0,zr.property)({type:Boolean})],qe.prototype,"dense",void 0);ho([(0,zr.property)({type:Boolean})],qe.prototype,"round",void 0);var Hr=b(te());var mo=b(P());var Us=b(z()),C=b(P());var kn={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Ms=[Us.css`
718
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":Z,"ft-tooltip":le,"ft-typography":J,"ft-icon":de,"ft-loader":Wt};fe([(0,ie.property)()],j.prototype,"href",void 0);fe([(0,ie.property)()],j.prototype,"target",void 0);fe([(0,ie.property)()],j.prototype,"type",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"disabled",void 0);fe([(0,ie.property)()],j.prototype,"label",void 0);fe([(0,ie.property)()],j.prototype,"icon",void 0);fe([(0,ie.property)()],j.prototype,"iconVariant",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"loading",void 0);fe([(0,ie.property)({attribute:"aria-label"})],j.prototype,"ariaLabel",void 0);fe([(0,ie.property)()],j.prototype,"ariaHasPopup",void 0);fe([(0,ie.property)()],j.prototype,"tooltipPosition",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);fe([(0,ie.property)({type:Boolean})],j.prototype,"activated",void 0);fe([(0,ie.query)(".ft-button")],j.prototype,"button",void 0);fe([(0,ie.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);fe([(0,ie.query)("[part=tooltip]")],j.prototype,"tooltip",void 0);var ho=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ye=class extends j{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"}};Ye.styles=[$s.safariEllipsisFix,Ya];ho([(0,Hr.property)({type:Boolean})],Ye.prototype,"primary",void 0);ho([(0,Hr.property)({type:Boolean})],Ye.prototype,"outlined",void 0);ho([(0,Hr.property)({type:Boolean})],Ye.prototype,"dense",void 0);ho([(0,Hr.property)({type:Boolean})],Ye.prototype,"round",void 0);var Wr=b(te());var mo=b(P());var Us=b(z()),C=b(P());var kn={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Ms=[Us.css`
724
719
  :host {
725
720
  display: inline-block;
726
721
  max-width: 100%;
@@ -1190,30 +1185,30 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1190
1185
  .ftds--size-small.ft-button--icon-only {
1191
1186
  width: ${f.smallIconOnlyWidth};
1192
1187
  }
1193
- `,C.noTextSelect];var yo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Be=class extends(0,mo.toFtdsBase)(j){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ke.brand,this.iconVariant=Te.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case re.large:return le.body2medium;case re.medium:return le.caption1medium;case re.small:return le.caption2medium}}};Be.styles=[mo.safariEllipsisFix,Ms];yo([(0,Hr.property)({type:Boolean})],Be.prototype,"primary",void 0);yo([(0,Hr.property)({type:Boolean})],Be.prototype,"secondary",void 0);yo([(0,Hr.property)({type:Boolean})],Be.prototype,"tertiary",void 0);yo([(0,Hr.property)({type:Boolean})],Be.prototype,"round",void 0);(0,Bn.customElement)("ft-button")(qe);(0,Bn.customElement)("ftds-button")(Be);var Fs=b(z());var zs=Fs.css`
1188
+ `,C.noTextSelect];var yo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Be=class extends(0,mo.toFtdsBase)(j){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ke.brand,this.iconVariant=Te.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case re.large:return X.body2medium;case re.medium:return X.caption1medium;case re.small:return X.caption2medium}}};Be.styles=[mo.safariEllipsisFix,Ms];yo([(0,Wr.property)({type:Boolean})],Be.prototype,"primary",void 0);yo([(0,Wr.property)({type:Boolean})],Be.prototype,"secondary",void 0);yo([(0,Wr.property)({type:Boolean})],Be.prototype,"tertiary",void 0);yo([(0,Wr.property)({type:Boolean})],Be.prototype,"round",void 0);(0,Bn.customElement)("ft-button")(Ye);(0,Bn.customElement)("ftds-button")(Be);var Fs=b(z());var zs=Fs.css`
1194
1189
  :host {
1195
1190
  position: relative;
1196
1191
  display: inline-block;
1197
1192
  }
1198
1193
 
1199
- .ftds-popover {
1194
+ [part="root-container"] {
1200
1195
  position: relative;
1201
1196
  }
1202
1197
 
1203
- .ftds-popover--container {
1198
+ [part="popover-container"] {
1204
1199
  position: absolute;
1205
1200
  z-index: 100;
1206
1201
  display: block;
1207
1202
  margin: auto;
1208
1203
  }
1209
1204
 
1210
- .ftds-popover--closing-button {
1205
+ [part="closing-button-container"] {
1211
1206
  position: absolute;
1212
1207
  top: 8px;
1213
1208
  right: 8px;
1214
1209
  }
1215
1210
 
1216
- .ftds-popover--overlay {
1211
+ [part="overlay"] {
1217
1212
  position: fixed;
1218
1213
  top: 0;
1219
1214
  right: 0;
@@ -1224,37 +1219,41 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1224
1219
  opacity: 0;
1225
1220
  }
1226
1221
 
1227
- .ftds-popover--wrapper {
1222
+ [part="wrapper"] {
1228
1223
  visibility: hidden;
1229
1224
  position: fixed;
1230
1225
  display: flex;
1231
1226
  flex-direction: column;
1232
1227
 
1233
- max-width: ${be.maxWidth};
1228
+ max-width: ${ge.maxWidth};
1234
1229
  width: max-content;
1235
1230
 
1236
- padding-left: ${be.horizontalPadding};
1237
- padding-right: ${be.horizontalPadding};
1238
- padding-top: ${be.verticalPadding};
1239
- padding-bottom: ${be.verticalPadding};
1240
- gap: ${be.gap};
1231
+ padding-left: ${ge.horizontalPadding};
1232
+ padding-right: ${ge.horizontalPadding};
1233
+ padding-top: ${ge.verticalPadding};
1234
+ padding-bottom: ${ge.verticalPadding};
1235
+ gap: ${ge.gap};
1241
1236
 
1242
- background-color: ${be.backgroundColor};
1243
- border-radius: ${be.borderRadius};
1244
- box-shadow: ${be.shadow};
1237
+ background-color: ${ge.backgroundColor};
1238
+ border-radius: ${ge.borderRadius};
1239
+ box-shadow: ${ge.shadow};
1240
+
1241
+ &.positioned {
1242
+ visibility: visible;
1243
+ }
1245
1244
  }
1246
1245
 
1247
- .ftds-popover--heading {
1246
+ [part="heading"] {
1248
1247
  flex-shrink: 0;
1249
1248
 
1250
1249
  display: flex;
1251
1250
  align-items: center;
1252
- gap: ${be.gap};
1251
+ gap: ${ge.gap};
1253
1252
 
1254
- color: ${be.titleColor};
1253
+ color: ${ge.titleColor};
1255
1254
  }
1256
1255
 
1257
- .ftds-popover--heading ft-typography {
1256
+ [part="heading"] ft-typography {
1258
1257
  flex-grow: 1;
1259
1258
  flex-shrink: 1;
1260
1259
  text-overflow: ellipsis;
@@ -1262,70 +1261,71 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1262
1261
  white-space: nowrap;
1263
1262
  }
1264
1263
 
1265
- .ftds-popover--content {
1266
- color: ${be.bodyColor};
1264
+ [part="content"] {
1265
+ color: ${ge.bodyColor};
1267
1266
  }
1268
1267
 
1269
- .ftds-popover--wrapper-positioned {
1270
- visibility: visible;
1271
- }
1272
-
1273
- .ftds-popover-sections {
1268
+ [part="popover-sections"] {
1274
1269
  display: flex;
1275
1270
  flex-direction: column;
1276
- gap: ${be.multiSectionVerticalGap};
1271
+ gap: ${ge.multiSectionVerticalGap};
1277
1272
  }
1278
1273
 
1279
1274
  .hidden {
1280
1275
  display: none;
1281
1276
  }
1282
- `;var Hs=b(bt());var ye=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},W=class extends ur.FtLitElement{constructor(){super(...arguments),this.popoverOpenTriggeredWithKeyboard=!1,this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=pt.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=re.medium,this.openButtonFamily=Ke.info,this.watchFocusIn=t=>{t.composedPath().includes(this.popoverWrapper)||this.close()},this.watchEscapeKey=t=>{t.key==="Escape"&&(this.close(),this.openingButton.focus())},this.closeAndFocusOpeningButton=t=>{this.close(),t.pointerType?this.openingButton.focusWithoutTooltip():this.openingButton.focus()}}render(){let t={"ftds-popover":!0,"ftds-popover--opened":this.opened};return this.hidden?ut.nothing:ut.html`
1283
- <div part="container" class="${(0,Hs.classMap)(t)}">
1284
- <ftds-button @focusin="${this.close}"
1277
+ `;var Hs=b(bt());var he=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},W=class extends fr.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=ut.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=re.medium,this.openButtonFamily=Ke.info,this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var o;t.key==="Escape"&&(this.close(),(o=this.openingButton)===null||o===void 0||o.focus())}}render(){let t={opened:this.opened};return this.hidden?At.nothing:At.html`
1278
+ <div part="root-container" class="${(0,Hs.classMap)(t)}">
1279
+ <ftds-button @focusin=${this.close}
1285
1280
  part="opening-button"
1286
- size="${this.openButtonSize}" family="${this.openButtonFamily}" label="${this.openButtonLabel}"
1287
- tooltipposition="${this.openButtonTooltipPosition}" icon="${this.openButtonIcon}"
1288
- aria-haspopup="true" aria-expanded="${this.opened}" aria-controls="ftds-popover-dialog"
1281
+ icon="${this.openButtonIcon}"
1282
+ size="${this.openButtonSize}" family="${this.openButtonFamily}"
1283
+ label="${this.openButtonLabel}" tooltipposition="${this.openButtonTooltipPosition}"
1284
+ aria-haspopup="true" aria-expanded="${this.opened}" aria-controls="ftds-popover-wrapper"
1289
1285
  @click=${this.open}>
1290
1286
  </ftds-button>
1291
1287
  ${this.renderPopover()}
1292
1288
  </div>
1293
- `}renderPopover(){return this.opened?ut.html`
1294
- <div class="ftds-popover--container">
1295
- <div class="ftds-popover--overlay" part="overlay" @click="${this.close}"></div>
1296
- <div class="ftds-popover--wrapper" part="wrapper" role="dialog" id="ftds-popover-dialog"
1297
- aria-labelledby="ftds-popover-heading" aria-describedby="ftds-popover-content">
1298
- ${this.renderClosingButton()}
1289
+ `}renderPopover(){return this.opened?At.html`
1290
+ <div part="popover-container">
1291
+ <div part="overlay" @click=${this.close}></div>
1292
+ <div id="ftds-popover-wrapper" part="wrapper" role="dialog"
1293
+ aria-labelledby="${Jt(this.heading?"ftds-popover-heading":void 0)}"
1294
+ aria-describedby="ftds-popover-content">
1295
+ <div part="closing-button-container">
1296
+ <ftds-button part="closing-button"
1297
+ icon="${ut.CLOSE}"
1298
+ size="${re.small}"
1299
+ family="${Ke.neutral}"
1300
+ label="${this.closeButtonLabel}"
1301
+ @click=${this.closeAndFocusOpeningButton}></ftds-button>
1302
+ </div>
1299
1303
  <slot name="heading">
1300
- ${this.renderHeading()}
1304
+ ${this.heading?At.html`
1305
+ <div id="ftds-popover-heading" part="heading">
1306
+ <ft-typography element="span" variant="${X.body2semibold}">
1307
+ ${this.heading}
1308
+ </ft-typography>
1309
+ </div>
1310
+ `:At.nothing}
1301
1311
  </slot>
1302
- <div class="ftds-popover--content" part="content" id="ftds-popover-content">
1303
- <ft-typography variant="body-2-medium">
1312
+ <div id="ftds-popover-content" part="content">
1313
+ <ft-typography variant="${X.body2medium}">
1304
1314
  <slot part="popover-content-slot"></slot>
1305
1315
  </ft-typography>
1306
1316
  </div>
1307
- <ft-typography variant="body-2-medium" part="popover-link-typography">
1317
+ <ft-typography variant="${X.body2medium}" part="popover-link-typography">
1308
1318
  <slot name="link"
1309
1319
  part="popover-link"
1310
- class="ftds-popover--link"
1311
1320
  @slotchange=${()=>this.requestUpdate()}
1312
1321
  ></slot>
1313
1322
  </ft-typography>
1314
- <div part="popover-sections" class="ftds-popover-sections">
1315
- <slot name="sections" part="popover-sections-slot" class="ftds-popover--sections"></slot>
1323
+ <div part="popover-sections">
1324
+ <slot name="sections" part="popover-sections-slot"></slot>
1316
1325
  </div>
1317
1326
  </div>
1318
1327
  </div>
1319
- `:ut.nothing}renderClosingButton(){return ut.html`
1320
- <div class="ftds-popover--closing-button">
1321
- <ftds-button icon="${pt.CLOSE}" size="${re.small}" family="${Ke.neutral}"
1322
- part="closing-button" label="${this.closeButtonLabel}" @click=${this.closeAndFocusOpeningButton}></ftds-button>
1323
- </div>
1324
- `}renderHeading(){return this.heading?ut.html`
1325
- <div class="ftds-popover--heading" part="heading" id="ftds-popover-heading">
1326
- <ft-typography element="span" variant="body-2-semibold">${this.heading}</ft-typography>
1327
- </div>
1328
- `:ut.nothing}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(t){this.popoverOpenTriggeredWithKeyboard=!t.pointerType,this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return(0,ur.unslotText)(t).trim().length===0}async positionWrapper(){this.popoverWrapper.classList.remove("ftds-popover--wrapper-positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="";let t=this.openingButton,o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:a}=await(0,ur.computeOffsetAutoPosition)(t,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${a}px`,this.popoverWrapper.classList.add("ftds-popover--wrapper-positioned"),this.hideUnusedSlots(),this.popoverOpenTriggeredWithKeyboard?this.closingButton.focus():this.closingButton.focusWithoutTooltip()}hideUnusedSlots(){this.hasEmptySlot(this.slottedLinkContent)?this.popoverLinkTypography.classList.add("hidden"):this.popoverLinkTypography.classList.remove("hidden"),this.hasEmptySlot(this.popoverContentSlot)?this.popoverContentDiv.classList.add("hidden"):this.popoverContentDiv.classList.remove("hidden"),this.hasEmptySlot(this.popoverSectionsSlot)?this.popoverSectionsDiv.classList.add("hidden"):this.popoverSectionsDiv.classList.remove("hidden")}};W.elementDefinitions={"ft-typography":X,"ftds-button":Be};W.styles=zs;ye([(0,ie.property)()],W.prototype,"heading",void 0);ye([(0,ie.property)()],W.prototype,"closeButtonLabel",void 0);ye([(0,ie.property)()],W.prototype,"openButtonIcon",void 0);ye([(0,ie.property)()],W.prototype,"openButtonLabel",void 0);ye([(0,ie.property)()],W.prototype,"openButtonTooltipPosition",void 0);ye([(0,ie.property)({type:Boolean})],W.prototype,"opened",void 0);ye([(0,ie.property)({type:Boolean})],W.prototype,"hidden",void 0);ye([(0,ie.property)({type:re})],W.prototype,"openButtonSize",void 0);ye([(0,ie.property)({type:Ke})],W.prototype,"openButtonFamily",void 0);ye([(0,ie.query)("[part=opening-button]")],W.prototype,"openingButton",void 0);ye([(0,ie.query)("[part=closing-button]")],W.prototype,"closingButton",void 0);ye([(0,ie.query)("[part=wrapper]")],W.prototype,"popoverWrapper",void 0);ye([(0,ie.query)("[part=content]")],W.prototype,"popoverContentDiv",void 0);ye([(0,ie.query)("[part=popover-content-slot]")],W.prototype,"popoverContentSlot",void 0);ye([(0,ie.query)("[part=popover-link]")],W.prototype,"slottedLinkContent",void 0);ye([(0,ie.query)("[part=popover-link-typography]")],W.prototype,"popoverLinkTypography",void 0);ye([(0,ie.query)("[part=popover-sections]")],W.prototype,"popoverSectionsDiv",void 0);ye([(0,ie.query)("[part=popover-sections-slot]")],W.prototype,"popoverSectionsSlot",void 0);var Wr=b(z()),Gr=b(te()),go=b(P());var Ws=b(z());var Gs=Ws.css`
1328
+ `:At.nothing}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(t){return(0,fr.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,o;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.openingButton)===null||o===void 0||o.showTooltip())}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let n=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:i,y:a}=await(0,fr.computeOffsetAutoPosition)(this.openingButton,this.popoverWrapper,"bottom-start",n,"fixed");this.popoverWrapper.style.left=`${i}px`,this.popoverWrapper.style.top=`${a}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};W.elementDefinitions={"ft-typography":J,"ftds-button":Be};W.styles=zs;he([(0,ae.property)()],W.prototype,"heading",void 0);he([(0,ae.property)()],W.prototype,"closeButtonLabel",void 0);he([(0,ae.property)()],W.prototype,"openButtonIcon",void 0);he([(0,ae.property)()],W.prototype,"openButtonLabel",void 0);he([(0,ae.property)()],W.prototype,"openButtonTooltipPosition",void 0);he([(0,ae.property)({type:Boolean})],W.prototype,"opened",void 0);he([(0,ae.property)({type:Boolean})],W.prototype,"hidden",void 0);he([(0,ae.property)({type:re})],W.prototype,"openButtonSize",void 0);he([(0,ae.property)({type:Ke})],W.prototype,"openButtonFamily",void 0);he([(0,ae.query)('[part="opening-button"]')],W.prototype,"openingButton",void 0);he([(0,ae.query)('[part="closing-button"]')],W.prototype,"closingButton",void 0);he([(0,ae.query)('[part="wrapper"]')],W.prototype,"popoverWrapper",void 0);he([(0,ae.query)('[part="content"]')],W.prototype,"popoverContentDiv",void 0);he([(0,ae.query)('[part="popover-content-slot"]')],W.prototype,"popoverContentSlot",void 0);he([(0,ae.query)('[part="popover-link"]')],W.prototype,"slottedLinkContent",void 0);he([(0,ae.query)('[part="popover-link-typography"]')],W.prototype,"popoverLinkTypography",void 0);he([(0,ae.query)('[part="popover-sections"]')],W.prototype,"popoverSectionsDiv",void 0);he([(0,ae.query)('[part="popover-sections-slot"]')],W.prototype,"popoverSectionsSlot",void 0);var Gr=b(z()),jr=b(te()),go=b(P());var Ws=b(z());var Gs=Ws.css`
1329
1329
  .ftds-popover-section--heading ft-typography {
1330
1330
  flex-grow: 1;
1331
1331
  flex-shrink: 1;
@@ -1335,15 +1335,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1335
1335
  }
1336
1336
 
1337
1337
  .ftds-popover-section--content {
1338
- color: ${be.bodyColor};
1338
+ color: ${ge.bodyColor};
1339
1339
  }
1340
1340
 
1341
1341
  .ftds-popover-section--container {
1342
1342
  display: flex;
1343
1343
  flex-direction: column;
1344
- gap: ${be.contentSectionVerticalGap};
1344
+ gap: ${ge.contentSectionVerticalGap};
1345
1345
  }
1346
- `;var Dn=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ft=class extends go.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return Wr.html`
1346
+ `;var Dn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ft=class extends go.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return Gr.html`
1347
1347
  <div class="ftds-popover-section--container">
1348
1348
  <slot name="heading">
1349
1349
  ${this.renderHeading()}
@@ -1360,11 +1360,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1360
1360
  ></slot>
1361
1361
  </ft-typography>
1362
1362
  </div>
1363
- `}renderHeading(){return this.heading?Wr.html`
1363
+ `}renderHeading(){return this.heading?Gr.html`
1364
1364
  <div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
1365
1365
  <ft-typography element="span" variant="body-2-semibold">${this.heading}</ft-typography>
1366
1366
  </div>
1367
- `:Wr.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,go.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};ft.elementDefinitions={"ft-typography":X};ft.styles=Gs;Dn([(0,Gr.property)()],ft.prototype,"heading",void 0);Dn([(0,Gr.query)("[part=popover-section-link-typography]")],ft.prototype,"popoverSectionLinkTypography",void 0);Dn([(0,Gr.query)("[part=popover-section-link]")],ft.prototype,"popoverSectionLinkSlot",void 0);(0,$n.customElement)("ftds-popover")(W);(0,$n.customElement)("ftds-popover-section")(ft);var Fn=b(P());var bo=b(z()),Se=b(te()),qs=b(bt()),fr=b(P());var jr=b(z()),$=b(P());var js=$.FtCssVariableFactory.extend("--ft-chip-color","",$.designSystemVariables.colorOnSurface),Ie={backgroundColor:$.FtCssVariableFactory.extend("--ft-chip-background-color","",$.designSystemVariables.colorSurface),color:js,fontSize:$.FtCssVariableFactory.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:$.FtCssVariableFactory.extend("--ft-chip-font-weight","",ze.fontWeight),iconSize:$.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:$.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:$.FtCssVariableFactory.extend("--ft-chip-ripple-color","",js),horizontalPadding:$.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:$.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:$.FtCssVariableFactory.extend("--ft-chip-border-color","",$.designSystemVariables.colorOutline),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Ks=$.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",$.FtCssVariableFactory.extend("--ft-chip-color","",$.designSystemVariables.colorOnPrimary)),Un={backgroundColor:$.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",$.FtCssVariableFactory.extend("--ft-chip-background-color","",$.designSystemVariables.colorPrimary)),color:Ks,rippleColor:$.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Ks)},Vs={horizontalPadding:$.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:$.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Zs=[$.noTextSelect,jr.css`
1367
+ `:Gr.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,go.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};ft.elementDefinitions={"ft-typography":J};ft.styles=Gs;Dn([(0,jr.property)()],ft.prototype,"heading",void 0);Dn([(0,jr.query)("[part=popover-section-link-typography]")],ft.prototype,"popoverSectionLinkTypography",void 0);Dn([(0,jr.query)("[part=popover-section-link]")],ft.prototype,"popoverSectionLinkSlot",void 0);(0,$n.customElement)("ftds-popover")(W);(0,$n.customElement)("ftds-popover-section")(ft);var Fn=b(P());var bo=b(z()),ve=b(te()),qs=b(bt()),hr=b(P());var Kr=b(z()),$=b(P());var js=$.FtCssVariableFactory.extend("--ft-chip-color","",$.designSystemVariables.colorOnSurface),Ne={backgroundColor:$.FtCssVariableFactory.extend("--ft-chip-background-color","",$.designSystemVariables.colorSurface),color:js,fontSize:$.FtCssVariableFactory.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:$.FtCssVariableFactory.extend("--ft-chip-font-weight","",ze.fontWeight),iconSize:$.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:$.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:$.FtCssVariableFactory.extend("--ft-chip-ripple-color","",js),horizontalPadding:$.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:$.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:$.FtCssVariableFactory.extend("--ft-chip-border-color","",$.designSystemVariables.colorOutline),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Ks=$.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",$.FtCssVariableFactory.extend("--ft-chip-color","",$.designSystemVariables.colorOnPrimary)),Un={backgroundColor:$.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",$.FtCssVariableFactory.extend("--ft-chip-background-color","",$.designSystemVariables.colorPrimary)),color:Ks,rippleColor:$.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Ks)},Vs={horizontalPadding:$.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:$.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Zs=[$.noTextSelect,Kr.css`
1368
1368
  :host {
1369
1369
  display: inline-block;
1370
1370
  max-width: 100%;
@@ -1380,21 +1380,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1380
1380
  box-sizing: border-box;
1381
1381
  pointer-events: auto;
1382
1382
 
1383
- --chip-internal-font-size: ${Ie.fontSize};
1384
- --chip-internal-font-weight: ${Ie.fontWeight};
1383
+ --chip-internal-font-size: ${Ne.fontSize};
1384
+ --chip-internal-font-weight: ${Ne.fontWeight};
1385
1385
  --chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
1386
- ${(0,$.setVariable)(G.size,Ie.iconSize)};
1387
- --chip-internal-vertical-padding: ${Ie.verticalPadding};
1388
- --chip-internal-horizontal-padding: ${Ie.horizontalPadding};
1386
+ ${(0,$.setVariable)(G.size,Ne.iconSize)};
1387
+ --chip-internal-vertical-padding: ${Ne.verticalPadding};
1388
+ --chip-internal-horizontal-padding: ${Ne.horizontalPadding};
1389
1389
  --chip-internal-icon-padding: 3px;
1390
- --chip-internal-content-height: max(var(--chip-internal-line-height), ${Ie.iconSize});
1390
+ --chip-internal-content-height: max(var(--chip-internal-line-height), ${Ne.iconSize});
1391
1391
 
1392
- border: 1px solid ${Ie.borderColor};
1393
- color: ${Ie.color};
1394
- ${(0,$.setVariable)(E.color,Ie.rippleColor)};
1395
- border-radius: var(${(0,jr.unsafeCSS)(Ie.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1392
+ border: 1px solid ${Ne.borderColor};
1393
+ color: ${Ne.color};
1394
+ ${(0,$.setVariable)(E.color,Ne.rippleColor)};
1395
+ border-radius: var(${(0,Kr.unsafeCSS)(Ne.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1396
1396
  padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
1397
- background-color: ${Ie.backgroundColor};
1397
+ background-color: ${Ne.backgroundColor};
1398
1398
  line-height: var(--chip-internal-content-height);
1399
1399
  }
1400
1400
 
@@ -1410,14 +1410,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1410
1410
  }
1411
1411
 
1412
1412
  .ft-chip--no-content {
1413
- --chip-internal-horizontal-padding: ${Ie.horizontalPadding.get(jr.css`var(--chip-internal-vertical-padding)`)};
1413
+ --chip-internal-horizontal-padding: ${Ne.horizontalPadding.get(Kr.css`var(--chip-internal-vertical-padding)`)};
1414
1414
  }
1415
1415
 
1416
1416
  .ft-chip--disabled {
1417
1417
  cursor: default;
1418
1418
  pointer-events: none;
1419
1419
  filter: grayscale(1);
1420
- opacity: ${Ie.opacityDisabled};
1420
+ opacity: ${Ne.opacityDisabled};
1421
1421
  }
1422
1422
 
1423
1423
  .ft-chip--highlighted {
@@ -1456,9 +1456,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1456
1456
  }
1457
1457
 
1458
1458
  .ft-chip--icon-button {
1459
- ${(0,$.setVariable)(Q.iconSize,Ie.iconSize)};
1460
- ${(0,$.setVariable)(Q.horizontalPadding,"var(--chip-internal-icon-padding)")};
1461
- ${(0,$.setVariable)(Q.verticalPadding,"var(--chip-internal-icon-padding)")};
1459
+ ${(0,$.setVariable)(ee.iconSize,Ne.iconSize)};
1460
+ ${(0,$.setVariable)(ee.horizontalPadding,"var(--chip-internal-icon-padding)")};
1461
+ ${(0,$.setVariable)(ee.verticalPadding,"var(--chip-internal-icon-padding)")};
1462
1462
  margin: calc((-1) * var(--chip-internal-icon-padding));
1463
1463
  }
1464
1464
 
@@ -1504,7 +1504,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1504
1504
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1505
1505
  order: -1;
1506
1506
  }
1507
- `];var Pe=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},xo=class extends CustomEvent{constructor(){super("icon-click")}},se=class extends fr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":fr.isSafari};return bo.html`
1507
+ `];var Ie=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},xo=class extends CustomEvent{constructor(){super("icon-click")}},se=class extends hr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":hr.isSafari};return bo.html`
1508
1508
  <div class="${(0,qs.classMap)(t)}"
1509
1509
  aria-label="${this.getLabel()}"
1510
1510
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1531,7 +1531,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1531
1531
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1532
1532
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1533
1533
  </div>
1534
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xo))}getLabel(){return this.label||this.textContent}get textContent(){return(0,fr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};se.elementDefinitions={"ft-ripple":Z,"ft-typography":X,"ft-icon":pe,"ft-button":qe};se.styles=Zs;Pe([(0,Se.property)({type:Boolean})],se.prototype,"highlighted",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"removable",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"disabled",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"clickable",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"iconClickable",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"dense",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"multiLine",void 0);Pe([(0,Se.property)()],se.prototype,"label",void 0);Pe([(0,Se.property)()],se.prototype,"iconLabel",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"hideIconTooltip",void 0);Pe([(0,Se.property)()],se.prototype,"icon",void 0);Pe([(0,Se.property)()],se.prototype,"iconVariant",void 0);Pe([(0,Se.property)({type:Boolean})],se.prototype,"trailingIcon",void 0);Pe([(0,Se.query)("ft-typography slot")],se.prototype,"slottedContent",void 0);var wt=b(z()),Rt=b(te()),Js=b(bt()),So=b(P());var Ys=b(z());var vo=b(P());var Xs=[Ys.css`
1534
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new xo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new xo))}getLabel(){return this.label||this.textContent}get textContent(){return(0,hr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};se.elementDefinitions={"ft-ripple":Z,"ft-typography":J,"ft-icon":de,"ft-button":Ye};se.styles=Zs;Ie([(0,ve.property)({type:Boolean})],se.prototype,"highlighted",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"removable",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"disabled",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"clickable",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"iconClickable",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"dense",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"multiLine",void 0);Ie([(0,ve.property)()],se.prototype,"label",void 0);Ie([(0,ve.property)()],se.prototype,"iconLabel",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"hideIconTooltip",void 0);Ie([(0,ve.property)()],se.prototype,"icon",void 0);Ie([(0,ve.property)()],se.prototype,"iconVariant",void 0);Ie([(0,ve.property)({type:Boolean})],se.prototype,"trailingIcon",void 0);Ie([(0,ve.query)("ft-typography slot")],se.prototype,"slottedContent",void 0);var wt=b(z()),Rt=b(te()),Js=b(bt()),So=b(P());var Ys=b(z());var vo=b(P());var Xs=[Ys.css`
1535
1535
  :host {
1536
1536
  display: inline-block;
1537
1537
  max-width: 100%;
@@ -1698,7 +1698,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1698
1698
  .ftds--family-error .ftds-chip--icon-container {
1699
1699
  color: ${k.errorIconColor};
1700
1700
  }
1701
- `];var hr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Mn=class extends CustomEvent{constructor(){super("remove")}},_e=class extends So.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return wt.html`
1701
+ `];var yr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Mn=class extends CustomEvent{constructor(){super("remove")}},Pe=class extends So.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return wt.html`
1702
1702
  <div class="${(0,Js.classMap)(t)}"
1703
1703
  aria-label="${this.getLabel()}"
1704
1704
  part="chip">
@@ -1716,7 +1716,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1716
1716
  <ftds-button round
1717
1717
  class="ftds-chip--remove-button"
1718
1718
  @click=${this.dispatchRemoveEvent}
1719
- icon=${pt.X_MARK}
1719
+ icon=${ut.X_MARK}
1720
1720
  label=${this.removeButtonLabel}
1721
1721
  family=${So.DesignSystemFamily.neutral}
1722
1722
  size=${this.resolveButtonSize()}
@@ -1724,7 +1724,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1724
1724
  ></ftds-button>
1725
1725
  `:this.withAction?wt.html`
1726
1726
  <slot name="action"></slot>
1727
- `:wt.nothing}resolveButtonSize(){switch(this.size){case re.large:return re.medium;case re.medium:case re.small:return re.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Mn)}typographyVariant(){switch(this.size){case re.large:return le.body2medium;case re.medium:case re.small:return le.caption1medium}}};_e.elementDefinitions={"ft-typography":X,"ft-icon":pe,"ftds-button":Be};_e.styles=Xs;hr([(0,Rt.property)({type:Boolean})],_e.prototype,"withAction",void 0);hr([(0,Rt.property)({type:Boolean})],_e.prototype,"removable",void 0);hr([(0,Rt.property)()],_e.prototype,"removeButtonLabel",void 0);hr([(0,Rt.property)()],_e.prototype,"label",void 0);hr([(0,Rt.property)()],_e.prototype,"icon",void 0);hr([(0,Rt.query)("ft-typography slot")],_e.prototype,"slottedContent",void 0);(0,Fn.customElement)("ft-chip")(se);(0,Fn.customElement)("ftds-chip")(_e);var rc=b(P());var Co=b(z()),mr=b(te()),tc=b(bt()),gr=b(P());var Qs=b(z());var yr=b(P()),ec=Qs.css`
1727
+ `:wt.nothing}resolveButtonSize(){switch(this.size){case re.large:return re.medium;case re.medium:case re.small:return re.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Mn)}typographyVariant(){switch(this.size){case re.large:return X.body2medium;case re.medium:case re.small:return X.caption1medium}}};Pe.elementDefinitions={"ft-typography":J,"ft-icon":de,"ftds-button":Be};Pe.styles=Xs;yr([(0,Rt.property)({type:Boolean})],Pe.prototype,"withAction",void 0);yr([(0,Rt.property)({type:Boolean})],Pe.prototype,"removable",void 0);yr([(0,Rt.property)()],Pe.prototype,"removeButtonLabel",void 0);yr([(0,Rt.property)()],Pe.prototype,"label",void 0);yr([(0,Rt.property)()],Pe.prototype,"icon",void 0);yr([(0,Rt.query)("ft-typography slot")],Pe.prototype,"slottedContent",void 0);(0,Fn.customElement)("ft-chip")(se);(0,Fn.customElement)("ftds-chip")(Pe);var rc=b(P());var Co=b(z()),gr=b(te()),tc=b(bt()),br=b(P());var Qs=b(z());var mr=b(P()),ec=Qs.css`
1728
1728
 
1729
1729
  .ftds-link {
1730
1730
  display: inline-flex;
@@ -1739,28 +1739,28 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1739
1739
  .ftds-link:focus-visible {
1740
1740
  outline: 2px solid;
1741
1741
  outline-offset: 2px;
1742
- border-radius: ${yr.designSystemVariables.borderRadiusS};
1742
+ border-radius: ${mr.designSystemVariables.borderRadiusS};
1743
1743
  }
1744
1744
 
1745
1745
  .ftds-link--variant-caption-2-medium,
1746
1746
  .ftds-link--variant-caption-2-semibold,
1747
1747
  .ftds-link--variant-caption-2-bold
1748
1748
  {
1749
- ${(0,yr.setVariable)(G.size,"14px")};
1749
+ ${(0,mr.setVariable)(G.size,"14px")};
1750
1750
  }
1751
1751
 
1752
1752
  .ftds-link--variant-caption-1-medium,
1753
1753
  .ftds-link--variant-caption-1-semibold,
1754
1754
  .ftds-link--variant-caption-1-bold
1755
1755
  {
1756
- ${(0,yr.setVariable)(G.size,"16px")};
1756
+ ${(0,mr.setVariable)(G.size,"16px")};
1757
1757
  }
1758
1758
 
1759
1759
  .ftds-link--variant-body-2-medium,
1760
1760
  .ftds-link--variant-body-2-semibold,
1761
1761
  .ftds-link--variant-body-2-regular
1762
1762
  {
1763
- ${(0,yr.setVariable)(G.size,"18px")};
1763
+ ${(0,mr.setVariable)(G.size,"18px")};
1764
1764
  }
1765
1765
 
1766
1766
  .ftds--family-neutral {
@@ -1815,7 +1815,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1815
1815
  .ftds--family-brand:active {
1816
1816
  color: ${ce.infoActiveColor};
1817
1817
  }
1818
- `;var Kr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Oo;(function(e){e.SELF="_self",e.BLANK="_blank"})(Oo||(Oo={}));var De=class extends gr.FtdsBase{constructor(){super(...arguments),this.href="",this.variant=le.body2medium,this.underlined=!1,this.openInNewTabLabel="This link will be opened in a new tab",this.target=Oo.SELF,this.icon="extlink-light"}get linkClasses(){return{"ftds-link":!0,"ftds-link--underlined":this.underlined,...this.resolveVariantClasses,...this.getDesignSystemBaseClasses()}}render(){return Co.html`
1818
+ `;var Vr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Oo;(function(e){e.SELF="_self",e.BLANK="_blank"})(Oo||(Oo={}));var De=class extends br.FtdsBase{constructor(){super(...arguments),this.href="",this.variant=X.body2medium,this.underlined=!1,this.openInNewTabLabel="This link will be opened in a new tab",this.target=Oo.SELF,this.icon="extlink-light"}get linkClasses(){return{"ftds-link":!0,"ftds-link--underlined":this.underlined,...this.resolveVariantClasses,...this.getDesignSystemBaseClasses()}}render(){return Co.html`
1819
1819
  <a part="link"
1820
1820
  target="${this.target}"
1821
1821
  href="${this.href}"
@@ -1823,7 +1823,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1823
1823
  <ft-typography part="label"
1824
1824
  variant=${this.variant}
1825
1825
  element="span"
1826
- class="ftds-link--label ${gr.isSafari?"ft-safari-ellipsis-fix":""}">
1826
+ class="ftds-link--label ${br.isSafari?"ft-safari-ellipsis-fix":""}">
1827
1827
  <span><slot @slotchange=${this.onSlotchange}></slot></span>
1828
1828
  </ft-typography>
1829
1829
  ${this.resolveIcon()}
@@ -1831,42 +1831,42 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1831
1831
  `}resolveIcon(){return this.target===Oo.BLANK?Co.html`
1832
1832
  <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant="${Te.fluid_topics}" .value="${this.icon}">
1833
1833
  </ft-icon>
1834
- `:Co.html``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};De.elementDefinitions={"ft-typography":X,"ft-icon":pe};De.styles=[gr.safariEllipsisFix,ec];Kr([(0,mr.property)()],De.prototype,"href",void 0);Kr([(0,mr.property)()],De.prototype,"variant",void 0);Kr([(0,mr.property)({type:Boolean})],De.prototype,"underlined",void 0);Kr([(0,mr.property)()],De.prototype,"openInNewTabLabel",void 0);Kr([(0,mr.property)()],De.prototype,"target",void 0);(0,rc.customElement)("ftds-link")(De);var Gl=b(P());var en=b(z()),tn=b(te()),rn=b(P());var oc=b(z());var nc=oc.css`
1835
- `;var Rr=b(P());var Ml=b(P());var Kc=b(z()),ve=b(te()),Ye=b(P());var ac=b(z());var ic=ac.css`
1836
- `;var Eo=b(P()),wd="ft-app-info",Gt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Gt.eventName="authentication-change";var Rd={session:(e,t)=>{(0,Eo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>N.dispatchEvent(new Gt(t.payload)),0))}},N=Eo.FtReduxStore.get({name:wd,reducers:Rd,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var zn=b(P());var jt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=N.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=N.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Ao=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:jt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):jt.await()}};var $e=class extends Ao{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(i,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([l],[p])=>l.localeCompare(p)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new zn.CacheRegistry,this.cache=t?a.commonCache:new zn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var wo=class extends $e{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 Hn=class{addCommand(t,o=!1){N.commands.add(t,o)}consumeCommand(t){return N.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Hn;var We=b(P());var sc,br=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Ld=Symbol("clearAfterUnitTest"),Ro=class extends(0,We.withEventBus)($e){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[sc]=()=>{this.defaultMessages={},this.cache=new We.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,We.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),c=this.resolveContext(i);return new We.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof We.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new br({loadedContexts:t})),this.dispatchEvent(new br({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new br({loadedContexts:[t]})),this.dispatchEvent(new br({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,We.delay)(0).then(()=>n()).catch(()=>null)))}};sc=Ld;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ro{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ro{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var xr=window.FluidTopicsI18nService,Lo=window.FluidTopicsCustomI18nService;var cc=b(P()),Wn=class{highlightHtml(t,o,n){(0,cc.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Wn;var Td=b(dc(),1);var pc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(pc||(pc={}));var uc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(uc||(uc={}));var fc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(fc||(fc={}));var hc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(hc||(hc={}));var yc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(yc||(yc={}));var mc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(mc||(mc={}));var gc;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(gc||(gc={}));var bc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(bc||(bc={}));var xc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(xc||(xc={}));var vc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(vc||(vc={}));var Sc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Sc||(Sc={}));var Cc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Cc||(Cc={}));var Oc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Oc||(Oc={}));var Ec;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ec||(Ec={}));var Ac;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ac||(Ac={}));var wc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(wc||(wc={}));var Rc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Rc||(Rc={}));var Lc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Lc||(Lc={}));var Nc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Nc||(Nc={}));var Tc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Tc||(Tc={}));var Ic;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ic||(Ic={}));var Pc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Pc||(Pc={}));var _c;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(_c||(_c={}));var kc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(kc||(kc={}));var ue;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ue||(ue={}));var Ue;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ue||(Ue={}));var Bc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bc||(Bc={}));var Dc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Dc||(Dc={}));var $c;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})($c||($c={}));var Uc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Uc||(Uc={}));var Nd={[ue.PERSONAL_BOOK_SHARE_USER]:[ue.PERSONAL_BOOK_USER],[ue.HTML_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.PDF_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.KHUB_ADMIN]:[ue.CONTENT_PUBLISHER],[ue.ADMIN]:[ue.KHUB_ADMIN,ue.USERS_ADMIN,ue.PORTAL_ADMIN],[ue.GENERATIVE_AI_EXPORT_USER]:[ue.GENERATIVE_AI_USER]};function Mc(e,t){return e===t||(Nd[e]??[]).some(o=>Mc(o,t))}function Fc(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Mc(n,t))}var Io=class extends $e{async listMySearches(){let{session:t}=N.getState();return Fc(t,ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var zc=b(P());var Gn=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=N.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return zc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:N.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Gn;var Hc=b(P());var Vr=class{static get(t,o){var n,a;let i=N.getState(),{lang:c,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Hc.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${c}-${l}`)}};var jn=class{urlToSearchRequest(t){return Vr.get().parse(t)}searchRequestToUrl(t){return Vr.get().serialize(t)}};window.FluidTopicsUrlService=new jn;var Nt=b(P());var Kt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Kt.eventName="change";var Kn=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Wc=new Kn;var Po=class e extends Nt.WithEventBus{static build(){return new e(window.history,Wc,()=>window.location,!1)}constructor(t,o,n,a){var i,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Nt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Kt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,c,l])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...i,index:p,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,c,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Kt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Kt.eventName,t)}currentItem(){return(0,Nt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Nt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Nt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Po.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Gc=N;function jc(e,t){var o;return Gc.getState().authenticationRequired&&!(!((o=Gc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):e()}var fe=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},K=class extends Ye.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>jt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ye.CacheRegistry,this.cleanSessionDebouncer=new Ye.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Kc.html`
1834
+ `:Co.html``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};De.elementDefinitions={"ft-typography":J,"ft-icon":de};De.styles=[br.safariEllipsisFix,ec];Vr([(0,gr.property)()],De.prototype,"href",void 0);Vr([(0,gr.property)()],De.prototype,"variant",void 0);Vr([(0,gr.property)({type:Boolean})],De.prototype,"underlined",void 0);Vr([(0,gr.property)()],De.prototype,"openInNewTabLabel",void 0);Vr([(0,gr.property)()],De.prototype,"target",void 0);(0,rc.customElement)("ftds-link")(De);var Gl=b(P());var en=b(z()),tn=b(te()),rn=b(P());var oc=b(z());var nc=oc.css`
1835
+ `;var Lr=b(P());var Ml=b(P());var Kc=b(z()),xe=b(te()),Xe=b(P());var ic=b(z());var ac=ic.css`
1836
+ `;var Eo=b(P()),wd="ft-app-info",Gt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Gt.eventName="authentication-change";var Rd={session:(e,t)=>{(0,Eo.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>T.dispatchEvent(new Gt(t.payload)),0))}},T=Eo.FtReduxStore.get({name:wd,reducers:Rd,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var zn=b(P());var jt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=T.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=T.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var Ao=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:jt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):jt.await()}};var $e=class extends Ao{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(a,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([l],[p])=>l.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new zn.CacheRegistry,this.cache=t?i.commonCache:new zn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var wo=class extends $e{async listMyBookmarks(){let t=T.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Hn=class{addCommand(t,o=!1){T.commands.add(t,o)}consumeCommand(t){return T.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Hn;var We=b(P());var sc,xr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Ld=Symbol("clearAfterUnitTest"),Ro=class extends(0,We.withEventBus)($e){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[sc]=()=>{this.defaultMessages={},this.cache=new We.CacheRegistry,this.listeners={}},this.currentUiLocale=T.getState().uiLocale,T.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=T.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,We.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let a=t.toLowerCase(),c=this.resolveContext(a);return new We.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof We.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new xr({loadedContexts:t})),this.dispatchEvent(new xr({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new xr({loadedContexts:[t]})),this.dispatchEvent(new xr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,We.delay)(0).then(()=>n()).catch(()=>null)))}};sc=Ld;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ro{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ro{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var vr=window.FluidTopicsI18nService,Lo=window.FluidTopicsCustomI18nService;var cc=b(P()),Wn=class{highlightHtml(t,o,n){(0,cc.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Wn;var Nd=b(dc(),1);var pc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(pc||(pc={}));var uc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(uc||(uc={}));var fc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(fc||(fc={}));var hc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(hc||(hc={}));var yc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(yc||(yc={}));var mc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(mc||(mc={}));var gc;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(gc||(gc={}));var bc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(bc||(bc={}));var xc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(xc||(xc={}));var vc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(vc||(vc={}));var Sc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Sc||(Sc={}));var Cc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Cc||(Cc={}));var Oc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Oc||(Oc={}));var Ec;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ec||(Ec={}));var Ac;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ac||(Ac={}));var wc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(wc||(wc={}));var Rc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Rc||(Rc={}));var Lc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Lc||(Lc={}));var Tc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Tc||(Tc={}));var Nc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Nc||(Nc={}));var Ic;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ic||(Ic={}));var Pc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Pc||(Pc={}));var _c;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(_c||(_c={}));var kc;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(kc||(kc={}));var pe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(pe||(pe={}));var Ue;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ue||(Ue={}));var Bc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Bc||(Bc={}));var Dc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Dc||(Dc={}));var $c;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})($c||($c={}));var Uc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Uc||(Uc={}));var Td={[pe.PERSONAL_BOOK_SHARE_USER]:[pe.PERSONAL_BOOK_USER],[pe.HTML_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.PDF_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.KHUB_ADMIN]:[pe.CONTENT_PUBLISHER],[pe.ADMIN]:[pe.KHUB_ADMIN,pe.USERS_ADMIN,pe.PORTAL_ADMIN],[pe.GENERATIVE_AI_EXPORT_USER]:[pe.GENERATIVE_AI_USER]};function Mc(e,t){return e===t||(Td[e]??[]).some(o=>Mc(o,t))}function Fc(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Mc(n,t))}var Io=class extends $e{async listMySearches(){let{session:t}=T.getState();return Fc(t,pe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var zc=b(P());var Gn=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=T.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return zc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:T.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Gn;var Hc=b(P());var Zr=class{static get(t,o){var n,i;let a=T.getState(),{lang:c,region:l}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Hc.SearchPlaceConverter(a.baseUrl,t??20,a.searchInAllLanguagesAllowed,o??`${c}-${l}`)}};var jn=class{urlToSearchRequest(t){return Zr.get().parse(t)}searchRequestToUrl(t){return Zr.get().serialize(t)}};window.FluidTopicsUrlService=new jn;var Tt=b(P());var Kt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Kt.eventName="change";var Kn=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Wc=new Kn;var Po=class e extends Tt.WithEventBus{static build(){return new e(window.history,Wc,()=>window.location,!1)}constructor(t,o,n,i){var a,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(a=t.state)===null||a===void 0?void 0:a.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Tt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Kt(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[a,c,l])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...a,index:p,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(i,[u,c,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Kt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Kt.eventName,t)}currentItem(){return(0,Tt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Tt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Tt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let i=t,a=t+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Po.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Gc=T;function jc(e,t){var o;return Gc.getState().authenticationRequired&&!(!((o=Gc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):e()}var ue=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},K=class extends Xe.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>jt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Xe.CacheRegistry,this.cleanSessionDebouncer=new Xe.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Kc.html`
1837
1837
  <slot></slot>
1838
- `}connectedCallback(){super.connectedCallback(),N.addEventListener(Gt.eventName,this.reloadConfiguration)}disconnectedCallback(){N.addEventListener(Gt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,c,l,p;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("apiIntegrationAppVersion")&&N.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),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("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>xr.addContext(u)),t.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(N.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),N.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),N.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&N.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&N.actions.availableContentLocales((p=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>jc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};K.elementDefinitions={};K.styles=ic;fe([(0,ve.property)()],K.prototype,"baseUrl",void 0);fe([(0,ve.property)()],K.prototype,"apiIntegrationIdentifier",void 0);fe([(0,ve.property)()],K.prototype,"apiIntegrationAppVersion",void 0);fe([(0,ve.property)()],K.prototype,"uiLocale",void 0);fe([(0,Ye.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);fe([(0,Ye.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"editorMode",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"noCustom",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);fe([(0,ve.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"withManualResources",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);fe([(0,ve.property)({type:Object})],K.prototype,"apiProvider",void 0);fe([(0,ve.property)({type:Boolean})],K.prototype,"authenticationRequired",void 0);fe([(0,Ye.jsonProperty)([])],K.prototype,"messageContexts",void 0);fe([(0,Ye.jsonProperty)(void 0)],K.prototype,"session",void 0);fe([(0,ve.state)()],K.prototype,"localesConfiguration",void 0);fe([(0,ve.state)()],K.prototype,"availableContentLocales",void 0);var ga=b(te());function Id(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!_o(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!_o(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!_o(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function _o(e,t){try{return Id(e,t)}catch{return!1}}function Zr(e,t){return!_o(e,t)}function ko(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Vc=b(te(),1);var Vn=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Zr,attribute:!1,...t};(0,Vc.property)(i)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var Bo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Sr=b(te(),1);var Zc=b(te(),1);function qc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Zc.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:Zr,...t??{}})}var Do=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Xc=b(z(),1);var $o=globalThis,Pd=$o.ShadowRoot&&($o.ShadyCSS===void 0||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jv=Symbol();var Yc=(e,t)=>{if(Pd)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=$o.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Uo=class extends Xc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Yc(n,t.elementStyles),n}};function Jc(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var qr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},rl,Qc=Symbol("constructorPrototype"),el=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),tl=Symbol("dynamicDependenciesLoaded"),ht=class extends Uo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new Do(5),this[el]=this.constructor.name,this[Qc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[Qc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[tl]||(t[tl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Jc(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ol].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,c,l;let p=g=>g!=null&&g.trim().length>0,u=t.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=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 S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(p).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};rl=ol;qr([(0,Sr.property)()],ht.prototype,"exportpartsPrefix",void 0);qr([qc([])],ht.prototype,"exportpartsPrefixes",void 0);qr([(0,Sr.property)()],ht.prototype,"customStylesheet",void 0);qr([(0,Sr.property)()],ht.prototype,"elementToFocus",void 0);qr([(0,Sr.state)()],ht.prototype,"useAdoptedStyleSheets",void 0);function Mo(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),Tt=Symbol("internalStoresUnsubscribers"),Vt=Symbol("internalStores"),_d=ko(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(l=>c.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Vt].get(c)}addStore(c,l){var p;l=(p=l??c.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(l),this[Vt].set(l,c),this.subscribeToStore(l,c),this.updateFromStores()}removeStore(c){let l=typeof c=="string"?c:c.name;this.unsubscribeFromStore(l),this[Vt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Vt].forEach((c,l)=>this.subscribeToStore(l,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,l)=>{let p=this.constructor.getPropertyOptions(l);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:l)){let u=this.getStore(c.store);u&&(c.store?this[Tt].has(c.store):this[Tt].size>0)&&(this[l]=c.selector(u.getState(),this))}})}subscribeToStore(c,l){var p;this[Tt].set(c,l.subscribe(()=>this.updateFromStores())),this[Yr].set(c,[]),Mo(l)&&l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let h=g=>this[m](g);l.addEventListener(u.eventName,h),this[Yr].get(c).push(()=>l.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Tt].forEach((c,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(c){var l;this[Tt].has(c)&&this[Tt].get(c)(),this[Tt].delete(c),(l=this[Yr].get(c))===null||l===void 0||l.forEach(p=>p()),this[Yr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Tt,o=Vt,n=Yr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),nl=class extends _d(ht){};function Ge(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function yt(e){return!!e&&!!e[q]}function Xe(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===zd}(e)||Array.isArray(e)||!!e[pl]||!!(!((t=e.constructor)===null||t===void 0)&&t[pl])||ra(e)||oa(e))}function Zt(e,t,o){o===void 0&&(o=!1),Er(e)===0?(o?Object.keys:Or)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Er(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ra(e)?2:oa(e)?3:0}function Cr(e,t){return Er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kd(e,t){return Er(e)===2?e.get(t):e[t]}function ul(e,t,o){var n=Er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function fl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ra(e){return Md&&e instanceof Map}function oa(e){return Fd&&e instanceof Set}function It(e){return e.o||e.t}function na(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ml(e);delete t[q];for(var o=Or(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function aa(e,t){return t===void 0&&(t=!1),ia(e)||yt(e)||!Xe(e)||(Er(e)>1&&(e.set=e.add=e.clear=e.delete=Bd),Object.freeze(e),t&&Zt(e,function(o,n){return aa(n,!0)},!0)),e}function Bd(){Ge(2)}function ia(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function nt(e){var t=ta[e];return t||Ge(18,e),t}function Dd(e,t){ta[e]||(ta[e]=t)}function Jn(){return Jr}function Zn(e,t){t&&(nt("Patches"),e.u=[],e.s=[],e.v=t)}function Fo(e){Qn(e),e.p.forEach($d),e.p=null}function Qn(e){e===Jr&&(Jr=e.l)}function al(e){return Jr={p:[],l:Jr,h:e,m:!0,_:0}}function $d(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function qn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||nt("ES5").S(t,e,n),n?(o[q].P&&(Fo(t),Ge(4)),Xe(e)&&(e=zo(t,e),t.l||Ho(t,e)),t.u&&nt("Patches").M(o[q].t,e,t.u,t.s)):e=zo(t,o,[]),Fo(t),t.u&&t.v(t.u,t.s),e!==yl?e:void 0}function zo(e,t,o){if(ia(t))return t;var n=t[q];if(!n)return Zt(t,function(l,p){return il(e,n,t,l,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Ho(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=na(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Zt(i,function(l,p){return il(e,n,a,l,p,o,c)}),Ho(e,a,!1),o&&e.u&&nt("Patches").N(n,o,e.u,e.s)}return n.o}function il(e,t,o,n,a,i,c){if(yt(a)){var l=zo(e,a,i&&t&&t.i!==3&&!Cr(t.R,n)?i.concat(n):void 0);if(ul(o,n,l),!yt(l))return;e.m=!1}else c&&o.add(a);if(Xe(a)&&!ia(a)){if(!e.h.D&&e._<1)return;zo(e,a),t&&t.A.l||Ho(e,a)}}function Ho(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&aa(t,o)}function Yn(e,t){var o=e[q];return(o?It(o):e)[t]}function sl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Pt(e){e.P||(e.P=!0,e.l&&Pt(e.l))}function Xn(e){e.o||(e.o=na(e.t))}function ea(e,t,o){var n=ra(t)?nt("MapSet").F(t,o):oa(t)?nt("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:Jn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=Qr;c&&(p=[l],u=Xr);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(t,o):nt("ES5").J(t,o);return(o?o.A:Jn()).p.push(n),n}function Ud(e){return yt(e)||Ge(22,e),function t(o){if(!Xe(o))return o;var n,a=o[q],i=Er(o);if(a){if(!a.P&&(a.i<4||!nt("ES5").K(a)))return a.t;a.I=!0,n=cl(o,i),a.I=!1}else n=cl(o,i);return Zt(n,function(c,l){a&&kd(a.t,c)===l||ul(n,c,t(l))}),i===3?new Set(n):n}(e)}function cl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return na(e)}function hl(){function e(c,l){var p=i[c];return p?p.enumerable=l:i[c]=p={configurable:!0,enumerable:l,get:function(){var u=this[q];return Qr.get(u,c)},set:function(u){var m=this[q];Qr.set(m,c,u)}},p}function t(c){for(var l=c.length-1;l>=0;l--){var p=c[l][q];if(!p.P)switch(p.i){case 5:n(p)&&Pt(p);break;case 4:o(p)&&Pt(p)}}}function o(c){for(var l=c.t,p=c.k,u=Or(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==q){var g=l[h];if(g===void 0&&!Cr(l,h))return!0;var S=p[h],v=S&&S[q];if(v?v.t!==g:!fl(S,g))return!0}}var O=!!l[q];return u.length!==Or(l).length+(O?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(c){c.g&&Ge(3,JSON.stringify(It(c)))}var i={};Dd("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(S,""+v,e(v,!0));return S}var O=ml(g);delete O[q];for(var T=Or(O),R=0;R<T.length;R++){var L=T[R];O[L]=e(L,h||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:Jn(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,q,{value:m,writable:!0}),u},S:function(c,l,p){p?yt(l)&&l[q].A===c&&t(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[q];if(h){var g=h.t,S=h.k,v=h.R,O=h.i;if(O===4)Zt(S,function(U){U!==q&&(g[U]!==void 0||Cr(g,U)?v[U]||u(S[U]):(v[U]=!0,Pt(h)))}),Zt(g,function(U){S[U]!==void 0||Cr(S,U)||(v[U]=!1,Pt(h))});else if(O===5){if(n(h)&&(Pt(h),v.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)v[T]=!1;else for(var R=g.length;R<S.length;R++)v[R]=!0;for(var L=Math.min(S.length,g.length),B=0;B<L;B++)S.hasOwnProperty(B)||(v[B]=!0),v[B]===void 0&&u(S[B])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ll,Jr,sa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Md=typeof Map<"u",Fd=typeof Set<"u",dl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",yl=sa?Symbol.for("immer-nothing"):((ll={})["immer-nothing"]=!0,ll),pl=sa?Symbol.for("immer-draftable"):"__$immer_draftable",q=sa?Symbol.for("immer-state"):"__$immer_state";var zd=""+Object.prototype.constructor,Or=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ml=Object.getOwnPropertyDescriptors||function(e){var t={};return Or(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ta={},Qr={get:function(e,t){if(t===q)return e;var o=It(e);if(!Cr(o,t))return function(a,i,c){var l,p=sl(i,c);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Xe(n)?n:n===Yn(e.t,t)?(Xn(e),e.o[t]=ea(e.A.h,n,e)):n},has:function(e,t){return t in It(e)},ownKeys:function(e){return Reflect.ownKeys(It(e))},set:function(e,t,o){var n=sl(It(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Yn(It(e),t),i=a?.[q];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(fl(o,a)&&(o!==void 0||Cr(e.t,t)))return!0;Xn(e),Pt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Yn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Xn(e),Pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=It(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ge(12)}},Xr={};Zt(Qr,function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,o){return Qr.set.call(this,e[0],t,o,e[0])};var Hd=function(){function e(o){var n=this;this.O=dl,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(O){var T=this;O===void 0&&(O=l);for(var R=arguments.length,L=Array(R>1?R-1:0),B=1;B<R;B++)L[B-1]=arguments[B];return p.produce(O,function(U){var M;return(M=i).call.apply(M,[T,U].concat(L))})}}var u;if(typeof i!="function"&&Ge(6),c!==void 0&&typeof c!="function"&&Ge(7),Xe(a)){var m=al(n),h=ea(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?Fo(m):Qn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Zn(m,c),qn(O,m)},function(O){throw Fo(m),O}):(Zn(m,c),qn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===yl&&(u=void 0),n.D&&aa(u,!0),c){var S=[],v=[];nt("Patches").M(a,u,S,v),c(S,v)}return u}Ge(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(h))})};var c,l,p=n.produce(a,i,function(u,m){c=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,l]}):[p,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Xe(o)||Ge(8),yt(o)&&(o=Ud(o));var n=al(this),a=ea(this,o,void 0);return a[q].C=!0,Qn(n),a},t.finishDraft=function(o,n){var a=o&&o[q],i=a.A;return Zn(i,n),qn(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!dl&&Ge(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=nt("Patches").$;return yt(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Me=new Hd,Wd=Me.produce,i0=Me.produceWithPatches.bind(Me),s0=Me.setAutoFreeze.bind(Me),c0=Me.setUseProxies.bind(Me),l0=Me.applyPatches.bind(Me),d0=Me.createDraft.bind(Me),p0=Me.finishDraft.bind(Me),Wo=Wd;function qt(e){"@babel/helpers - typeof";return qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qt(e)}function gl(e,t){if(qt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(qt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bl(e){var t=gl(e,"string");return qt(t)=="symbol"?t:t+""}function xl(e,t,o){return(t=bl(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function vl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function ca(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?vl(Object(o),!0).forEach(function(n){xl(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Ce(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Sl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),la=function(){return Math.random().toString(36).substring(7).split("").join(".")},Go={INIT:"@@redux/INIT"+la(),REPLACE:"@@redux/REPLACE"+la(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+la()}};function Gd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function da(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Ce(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Ce(1));return o(da)(e,t)}if(typeof e!="function")throw new Error(Ce(2));var a=e,i=t,c=[],l=c,p=!1;function u(){l===c&&(l=c.slice())}function m(){if(p)throw new Error(Ce(3));return i}function h(O){if(typeof O!="function")throw new Error(Ce(4));if(p)throw new Error(Ce(5));var T=!0;return u(),l.push(O),function(){if(T){if(p)throw new Error(Ce(6));T=!1,u();var L=l.indexOf(O);l.splice(L,1),c=null}}}function g(O){if(!Gd(O))throw new Error(Ce(7));if(typeof O.type>"u")throw new Error(Ce(8));if(p)throw new Error(Ce(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var T=c=l,R=0;R<T.length;R++){var L=T[R];L()}return O}function S(O){if(typeof O!="function")throw new Error(Ce(10));a=O,g({type:Go.REPLACE})}function v(){var O,T=h;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ce(11));function B(){L.next&&L.next(m())}B();var U=T(B);return{unsubscribe:U}}},O[Sl]=function(){return this},O}return g({type:Go.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[Sl]=v,n}function jd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Go.INIT});if(typeof n>"u")throw new Error(Ce(12));if(typeof o(void 0,{type:Go.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ce(13))})}function Cl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,l;try{jd(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,S={},v=0;v<i.length;v++){var O=i[v],T=o[O],R=u[O],L=T(R,m);if(typeof L>"u"){var B=m&&m.type;throw new Error(Ce(14))}S[O]=L,g=g||L!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function Ar(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Ol(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ce(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(p){return p(c)});return i=Ar.apply(void 0,l)(a.dispatch),ca(ca({},a),{},{dispatch:i})}}}function El(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,i,e):c(l)}}};return t}var Al=El();Al.withExtraArgument=El;var pa=Al;var Tl=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Kd=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},wr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Vd=Object.defineProperty,Zd=Object.defineProperties,qd=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,Yd=Object.prototype.hasOwnProperty,Xd=Object.prototype.propertyIsEnumerable,Rl=function(e,t,o){return t in e?Vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},_t=function(e,t){for(var o in t||(t={}))Yd.call(t,o)&&Rl(e,o,t[o]);if(wl)for(var n=0,a=wl(t);n<a.length;n++){var o=a[n];Xd.call(t,o)&&Rl(e,o,t[o])}return e},ua=function(e,t){return Zd(e,qd(t))},Jd=function(e,t,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},c=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,c)};l((o=o.apply(e,t)).next())})};var Qd=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)},N0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ep(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var tp=function(e){Tl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,wr([void 0],o[0].concat(this)))):new(t.bind.apply(t,wr([void 0],o.concat(this))))},t}(Array),rp=function(e){Tl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,wr([void 0],o[0].concat(this)))):new(t.bind.apply(t,wr([void 0],o.concat(this))))},t}(Array);function ya(e){return Xe(e)?Wo(e,function(){}):e}function op(e){return typeof e=="boolean"}function np(){return function(t){return ap(t)}}function ap(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,l=new tp;if(o&&(op(o)?l.push(pa):l.push(pa.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return l}var fa=!0;function Il(e){var t=np(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?t():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(ep(a))S=Cl(a);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 v=c;if(typeof v=="function"&&(v=v(t),!fa&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!fa&&v.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ol.apply(void 0,v),T=Ar;p&&(T=Qd(_t({trace:!fa},typeof p=="object"&&p)));var R=new rp(O),L=R;Array.isArray(g)?L=wr([O],g):typeof g=="function"&&(L=g(R));var B=T.apply(void 0,L);return da(S,m,B)}function kt(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return _t(_t({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Pl(e){var t={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function ip(e){return typeof e=="function"}function sp(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Pl(t):[t,o,n],i=a[0],c=a[1],l=a[2],p;if(ip(e))p=function(){return ya(e())};else{var u=ya(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=wr([i[g.type]],c.filter(function(v){var O=v.matcher;return O(g)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,O){if(O)if(yt(v)){var T=v,R=O(T,g);return R===void 0?v:R}else{if(Xe(v))return Wo(v,function(L){return O(L,g)});var R=O(v,g);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},h)}return m.getInitialState=p,m}function cp(e,t){return e+"/"+t}function _l(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:ya(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(m){var h=n[m],g=cp(t,m),S,v;"reducer"in h?(S=h.reducer,v=h.prepare):S=h,i[m]=S,c[g]=S,l[m]=v?kt(g,v):kt(g)});function p(){var m=typeof e.extraReducers=="function"?Pl(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],v=S===void 0?[]:S,O=m[2],T=O===void 0?void 0:O,R=_t(_t({},g),c);return sp(o,function(L){for(var B in R)L.addCase(B,R[B]);for(var U=0,M=v;U<M.length;U++){var we=M[U];L.addMatcher(we.matcher,we.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:t,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=lp[Math.random()*64|0];return t},pp=["name","message","stack","code"],ha=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ll=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),up=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=pp;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},_0=function(){function e(t,o,n){var a=kt(t+"/fulfilled",function(m,h,g,S){return{payload:m,meta:ua(_t({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=kt(t+"/pending",function(m,h,g){return{payload:void 0,meta:ua(_t({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=kt(t+"/rejected",function(m,h,g,S,v){return{payload:S,error:(n&&n.serializeError||up)(m||"Rejected"),meta:ua(_t({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,g,S){var v=n?.idGenerator?n.idGenerator(m):dp(),O=new p,T,R=!1;function L(U){T=U,O.abort()}var B=function(){return Jd(this,null,function(){var U,M,we,Qe,Oe,et,me;return Kd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Qe=(U=n?.condition)==null?void 0:U.call(n,m,{getState:g,extra:S}),hp(Qe)?[4,Qe]:[3,2];case 1:Qe=y.sent(),y.label=2;case 2:if(Qe===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Oe=new Promise(function(x,_){return O.signal.addEventListener("abort",function(){return _({name:"AbortError",message:T||"Aborted"})})}),h(i(v,m,(M=n?.getPendingMeta)==null?void 0:M.call(n,{requestId:v,arg:m},{getState:g,extra:S}))),[4,Promise.race([Oe,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(x,_){return new ha(x,_)},fulfillWithValue:function(x,_){return new Ll(x,_)}})).then(function(x){if(x instanceof ha)throw x;return x instanceof Ll?a(x.payload,v,m,x.meta):a(x,v,m)})])];case 3:return we=y.sent(),[3,5];case 4:return et=y.sent(),we=et instanceof ha?c(null,v,m,et.payload,et.meta):c(et,v,m),[3,5];case 5:return me=n&&!n.dispatchConditionRejection&&c.match(we)&&we.meta.condition,me||h(we),[2,we]}})})}();return Object.assign(B,{abort:L,requestId:v,arg:m,unwrap:function(){return B.then(fp)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function fp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function hp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kl="listener",Bl="completed",Dl="cancelled",k0="task-"+Dl,B0="task-"+Bl,D0=kl+"-"+Dl,$0=kl+"-"+Bl;var ma="listenerMiddleware";var U0=kt(ma+"/add"),M0=kt(ma+"/removeAll"),F0=kt(ma+"/remove");var Nl,z0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Nl||(Nl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yp=function(e){return function(t){setTimeout(t,e)}},H0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yp(10);hl();var mp=ko(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),jo=class extends mp(Object){};window.ftReduxStores||(window.ftReduxStores={});var $l=class e extends jo{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Mo(i))return i;if(a==null)return;let c=_l({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Il({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[a.name]=new e(c,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Bo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,l)=>{let p=c,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ko=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let i=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(i);if(!a)return c;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(i);return`${c} ${l}`}};var Ul=b(P()),Vo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},uS=(0,Ul.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(N)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Ko.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Vo([(0,ga.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Vo([(0,ga.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Vo([Vn({store:N.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),Vo([Vn({store:N.name})],t.prototype,"uiLocale",void 0),t});var Yo=b(P());var Zo=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=N.getState().session;return!!t?.sessionAuthenticated}};var qo=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=N.getState().session;return!!t?.sessionAuthenticated}};var gp="ft-user-assets",bp={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Ue).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;switch(o){case Ue.BOOKMARKS:e.bookmarks?e.bookmarks.push(a):e.bookmarks=[a];break;case Ue.SEARCHES:e.savedSearches?e.savedSearches.push(a):e.savedSearches=[a];break}let i=e.assetCounts.allAsset[o];if(i!==void 0&&(e.assetCounts.allAsset[o]=i+1),o===Ue.BOOKMARKS&&n!==void 0){let c=e.assetCounts.bookmarkByMap[n];c!==void 0&&(e.assetCounts.bookmarkByMap[n]=c+1)}},removeAsset:(e,t)=>{var o,n;let{assetType:a,mapId:i,assetId:c}=t.payload;switch(a){case Ue.BOOKMARKS:e.bookmarks=(o=e.bookmarks)===null||o===void 0?void 0:o.filter(p=>p.id!==c);break;case Ue.SEARCHES:e.savedSearches=(n=e.savedSearches)===null||n===void 0?void 0:n.filter(p=>p.id!==c);break}let l=e.assetCounts.allAsset[a];if(l!==void 0&&l>0&&(e.assetCounts.allAsset[a]=l-1),a===Ue.BOOKMARKS&&i!==void 0){let p=e.assetCounts.bookmarkByMap[i];p!==void 0&&p>0&&(e.assetCounts.bookmarkByMap[i]=p-1)}}},Fe=Yo.FtReduxStore.get({name:gp,reducers:bp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ue).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ba=class{constructor(t=new Zo,o=new qo){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wo,this.savedSearchesService=new Io,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=N.getState();(0,Yo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Fe.actions.clearAssetCount(),Fe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Fe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Fe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Fe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Fe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Fe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Fe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Fe.getState().assetCounts.bookmarkByMap).length!==0;t===Ue.BOOKMARKS&&o&&Fe.actions.clearBookmarkCountByMap(),Fe.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Fe.actions.bookmarks(o)}}},xp=new ba;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=xp);(0,Ml.customElement)("ft-app-context")(K);var zl=b(te());var xa=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,a]=t.split(".");return{context:n,key:a,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Fl=new xa;var vp=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Sp=Symbol("i18nAttributes"),Cp=Symbol("i18nListAttributes"),Hl=Symbol("i18nProperties"),Xo=Symbol("i18nContexts"),eo=Symbol("i18nUnsubs"),Wl=(0,Rr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Lo:xr}i18n(i){let{context:c,key:l,message:p}=i,{custom:u,args:m,argsProvider:h}=i;if(c&&l){this.hasI18nContext(c)||this.addI18nContext(c,void 0,u);let g=m??(h?h(this):[]);return this.getI18nService(u).resolveMessage(c,l,...g)}return p}async awaitI18n(i){let{context:c,custom:l}=i;return c&&await this.getI18nService(l).prepareContext(c),this.i18n(i)}customI18n(i,c){if(Fl.isI18nKey(i)){let[l,p]=i.split(".");return this.i18n({custom:!0,context:l,key:p,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,l,p)=>i.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,l,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,l;let p=this,u=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...m})}:g;(c=this[Sp])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[Cp])===null||l===void 0||l.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(i){var c;(c=this[Hl])===null||c===void 0||c.forEach((l,p)=>{i(l,p)&&(this[p]=this.i18n(l))})}addI18nMessages(i,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,l)}addI18nContext(i,c,l){let p=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[Xo].set(p,{isCustomContext:l}),this[eo].has(p)||this[eo].set(p,this.getI18nService(l).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(l).prepareContext(p,c)}hasI18nContext(i){return this[Xo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Xo].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[eo].forEach(i=>i()),this[eo].clear()}}return t=Xo,o=eo,vp([(0,zl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Jo=class extends Wl(Rr.FtLitElement){},Qo=class extends Wl(Rr.FtLitElementRedux){};var to=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Je=class extends Qo{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":en.nothing:en.html`
1838
+ `}connectedCallback(){super.connectedCallback(),T.addEventListener(Gt.eventName,this.reloadConfiguration)}disconnectedCallback(){T.addEventListener(Gt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,i,a,c,l,p;super.update(t),t.has("baseUrl")&&(T.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&T.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&T.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&T.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&T.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&T.actions.noCustom(this.noCustom),t.has("editorMode")&&T.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&T.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&T.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>vr.addContext(u)),t.has("openExternalDocumentInNewTab")&&T.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&T.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&T.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(T.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),T.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),T.actions.searchInAllLanguagesAllowed((c=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&T.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&T.actions.availableContentLocales((p=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>jc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};K.elementDefinitions={};K.styles=ac;ue([(0,xe.property)()],K.prototype,"baseUrl",void 0);ue([(0,xe.property)()],K.prototype,"apiIntegrationIdentifier",void 0);ue([(0,xe.property)()],K.prototype,"apiIntegrationAppVersion",void 0);ue([(0,xe.property)()],K.prototype,"uiLocale",void 0);ue([(0,Xe.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);ue([(0,Xe.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"editorMode",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"noCustom",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);ue([(0,xe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"withManualResources",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);ue([(0,xe.property)({type:Object})],K.prototype,"apiProvider",void 0);ue([(0,xe.property)({type:Boolean})],K.prototype,"authenticationRequired",void 0);ue([(0,Xe.jsonProperty)([])],K.prototype,"messageContexts",void 0);ue([(0,Xe.jsonProperty)(void 0)],K.prototype,"session",void 0);ue([(0,xe.state)()],K.prototype,"localesConfiguration",void 0);ue([(0,xe.state)()],K.prototype,"availableContentLocales",void 0);var gi=b(te());function Id(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!_o(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!_o(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=c=>Object.keys(c).filter(l=>c[l]!=null);if(i=a(e),o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let c=i[n];if(!_o(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function _o(e,t){try{return Id(e,t)}catch{return!1}}function qr(e,t){return!_o(e,t)}function ko(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let i=t(n);return i[e]=!0,i}}var Vc=b(te(),1);var Vn=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:qr,attribute:!1,...t};(0,Vc.property)(a)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}};var Bo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Cr=b(te(),1);var Zc=b(te(),1);function qc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Zc.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:qr,...t??{}})}var Do=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){i(l);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 Xc=b(z(),1);var $o=globalThis,Pd=$o.ShadowRoot&&($o.ShadyCSS===void 0||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Kv=Symbol();var Yc=(e,t)=>{if(Pd)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=$o.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}};var Uo=class extends Xc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Yc(n,t.elementStyles),n}};function Jc(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}var Yr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},rl,Qc=Symbol("constructorPrototype"),el=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),tl=Symbol("dynamicDependenciesLoaded"),ht=class extends Uo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new Do(5),this[el]=this.constructor.name,this[Qc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[Qc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[tl]||(t[tl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Jc(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ol].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(t){var o,n,i,a,c,l;let p=g=>g!=null&&g.trim().length>0,u=t.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=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 S=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(p).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};rl=ol;Yr([(0,Cr.property)()],ht.prototype,"exportpartsPrefix",void 0);Yr([qc([])],ht.prototype,"exportpartsPrefixes",void 0);Yr([(0,Cr.property)()],ht.prototype,"customStylesheet",void 0);Yr([(0,Cr.property)()],ht.prototype,"elementToFocus",void 0);Yr([(0,Cr.state)()],ht.prototype,"useAdoptedStyleSheets",void 0);function Mo(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Xr=Symbol("internalReduxEventsUnsubscribers"),Nt=Symbol("internalStoresUnsubscribers"),Vt=Symbol("internalStores"),_d=ko(Symbol("withRedux"),function(e){var t,o,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(l=>c.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Vt].get(c)}addStore(c,l){var p;l=(p=l??c.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(l),this[Vt].set(l,c),this.subscribeToStore(l,c),this.updateFromStores()}removeStore(c){let l=typeof c=="string"?c:c.name;this.unsubscribeFromStore(l),this[Vt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Vt].forEach((c,l)=>this.subscribeToStore(l,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,l)=>{let p=this.constructor.getPropertyOptions(l);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:l)){let u=this.getStore(c.store);u&&(c.store?this[Nt].has(c.store):this[Nt].size>0)&&(this[l]=c.selector(u.getState(),this))}})}subscribeToStore(c,l){var p;this[Nt].set(c,l.subscribe(()=>this.updateFromStores())),this[Xr].set(c,[]),Mo(l)&&l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let h=g=>this[m](g);l.addEventListener(u.eventName,h),this[Xr].get(c).push(()=>l.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Nt].forEach((c,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(c){var l;this[Nt].has(c)&&this[Nt].get(c)(),this[Nt].delete(c),(l=this[Xr].get(c))===null||l===void 0||l.forEach(p=>p()),this[Xr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Nt,o=Vt,n=Xr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),nl=class extends _d(ht){};function Ge(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function yt(e){return!!e&&!!e[q]}function Je(e){var t;return!!e&&(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)===zd}(e)||Array.isArray(e)||!!e[pl]||!!(!((t=e.constructor)===null||t===void 0)&&t[pl])||ri(e)||oi(e))}function Zt(e,t,o){o===void 0&&(o=!1),Ar(e)===0?(o?Object.keys:Er)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ar(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ri(e)?2:oi(e)?3:0}function Or(e,t){return Ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kd(e,t){return Ar(e)===2?e.get(t):e[t]}function ul(e,t,o){var n=Ar(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function fl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ri(e){return Md&&e instanceof Map}function oi(e){return Fd&&e instanceof Set}function It(e){return e.o||e.t}function ni(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ml(e);delete t[q];for(var o=Er(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ii(e,t){return t===void 0&&(t=!1),ai(e)||yt(e)||!Je(e)||(Ar(e)>1&&(e.set=e.add=e.clear=e.delete=Bd),Object.freeze(e),t&&Zt(e,function(o,n){return ii(n,!0)},!0)),e}function Bd(){Ge(2)}function ai(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function it(e){var t=ti[e];return t||Ge(18,e),t}function Dd(e,t){ti[e]||(ti[e]=t)}function Jn(){return Qr}function Zn(e,t){t&&(it("Patches"),e.u=[],e.s=[],e.v=t)}function Fo(e){Qn(e),e.p.forEach($d),e.p=null}function Qn(e){e===Qr&&(Qr=e.l)}function il(e){return Qr={p:[],l:Qr,h:e,m:!0,_:0}}function $d(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function qn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||it("ES5").S(t,e,n),n?(o[q].P&&(Fo(t),Ge(4)),Je(e)&&(e=zo(t,e),t.l||Ho(t,e)),t.u&&it("Patches").M(o[q].t,e,t.u,t.s)):e=zo(t,o,[]),Fo(t),t.u&&t.v(t.u,t.s),e!==yl?e:void 0}function zo(e,t,o){if(ai(t))return t;var n=t[q];if(!n)return Zt(t,function(l,p){return al(e,n,t,l,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Ho(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ni(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),Zt(a,function(l,p){return al(e,n,i,l,p,o,c)}),Ho(e,i,!1),o&&e.u&&it("Patches").N(n,o,e.u,e.s)}return n.o}function al(e,t,o,n,i,a,c){if(yt(i)){var l=zo(e,i,a&&t&&t.i!==3&&!Or(t.R,n)?a.concat(n):void 0);if(ul(o,n,l),!yt(l))return;e.m=!1}else c&&o.add(i);if(Je(i)&&!ai(i)){if(!e.h.D&&e._<1)return;zo(e,i),t&&t.A.l||Ho(e,i)}}function Ho(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&ii(t,o)}function Yn(e,t){var o=e[q];return(o?It(o):e)[t]}function sl(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Pt(e){e.P||(e.P=!0,e.l&&Pt(e.l))}function Xn(e){e.o||(e.o=ni(e.t))}function ei(e,t,o){var n=ri(t)?it("MapSet").F(t,o):oi(t)?it("MapSet").T(t,o):e.O?function(i,a){var c=Array.isArray(i),l={i:c?1:0,A:a?a.A:Jn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=l,u=eo;c&&(p=[l],u=Jr);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(t,o):it("ES5").J(t,o);return(o?o.A:Jn()).p.push(n),n}function Ud(e){return yt(e)||Ge(22,e),function t(o){if(!Je(o))return o;var n,i=o[q],a=Ar(o);if(i){if(!i.P&&(i.i<4||!it("ES5").K(i)))return i.t;i.I=!0,n=cl(o,a),i.I=!1}else n=cl(o,a);return Zt(n,function(c,l){i&&kd(i.t,c)===l||ul(n,c,t(l))}),a===3?new Set(n):n}(e)}function cl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ni(e)}function hl(){function e(c,l){var p=a[c];return p?p.enumerable=l:a[c]=p={configurable:!0,enumerable:l,get:function(){var u=this[q];return eo.get(u,c)},set:function(u){var m=this[q];eo.set(m,c,u)}},p}function t(c){for(var l=c.length-1;l>=0;l--){var p=c[l][q];if(!p.P)switch(p.i){case 5:n(p)&&Pt(p);break;case 4:o(p)&&Pt(p)}}}function o(c){for(var l=c.t,p=c.k,u=Er(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==q){var g=l[h];if(g===void 0&&!Or(l,h))return!0;var S=p[h],v=S&&S[q];if(v?v.t!==g:!fl(S,g))return!0}}var O=!!l[q];return u.length!==Er(l).length+(O?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(c){c.g&&Ge(3,JSON.stringify(It(c)))}var a={};Dd("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(S,""+v,e(v,!0));return S}var O=ml(g);delete O[q];for(var N=Er(O),R=0;R<N.length;R++){var L=N[R];O[L]=e(L,h||!!O[L].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:Jn(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,q,{value:m,writable:!0}),u},S:function(c,l,p){p?yt(l)&&l[q].A===c&&t(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[q];if(h){var g=h.t,S=h.k,v=h.R,O=h.i;if(O===4)Zt(S,function(U){U!==q&&(g[U]!==void 0||Or(g,U)?v[U]||u(S[U]):(v[U]=!0,Pt(h)))}),Zt(g,function(U){S[U]!==void 0||Or(S,U)||(v[U]=!1,Pt(h))});else if(O===5){if(n(h)&&(Pt(h),v.length=!0),S.length<g.length)for(var N=S.length;N<g.length;N++)v[N]=!1;else for(var R=g.length;R<S.length;R++)v[R]=!0;for(var L=Math.min(S.length,g.length),B=0;B<L;B++)S.hasOwnProperty(B)||(v[B]=!0),v[B]===void 0&&u(S[B])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ll,Qr,si=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Md=typeof Map<"u",Fd=typeof Set<"u",dl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",yl=si?Symbol.for("immer-nothing"):((ll={})["immer-nothing"]=!0,ll),pl=si?Symbol.for("immer-draftable"):"__$immer_draftable",q=si?Symbol.for("immer-state"):"__$immer_state";var zd=""+Object.prototype.constructor,Er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ml=Object.getOwnPropertyDescriptors||function(e){var t={};return Er(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},ti={},eo={get:function(e,t){if(t===q)return e;var o=It(e);if(!Or(o,t))return function(i,a,c){var l,p=sl(a,c);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!Je(n)?n:n===Yn(e.t,t)?(Xn(e),e.o[t]=ei(e.A.h,n,e)):n},has:function(e,t){return t in It(e)},ownKeys:function(e){return Reflect.ownKeys(It(e))},set:function(e,t,o){var n=sl(It(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Yn(It(e),t),a=i?.[q];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(fl(o,i)&&(o!==void 0||Or(e.t,t)))return!0;Xn(e),Pt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Yn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Xn(e),Pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=It(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ge(12)}},Jr={};Zt(eo,function(e,t){Jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Jr.deleteProperty=function(e,t){return Jr.set.call(this,e,t,void 0)},Jr.set=function(e,t,o){return eo.set.call(this,e[0],t,o,e[0])};var Hd=function(){function e(o){var n=this;this.O=dl,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var p=n;return function(O){var N=this;O===void 0&&(O=l);for(var R=arguments.length,L=Array(R>1?R-1:0),B=1;B<R;B++)L[B-1]=arguments[B];return p.produce(O,function(U){var M;return(M=a).call.apply(M,[N,U].concat(L))})}}var u;if(typeof a!="function"&&Ge(6),c!==void 0&&typeof c!="function"&&Ge(7),Je(i)){var m=il(n),h=ei(n,i,void 0),g=!0;try{u=a(h),g=!1}finally{g?Fo(m):Qn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Zn(m,c),qn(O,m)},function(O){throw Fo(m),O}):(Zn(m,c),qn(u,m))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===yl&&(u=void 0),n.D&&ii(u,!0),c){var S=[],v=[];it("Patches").M(i,u,S,v),c(S,v)}return u}Ge(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return i.apply(void 0,[S].concat(h))})};var c,l,p=n.produce(i,a,function(u,m){c=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,l]}):[p,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Je(o)||Ge(8),yt(o)&&(o=Ud(o));var n=il(this),i=ei(this,o,void 0);return i[q].C=!0,Qn(n),i},t.finishDraft=function(o,n){var i=o&&o[q],a=i.A;return Zn(a,n),qn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!dl&&Ge(20),this.O=o},t.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 c=it("Patches").$;return yt(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Me=new Hd,Wd=Me.produce,s0=Me.produceWithPatches.bind(Me),c0=Me.setAutoFreeze.bind(Me),l0=Me.setUseProxies.bind(Me),d0=Me.applyPatches.bind(Me),p0=Me.createDraft.bind(Me),u0=Me.finishDraft.bind(Me),Wo=Wd;function qt(e){"@babel/helpers - typeof";return qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qt(e)}function gl(e,t){if(qt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(qt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bl(e){var t=gl(e,"string");return qt(t)=="symbol"?t:t+""}function xl(e,t,o){return(t=bl(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function vl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function ci(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?vl(Object(o),!0).forEach(function(n){xl(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vl(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Se(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Sl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),li=function(){return Math.random().toString(36).substring(7).split("").join(".")},Go={INIT:"@@redux/INIT"+li(),REPLACE:"@@redux/REPLACE"+li(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+li()}};function Gd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function di(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Se(1));return o(di)(e,t)}if(typeof e!="function")throw new Error(Se(2));var i=e,a=t,c=[],l=c,p=!1;function u(){l===c&&(l=c.slice())}function m(){if(p)throw new Error(Se(3));return a}function h(O){if(typeof O!="function")throw new Error(Se(4));if(p)throw new Error(Se(5));var N=!0;return u(),l.push(O),function(){if(N){if(p)throw new Error(Se(6));N=!1,u();var L=l.indexOf(O);l.splice(L,1),c=null}}}function g(O){if(!Gd(O))throw new Error(Se(7));if(typeof O.type>"u")throw new Error(Se(8));if(p)throw new Error(Se(9));try{p=!0,a=i(a,O)}finally{p=!1}for(var N=c=l,R=0;R<N.length;R++){var L=N[R];L()}return O}function S(O){if(typeof O!="function")throw new Error(Se(10));i=O,g({type:Go.REPLACE})}function v(){var O,N=h;return O={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Se(11));function B(){L.next&&L.next(m())}B();var U=N(B);return{unsubscribe:U}}},O[Sl]=function(){return this},O}return g({type:Go.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[Sl]=v,n}function jd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Go.INIT});if(typeof n>"u")throw new Error(Se(12));if(typeof o(void 0,{type:Go.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function Cl(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),c,l;try{jd(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,S={},v=0;v<a.length;v++){var O=a[v],N=o[O],R=u[O],L=N(R,m);if(typeof L>"u"){var B=m&&m.type;throw new Error(Se(14))}S[O]=L,g=g||L!==R}return g=g||a.length!==Object.keys(u).length,g?S:u}}function wr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Ol(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Se(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(p){return p(c)});return a=wr.apply(void 0,l)(i.dispatch),ci(ci({},i),{},{dispatch:a})}}}function El(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(l){return typeof l=="function"?l(i,a,e):c(l)}}};return t}var Al=El();Al.withExtraArgument=El;var pi=Al;var Nl=function(){var e=function(t,o){return e=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])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Kd=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(m){u=[6,m],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Rr=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Vd=Object.defineProperty,Zd=Object.defineProperties,qd=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,Yd=Object.prototype.hasOwnProperty,Xd=Object.prototype.propertyIsEnumerable,Rl=function(e,t,o){return t in e?Vd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},_t=function(e,t){for(var o in t||(t={}))Yd.call(t,o)&&Rl(e,o,t[o]);if(wl)for(var n=0,i=wl(t);n<i.length;n++){var o=i[n];Xd.call(t,o)&&Rl(e,o,t[o])}return e},ui=function(e,t){return Zd(e,qd(t))},Jd=function(e,t,o){return new Promise(function(n,i){var a=function(p){try{l(o.next(p))}catch(u){i(u)}},c=function(p){try{l(o.throw(p))}catch(u){i(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,c)};l((o=o.apply(e,t)).next())})};var Qd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wr:wr.apply(null,arguments)},N0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ep(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var tp=function(e){Nl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Rr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Rr([void 0],o.concat(this))))},t}(Array),rp=function(e){Nl(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Rr([void 0],o[0].concat(this)))):new(t.bind.apply(t,Rr([void 0],o.concat(this))))},t}(Array);function yi(e){return Je(e)?Wo(e,function(){}):e}function op(e){return typeof e=="boolean"}function np(){return function(t){return ip(t)}}function ip(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,c=a===void 0?!0:a,l=new tp;if(o&&(op(o)?l.push(pi):l.push(pi.withExtraArgument(o.extraArgument))),0){if(i)var p;if(c)var u}return l}var fi=!0;function Il(e){var t=np(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,c=a===void 0?t():a,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof i=="function")S=i;else if(ep(i))S=Cl(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 v=c;if(typeof v=="function"&&(v=v(t),!fi&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!fi&&v.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ol.apply(void 0,v),N=wr;p&&(N=Qd(_t({trace:!fi},typeof p=="object"&&p)));var R=new rp(O),L=R;Array.isArray(g)?L=Rr([O],g):typeof g=="function"&&(L=g(R));var B=N.apply(void 0,L);return di(S,m,B)}function kt(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return _t(_t({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Pl(e){var t={},o=[],n,i={addCase:function(a,c){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=c,i},addMatcher:function(a,c){return o.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function ap(e){return typeof e=="function"}function sp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Pl(t):[t,o,n],a=i[0],c=i[1],l=i[2],p;if(ap(e))p=function(){return yi(e())};else{var u=yi(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=Rr([a[g.type]],c.filter(function(v){var O=v.matcher;return O(g)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,O){if(O)if(yt(v)){var N=v,R=O(N,g);return R===void 0?v:R}else{if(Je(v))return Wo(v,function(L){return O(L,g)});var R=O(v,g);if(R===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return v},h)}return m.getInitialState=p,m}function cp(e,t){return e+"/"+t}function _l(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:yi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},c={},l={};i.forEach(function(m){var h=n[m],g=cp(t,m),S,v;"reducer"in h?(S=h.reducer,v=h.prepare):S=h,a[m]=S,c[g]=S,l[m]=v?kt(g,v):kt(g)});function p(){var m=typeof e.extraReducers=="function"?Pl(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],v=S===void 0?[]:S,O=m[2],N=O===void 0?void 0:O,R=_t(_t({},g),c);return sp(o,function(L){for(var B in R)L.addCase(B,R[B]);for(var U=0,M=v;U<M.length;U++){var Ae=M[U];L.addMatcher(Ae.matcher,Ae.reducer)}N&&L.addDefaultCase(N)})}var u;return{name:t,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var lp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=lp[Math.random()*64|0];return t},pp=["name","message","stack","code"],hi=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ll=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),up=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=pp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},k0=function(){function e(t,o,n){var i=kt(t+"/fulfilled",function(m,h,g,S){return{payload:m,meta:ui(_t({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=kt(t+"/pending",function(m,h,g){return{payload:void 0,meta:ui(_t({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=kt(t+"/rejected",function(m,h,g,S,v){return{payload:S,error:(n&&n.serializeError||up)(m||"Rejected"),meta:ui(_t({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,g,S){var v=n?.idGenerator?n.idGenerator(m):dp(),O=new p,N,R=!1;function L(U){N=U,O.abort()}var B=function(){return Jd(this,null,function(){var U,M,Ae,et,Ce,tt,ye;return Kd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),et=(U=n?.condition)==null?void 0:U.call(n,m,{getState:g,extra:S}),hp(et)?[4,et]:[3,2];case 1:et=y.sent(),y.label=2;case 2:if(et===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Ce=new Promise(function(x,_){return O.signal.addEventListener("abort",function(){return _({name:"AbortError",message:N||"Aborted"})})}),h(a(v,m,(M=n?.getPendingMeta)==null?void 0:M.call(n,{requestId:v,arg:m},{getState:g,extra:S}))),[4,Promise.race([Ce,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:v,signal:O.signal,abort:L,rejectWithValue:function(x,_){return new hi(x,_)},fulfillWithValue:function(x,_){return new Ll(x,_)}})).then(function(x){if(x instanceof hi)throw x;return x instanceof Ll?i(x.payload,v,m,x.meta):i(x,v,m)})])];case 3:return Ae=y.sent(),[3,5];case 4:return tt=y.sent(),Ae=tt instanceof hi?c(null,v,m,tt.payload,tt.meta):c(tt,v,m),[3,5];case 5:return ye=n&&!n.dispatchConditionRejection&&c.match(Ae)&&Ae.meta.condition,ye||h(Ae),[2,Ae]}})})}();return Object.assign(B,{abort:L,requestId:v,arg:m,unwrap:function(){return B.then(fp)}})}}return Object.assign(u,{pending:a,rejected:c,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function fp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function hp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kl="listener",Bl="completed",Dl="cancelled",B0="task-"+Dl,D0="task-"+Bl,$0=kl+"-"+Dl,U0=kl+"-"+Bl;var mi="listenerMiddleware";var M0=kt(mi+"/add"),F0=kt(mi+"/removeAll"),z0=kt(mi+"/remove");var Tl,H0=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Tl||(Tl=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yp=function(e){return function(t){setTimeout(t,e)}},W0=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yp(10);hl();var mp=ko(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),jo=class extends mp(Object){};window.ftReduxStores||(window.ftReduxStores={});var $l=class e extends jo{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Mo(a))return a;if(i==null)return;let c=_l({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Il({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[i.name]=new e(c,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Bo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,l)=>{let p=c,u=a[p];return u?(...m)=>{let h=u(...m.map(i));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:i(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Ko=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(t,o,n,i)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i){let a=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return c;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${c} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var Ul=b(P()),Vo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},fS=(0,Ul.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(T)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?l=>Ko.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Vo([(0,gi.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Vo([(0,gi.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Vo([Vn({store:T.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Vo([Vn({store:T.name})],t.prototype,"uiLocale",void 0),t});var Yo=b(P());var Zo=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=T.getState().session;return!!t?.sessionAuthenticated}};var qo=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=T.getState().session;return!!t?.sessionAuthenticated}};var gp="ft-user-assets",bp={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Ue).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:i}=t.payload;switch(o){case Ue.BOOKMARKS:e.bookmarks?e.bookmarks.push(i):e.bookmarks=[i];break;case Ue.SEARCHES:e.savedSearches?e.savedSearches.push(i):e.savedSearches=[i];break}let a=e.assetCounts.allAsset[o];if(a!==void 0&&(e.assetCounts.allAsset[o]=a+1),o===Ue.BOOKMARKS&&n!==void 0){let c=e.assetCounts.bookmarkByMap[n];c!==void 0&&(e.assetCounts.bookmarkByMap[n]=c+1)}},removeAsset:(e,t)=>{var o,n;let{assetType:i,mapId:a,assetId:c}=t.payload;switch(i){case Ue.BOOKMARKS:e.bookmarks=(o=e.bookmarks)===null||o===void 0?void 0:o.filter(p=>p.id!==c);break;case Ue.SEARCHES:e.savedSearches=(n=e.savedSearches)===null||n===void 0?void 0:n.filter(p=>p.id!==c);break}let l=e.assetCounts.allAsset[i];if(l!==void 0&&l>0&&(e.assetCounts.allAsset[i]=l-1),i===Ue.BOOKMARKS&&a!==void 0){let p=e.assetCounts.bookmarkByMap[a];p!==void 0&&p>0&&(e.assetCounts.bookmarkByMap[a]=p-1)}}},Fe=Yo.FtReduxStore.get({name:gp,reducers:bp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ue).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),bi=class{constructor(t=new Zo,o=new qo){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=T.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wo,this.savedSearchesService=new Io,T.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=T.getState();(0,Yo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Fe.actions.clearAssetCount(),Fe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Fe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Fe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Fe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Fe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Fe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Fe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Fe.getState().assetCounts.bookmarkByMap).length!==0;t===Ue.BOOKMARKS&&o&&Fe.actions.clearBookmarkCountByMap(),Fe.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Fe.actions.bookmarks(o)}}},xp=new bi;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=xp);(0,Ml.customElement)("ft-app-context")(K);var zl=b(te());var xi=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,i]=t.split(".");return{context:n,key:i,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Fl=new xi;var vp=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Sp=Symbol("i18nAttributes"),Cp=Symbol("i18nListAttributes"),Hl=Symbol("i18nProperties"),Xo=Symbol("i18nContexts"),to=Symbol("i18nUnsubs"),Wl=(0,Lr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Lo:vr}i18n(a){let{context:c,key:l,message:p}=a,{custom:u,args:m,argsProvider:h}=a;if(c&&l){this.hasI18nContext(c)||this.addI18nContext(c,void 0,u);let g=m??(h?h(this):[]);return this.getI18nService(u).resolveMessage(c,l,...g)}return p}async awaitI18n(a){let{context:c,custom:l}=a;return c&&await this.getI18nService(l).prepareContext(c),this.i18n(a)}customI18n(a,c){if(Fl.isI18nKey(a)){let[l,p]=a.split(".");return this.i18n({custom:!0,context:l,key:p,...c})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((c,l,p)=>a.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((c,l,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(c=>c.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var c,l;let p=this,u=(m,h,g)=>g?.context&&g.key&&a(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...m})}:g;(c=this[Sp])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[Cp])===null||l===void 0||l.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(a){var c;(c=this[Hl])===null||c===void 0||c.forEach((l,p)=>{a(l,p)&&(this[p]=this.i18n(l))})}addI18nMessages(a,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,c,l)}addI18nContext(a,c,l){let p=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Xo].set(p,{isCustomContext:l}),this[to].has(p)||this[to].set(p,this.getI18nService(l).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(l).prepareContext(p,c)}hasI18nContext(a){return this[Xo].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Xo].forEach((a,c)=>this.addI18nContext(c,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[to].forEach(a=>a()),this[to].clear()}}return t=Xo,o=to,vp([(0,zl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Jo=class extends Wl(Lr.FtLitElement){},Qo=class extends Wl(Lr.FtLitElementRedux){};var ro=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Qe=class extends Qo{constructor(){super(),this.editorMode=!1,this.addStore(T)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":en.nothing:en.html`
1839
1839
  <span class="ft-i18n">
1840
1840
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1841
1841
  </span>
1842
- `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Je.elementDefinitions={};Je.styles=nc;to([(0,rn.redux)()],Je.prototype,"editorMode",void 0);to([(0,tn.property)()],Je.prototype,"context",void 0);to([(0,tn.property)()],Je.prototype,"key",void 0);to([(0,rn.jsonProperty)([])],Je.prototype,"args",void 0);to([(0,tn.property)()],Je.prototype,"defaultMessage",void 0);var on=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?Lo:xr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};(0,Gl.customElement)("ft-i18n")(Je);var nn=on.build("pageLayoutComponent"),jl={breadcrumbTitle:"Breadcrumb title",popoverCloseButtonLabel:"Close information",popoverOpenButtonLabel:"More information"};var mt=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ae=class extends Jo{constructor(){super(),this.footerHasContent=!1,this.popoverHasContent=!1,this.addI18nContext(nn,jl)}get pageHeaderClasses(){return{"ftds-page-layout--header":!0,"ftds-page-layout--child":this.breadcrumb!==void 0}}render(){return Ee.html`
1842
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Qe.elementDefinitions={};Qe.styles=nc;ro([(0,rn.redux)()],Qe.prototype,"editorMode",void 0);ro([(0,tn.property)()],Qe.prototype,"context",void 0);ro([(0,tn.property)()],Qe.prototype,"key",void 0);ro([(0,rn.jsonProperty)([])],Qe.prototype,"args",void 0);ro([(0,tn.property)()],Qe.prototype,"defaultMessage",void 0);var on=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?Lo:vr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return c=>({context:this.name,key:a,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};(0,Gl.customElement)("ft-i18n")(Qe);var nn=on.build("pageLayoutComponent"),jl={breadcrumbTitle:"Breadcrumb title",popoverCloseButtonLabel:"Close information",popoverOpenButtonLabel:"More information"};var mt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(a=(i<3?c(a):i>3?c(t,o,a):c(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ee=class extends Jo{constructor(){super(),this.footerHasContent=!1,this.popoverHasContent=!1,this.addI18nContext(nn,jl)}get pageHeaderClasses(){return{"ftds-page-layout--header":!0,"ftds-page-layout--child":this.breadcrumb!==void 0}}render(){return Oe.html`
1843
1843
  ${this.renderHeader()}
1844
1844
  <main>
1845
1845
  <slot></slot>
1846
1846
  </main>
1847
1847
  ${this.renderFooter()}
1848
- `}renderHeader(){return Ee.html`
1848
+ `}renderHeader(){return Oe.html`
1849
1849
  <div class="${(0,Kl.classMap)(this.pageHeaderClasses)}">
1850
1850
  <div class="ftds-page-layout--left-slot">
1851
1851
  <div class="ftds-page-layout--title-container">
1852
- ${this.breadcrumb?this.renderBreadcrumb():Ee.html`
1852
+ ${this.breadcrumb?this.renderBreadcrumb():Oe.html`
1853
1853
  <ft-typography class="ftds-page-layout--title"
1854
- variant="${le.title1}">
1854
+ variant="${X.title1}">
1855
1855
  ${this.pageTitle}
1856
1856
  </ft-typography>`}
1857
1857
  ${this.renderPopover()}
1858
1858
  ${this.renderChip()}
1859
1859
  </div>
1860
- ${this.subTitle?Ee.html`
1860
+ ${this.subTitle?Oe.html`
1861
1861
  <ft-typography class="ftds-page-layout--sub-title"
1862
- variant="${le.body2regular}">
1862
+ variant="${X.body2regular}">
1863
1863
  ${this.subTitle}
1864
- </ft-typography>`:Ee.nothing}
1864
+ </ft-typography>`:Oe.nothing}
1865
1865
  </div>
1866
1866
  <div class="ftds-page-layout--right-slot">
1867
1867
  <slot name="header-right"></slot>
1868
1868
  </div>
1869
- </div>`}renderFooter(){return Ee.html`
1869
+ </div>`}renderFooter(){return Oe.html`
1870
1870
  <div ?hidden="${!this.footerHasContent}" class="ftds-page-layout--footer ftds-page-layout--child">
1871
1871
  <div class="ftds-page-layout--left-slot">
1872
1872
  <slot name="footer-left" @slotchange=${this.onSlotChange}></slot>
@@ -1875,41 +1875,41 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1875
1875
  <slot name="footer-right" @slotchange=${this.onSlotChange}></slot>
1876
1876
  </div>
1877
1877
  </div>
1878
- `}renderChip(){var t;return Ee.html`
1878
+ `}renderChip(){var t;return Oe.html`
1879
1879
  <div class="ftds-page-layout--chips-container">
1880
- ${(0,va.repeat)((t=this.chipsContent)!==null&&t!==void 0?t:[],o=>Ee.html`
1880
+ ${(0,vi.repeat)((t=this.chipsContent)!==null&&t!==void 0?t:[],o=>Oe.html`
1881
1881
  <ftds-chip family="${o.family}" icon="${o.icon}">
1882
1882
  ${o.label}
1883
1883
  </ftds-chip>`)}
1884
1884
  </div>
1885
- `}renderBreadcrumb(){return Ee.html`
1885
+ `}renderBreadcrumb(){return Oe.html`
1886
1886
  <nav aria-label="Title breadcrumb" class="ftds-page-layout--breadcrumb">
1887
1887
  <ol>
1888
- ${(0,va.repeat)(this.breadcrumb,(t,o)=>Ee.html`
1888
+ ${(0,vi.repeat)(this.breadcrumb,(t,o)=>Oe.html`
1889
1889
  <li>
1890
- ${t.link?Ee.html`
1891
- <ftds-link href=${t.link} underlined target="_self" family=${Ke.brand} variant="${le.body2medium}">
1890
+ ${t.link?Oe.html`
1891
+ <ftds-link href=${t.link} underlined target="_self" family=${Ke.brand} variant="${X.body2medium}">
1892
1892
  ${t.label}
1893
- </ftds-link>`:Ee.html`
1894
- <ft-typography variant="${le.body2medium}" class="ftds-page-layout--breadcrumb-item">
1893
+ </ftds-link>`:Oe.html`
1894
+ <ft-typography variant="${X.body2medium}" class="ftds-page-layout--breadcrumb-item">
1895
1895
  ${t.label}
1896
1896
  </ft-typography>`}
1897
1897
  </li>`)}
1898
1898
  <li>
1899
1899
  <ft-typography class="ftds-page-layout--title"
1900
- aria-current="${io(this.breadcrumb?"page":void 0)}"
1901
- variant="${le.body2semibold}">
1900
+ aria-current="${Jt(this.breadcrumb?"page":void 0)}"
1901
+ variant="${X.body2semibold}">
1902
1902
  ${this.pageTitle}
1903
1903
  </ft-typography>
1904
1904
  </li>
1905
1905
  </ol>
1906
1906
  </nav>
1907
- `}renderPopover(){return Ee.html`
1907
+ `}renderPopover(){return Oe.html`
1908
1908
  <ftds-popover ?hidden=${!this.popoverHasContent} closeButtonLabel=${nn.messages.popoverCloseButtonLabel()}
1909
1909
  openButtonLabel=${nn.messages.popoverOpenButtonLabel()} openButtonTooltipPosition="bottom"
1910
1910
  openButtonFamily=${Ke.info} openButtonSize=${re.medium}>
1911
1911
  <slot name="popover-content" @slotchange=${this.onSlotChange}></slot>
1912
- </ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};Ae.elementDefinitions={"ft-typography":X,"ftds-popover":W,"ftds-chip":_e,"ftds-link":De};Ae.styles=mi;mt([(0,je.property)()],Ae.prototype,"pageTitle",void 0);mt([(0,je.property)()],Ae.prototype,"breadcrumb",void 0);mt([(0,je.property)()],Ae.prototype,"subTitle",void 0);mt([(0,je.property)()],Ae.prototype,"chipsContent",void 0);mt([(0,je.state)()],Ae.prototype,"footerHasContent",void 0);mt([(0,je.state)()],Ae.prototype,"popoverHasContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"footer-left"})],Ae.prototype,"footerLeftContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"footer-right"})],Ae.prototype,"footerRightContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"popover-content"})],Ae.prototype,"popoverContent",void 0);(0,Vl.customElement)("ftds-page-layout")(Ae);})();
1912
+ </ftds-popover>`}onSlotChange(t){switch(t.target.getAttribute("name")){case"popover-content":this.popoverHasContent=this.popoverContent.length>0;break;case"footer-right":case"footer-left":this.footerHasContent=this.footerLeftContent.length>0||this.footerRightContent.length>0;break}t.stopPropagation()}};Ee.elementDefinitions={"ft-typography":J,"ftds-popover":W,"ftds-chip":Pe,"ftds-link":De};Ee.styles=ma;mt([(0,je.property)()],Ee.prototype,"pageTitle",void 0);mt([(0,je.property)()],Ee.prototype,"breadcrumb",void 0);mt([(0,je.property)()],Ee.prototype,"subTitle",void 0);mt([(0,je.property)()],Ee.prototype,"chipsContent",void 0);mt([(0,je.state)()],Ee.prototype,"footerHasContent",void 0);mt([(0,je.state)()],Ee.prototype,"popoverHasContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"footer-left"})],Ee.prototype,"footerLeftContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"footer-right"})],Ee.prototype,"footerRightContent",void 0);mt([(0,je.queryAssignedNodes)({slot:"popover-content"})],Ee.prototype,"popoverContent",void 0);(0,Vl.customElement)("ftds-page-layout")(Ee);})();
1913
1913
  /*! Bundled license information:
1914
1914
 
1915
1915
  lit-html/lit-html.js: