@fluid-topics/ft-reader-toc 1.2.58 → 1.2.59

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,36 +1,18 @@
1
- "use strict";(()=>{var sl=Object.create;var Un=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var dl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var tt=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ul=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ll(r))!pl.call(e,a)&&a!==o&&Un(e,a,{get:()=>r[a],enumerable:!(n=cl(r,a))||n.enumerable});return e};var v=(e,r,o)=>(o=e!=null?sl(dl(e)):{},ul(r||!e||!e.__esModule?Un(o,"default",{value:e,enumerable:!0}):o,e));var _=tt(($d,$n)=>{$n.exports=ftGlobals.wcUtils});var z=tt((Md,Mn)=>{Mn.exports=ftGlobals.lit});var zn=tt((Wd,Wn)=>{Wn.exports=ftGlobals.litRepeat});var rr=tt((zd,Hn)=>{Hn.exports=ftGlobals.litClassMap});var Gn=tt((Hd,Fn)=>{Fn.exports=ftGlobals.litStyleMap});var ee=tt((Fd,jn)=>{jn.exports=ftGlobals.litDecorators});var ai=tt((Ly,ni)=>{ni.exports=ftGlobals.litUnsafeHTML});var bc=tt((mt,gc)=>{var fo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ho=function(){function e(){this.fetch=!1,this.DOMException=fo.DOMException}return e.prototype=fo,new e}();(function(e){var r=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 b={next:function(){var I=y.shift();return{done:I===void 0,value:I}}};return a.iterable&&(b[Symbol.iterator]=function(){return b}),b}function h(y){this.map={},y instanceof h?y.forEach(function(b,I){this.append(I,b)},this):Array.isArray(y)?y.forEach(function(b){if(b.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+b.length);this.append(b[0],b[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(b){this.append(b,y[b])},this)}h.prototype.append=function(y,b){y=p(y),b=u(b);var I=this.map[y];this.map[y]=I?I+", "+b:b},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,b){this.map[p(y)]=u(b)},h.prototype.forEach=function(y,b){for(var I in this.map)this.map.hasOwnProperty(I)&&y.call(b,this.map[I],I,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(b,I){y.push(I)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(b){y.push(b)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(b,I){y.push([I,b])}),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(b,I){y.onload=function(){b(y.result)},y.onerror=function(){I(y.error)}})}function x(y){var b=new FileReader,I=S(b);return b.readAsArrayBuffer(y),I}function O(y){var b=new FileReader,I=S(b),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),q=H?H[1]:"utf-8";return b.readAsText(y,q),I}function L(y){for(var b=new Uint8Array(y),I=new Array(b.length),H=0;H<b.length;H++)I[H]=String.fromCharCode(b[H]);return I.join("")}function R(y){if(y.slice)return y.slice(0);var b=new Uint8Array(y.byteLength);return b.set(new Uint8Array(y)),b.buffer}function N(){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(x);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(L(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(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(y){var b=y.toUpperCase();return k.indexOf(b)>-1?b:y}function U(y,b){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');b=b||{};var I=b.body;if(y instanceof U){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,b.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!I&&y._bodyInit!=null&&(I=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=b.credentials||this.credentials||"same-origin",(b.headers||!this.headers)&&(this.headers=new h(b.headers)),this.method=B(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.signal=b.signal||this.signal||function(){if("AbortController"in n){var $=new AbortController;return $.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(b.cache==="no-store"||b.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var q=/\?/;this.url+=(q.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function ye(y){var b=new FormData;return y.trim().split("&").forEach(function(I){if(I){var H=I.split("="),q=H.shift().replace(/\+/g," "),$=H.join("=").replace(/\+/g," ");b.append(decodeURIComponent(q),decodeURIComponent($))}}),b}function Me(y){var b=new h,I=y.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(H){return H.indexOf(`
2
- `)===0?H.substr(1,H.length):H}).forEach(function(H){var q=H.split(":"),$=q.shift().trim();if($){var Ir=q.join(":").trim();try{b.append($,Ir)}catch(Ro){console.warn("Response "+Ro.message)}}}),b}N.call(U.prototype);function ue(y,b){if(!(this instanceof ue))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(b||(b={}),this.type="default",this.status=b.status===void 0?200:b.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=b.statusText===void 0?"":""+b.statusText,this.headers=new h(b.headers),this.url=b.url||"",this._initBody(y)}N.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ue.error=function(){var y=new ue(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var We=[301,302,303,307,308];ue.redirect=function(y,b){if(We.indexOf(b)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:b,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(b,I){this.message=b,this.name=I;var H=Error(b);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ie(y,b){return new Promise(function(I,H){var q=new U(y,b);if(q.signal&&q.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Ir(){$.abort()}$.onload=function(){var se={statusText:$.statusText,headers:Me($.getAllResponseHeaders()||"")};q.url.indexOf("file://")===0&&($.status<200||$.status>599)?se.status=200:se.status=$.status,se.url="responseURL"in $?$.responseURL:se.headers.get("X-Request-URL");var bt="response"in $?$.response:$.responseText;setTimeout(function(){I(new ue(bt,se))},0)},$.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},$.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},$.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function Ro(se){try{return se===""&&n.location.href?n.location.href:se}catch{return se}}if($.open(q.method,Ro(q.url),!0),q.credentials==="include"?$.withCredentials=!0:q.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&(a.blob?$.responseType="blob":a.arrayBuffer&&($.responseType="arraybuffer")),b&&typeof b.headers=="object"&&!(b.headers instanceof h||n.Headers&&b.headers instanceof n.Headers)){var Bn=[];Object.getOwnPropertyNames(b.headers).forEach(function(se){Bn.push(p(se)),$.setRequestHeader(se,u(b.headers[se]))}),q.headers.forEach(function(se,bt){Bn.indexOf(bt)===-1&&$.setRequestHeader(bt,se)})}else q.headers.forEach(function(se,bt){$.setRequestHeader(bt,se)});q.signal&&(q.signal.addEventListener("abort",Ir),$.onreadystatechange=function(){$.readyState===4&&q.signal.removeEventListener("abort",Ir)}),$.send(typeof q._bodyInit>"u"?null:q._bodyInit)})}return ie.polyfill=!0,n.fetch||(n.fetch=ie,n.Headers=h,n.Request=U,n.Response=ue),o.Headers=h,o.Request=U,o.Response=ue,o.fetch=ie,o}({})})(ho);ho.fetch.ponyfill=!0;delete ho.fetch.polyfill;var tr=fo.fetch?fo:ho;mt=tr.fetch;mt.default=tr.fetch;mt.fetch=tr.fetch;mt.Headers=tr.Headers;mt.Request=tr.Request;mt.Response=tr.Response;gc.exports=mt});var il=v(_());var Oe=v(z()),Dn=v(zn()),nl=v(rr()),al=v(Gn()),G=v(ee()),$e=v(_());var Zn=v(_()),qn=v(ee());var Vn;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update"})(Vn||(Vn={}));var Kn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Kn||(Kn={}));var fl=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},To=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},No=Symbol("registerInterval");function hl(e){var r;class o extends e{constructor(){super(...arguments),this[r]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[No]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[No]):this.dispatchEvent(new To)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return r=No,fl([(0,qn.state)()],o.prototype,"stateManager",void 0),o}var Lt=class extends hl(Zn.FtLitElementRedux){};var Qa=v(_());var Bo=globalThis,_r=Bo.trustedTypes,Yn=_r?_r.createPolicy("lit-html",{createHTML:e=>e}):void 0,ra="$lit$",rt=`lit$${Math.random().toFixed(9).slice(2)}$`,oa="?"+rt,yl=`<${oa}>`,St=document,Pr=()=>St.createComment(""),nr=e=>e===null||typeof e!="object"&&typeof e!="function",Uo=Array.isArray,ml=e=>Uo(e)||typeof e?.[Symbol.iterator]=="function",Lo=`[
3
- \f\r]`,or=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xn=/-->/g,Qn=/>/g,xt=RegExp(`>|${Lo}(?:([^\\s"'>=/]+)(${Lo}*=${Lo}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Jn=/'/g,ea=/"/g,na=/^(?:script|style|textarea|title)$/i,$o=e=>(r,...o)=>({_$litType$:e,strings:r,values:o}),aa=$o(1),ia=$o(2),sa=$o(3),ar=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),ta=new WeakMap,vt=St.createTreeWalker(St,129);function ca(e,r){if(!Uo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yn!==void 0?Yn.createHTML(r):r}var gl=(e,r)=>{let o=e.length-1,n=[],a,i=r===2?"<svg>":r===3?"<math>":"",c=or;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===or?m[1]==="!--"?c=Xn:m[1]!==void 0?c=Qn:m[2]!==void 0?(na.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=xt):m[3]!==void 0&&(c=xt):c===xt?m[0]===">"?(c=a??or,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?xt:m[3]==='"'?ea:Jn):c===ea||c===Jn?c=xt:c===Xn||c===Qn?c=or:(c=xt,a=void 0);let S=c===xt&&e[l+1].startsWith("/>")?" ":"";i+=c===or?p+yl:h>=0?(n.push(u),p.slice(0,h)+ra+p.slice(h)+rt+S):p+rt+(h===-2?l:S)}return[ca(e,i+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},ir=class e{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=r.length-1,p=this.parts,[u,m]=gl(r,o);if(this.el=e.createElement(u,n),vt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=vt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ra)){let g=m[c++],S=a.getAttribute(h).split(rt),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?_o:x[1]==="?"?Po:x[1]==="@"?ko:_t}),a.removeAttribute(h)}else h.startsWith(rt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(na.test(a.tagName)){let h=a.textContent.split(rt),g=h.length-1;if(g>0){a.textContent=_r?_r.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Pr()),vt.nextNode(),p.push({type:2,index:++i});a.append(h[g],Pr())}}}else if(a.nodeType===8)if(a.data===oa)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(rt,h+1))!==-1;)p.push({type:7,index:i}),h+=rt.length-1}i++}}static createElement(r,o){let n=St.createElement("template");return n.innerHTML=r,n}};function It(e,r,o=e,n){if(r===ar)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=nr(r)?void 0:r._$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&&(r=It(e,a._$AS(e,r.values),a,n)),r}var Io=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,a=(r?.creationScope??St).importNode(o,!0);vt.currentNode=a;let i=vt.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new kr(i,i.nextSibling,this,r):p.type===1?u=new p.ctor(i,p.name,p.strings,this,r):p.type===6&&(u=new Do(i,this,r)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(i=vt.nextNode(),c++)}return vt.currentNode=St,a}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},kr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=It(this,r,o),nr(r)?r===ne||r==null||r===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):r!==this._$AH&&r!==ar&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):ml(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==ne&&nr(this._$AH)?this._$AA.nextSibling.data=r:this.T(St.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,a=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=ir.createElement(ca(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Io(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(r){let o=ta.get(r.strings);return o===void 0&&ta.set(r.strings,o=new ir(r)),o}k(r){Uo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of r)a===o.length?o.push(n=new e(this.O(Pr()),this.O(Pr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,i){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=r,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=ne}_$AI(r,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)r=It(this,r,o,0),c=!nr(r)||r!==this._$AH&&r!==ar,c&&(this._$AH=r);else{let l=r,p,u;for(r=i[0],p=0;p<i.length-1;p++)u=It(this,l[n+p],o,p),u===ar&&(u=this._$AH[p]),c||=!nr(u)||u!==this._$AH[p],u===ne?r=ne:r!==ne&&(r+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(r)}j(r){r===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},_o=class extends _t{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===ne?void 0:r}},Po=class extends _t{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==ne)}},ko=class extends _t{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=It(this,r,o,0)??ne)===ar)return;let n=this._$AH,a=r===ne&&n!==ne||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,i=r!==ne&&(n===ne||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Do=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){It(this,r)}};var bl=Bo.litHtmlPolyfillSupport;bl?.(ir,kr),(Bo.litHtmlVersions??=[]).push("3.3.0");var da=Symbol.for(""),xl=e=>{if(e?.r===da)return e?._$litStatic$},Mo=e=>({_$litStatic$:e,r:da});var la=new Map,Wo=e=>(r,...o)=>{let n=o.length,a,i,c=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=r[u];u<n&&(i=o[u],(a=xl(i))!==void 0);)p+=a+r[++u],m=!0;u!==n&&l.push(i),c.push(p),u++}if(u===n&&c.push(r[n]),m){let h=c.join("$$lit$$");(r=la.get(h))===void 0&&(c.raw=c,la.set(h,r=c)),o=l}return e(r,...o)},zo=Wo(aa),qd=Wo(ia),Yd=Wo(sa);var Ho=v(ee()),Xa=v(_());var ot;(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"})(ot||(ot={}));var Ne=v(z()),w=v(_());var Ve=v(z(),1),nt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let i=l=>nt(l??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(r)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(r,o,n,a){let i=l=>n.get(l??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(r)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(r,o){let n=i=>r.fallbackVariable?r.fallbackVariable.get(i??r.defaultValue):nt(i??r.lastResortDefaultValue()),a=Ve.css`var(${nt(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>Ve.css`var(${nt(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.fallbackVariable?[r.fallbackVariable.name,...r.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},pa={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},ua={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},fa={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ha={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ya={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ma={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ga={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ba={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},xa={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},vl={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},va={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Sa={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Oa={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ca={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ea={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Aa={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},wa={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Na={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},La={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ia={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},_a={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ka={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Da={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Dr={display:pa,"title-1":ua,"title-2":fa,"title-3":ha,"body-1-regular":ya,"body-1-medium":ma,"body-1-semibold":ga,"body-2-regular":ba,"body-2-medium":xa,"body-2-medium-underline":vl,"body-2-semibold":va,"label-1-medium":Sa,"label-1-semibold":Oa,"label-1-bold":Ca,"label-2-medium":Ea,"label-2-semibold":Aa,"label-2-bold":wa,"caption-1-medium":Ra,"caption-1-semibold":Na,"caption-1-bold":Ta,"caption-2-medium":La,"caption-2-semibold":Ia,"caption-2-bold":_a,"caption-3-medium":Pa,"caption-3-semibold":ka,"caption-3-bold":Da};var d={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var hp={iconSize:t.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",s.spacing2)};var xp={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var Ep={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var Tp={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var kp={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Mp={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Gp={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",d.contentActionPrimary)};var qp={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var eu={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var au={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var lu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var hu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var xu={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Eu={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Tu={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var ku={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Mu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Gu={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var qu={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var ef={backgroundColor:t.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var af={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var pf={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var yf={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var xf={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Ef={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Tf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:t.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var kf={color:t.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var Mf={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var Gf={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var qf={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:t.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Br;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Br||(Br={}));var Pt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Pt||(Pt={}));var Ur=v(z());function Ba(e){let r=Dr[e];return Ur.css`
6
- .ft-typography--${(0,Ur.unsafeCSS)(e)} {
7
- font-family: ${r.fontFamily};
8
- font-size: ${r.fontSize};
9
- font-weight: ${r.fontWeight};
10
- letter-spacing: ${r.letterSpacing};
11
- line-height: ${r.lineHeight};
12
- text-transform: ${r.textCase};
13
- }
14
- `}var Ua=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),Ke=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),T={fontFamily:Ke,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")},kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ua),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Dt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ua),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Bt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Ut={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},$t={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Mt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},Wt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},zt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Ht={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},$a=Ne.css`
1
+ "use strict";(()=>{var ul=Object.create;var Hn=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var hl=Object.getOwnPropertyNames;var yl=Object.getPrototypeOf,ml=Object.prototype.hasOwnProperty;var tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hl(t))!ml.call(e,a)&&a!==o&&Hn(e,a,{get:()=>t[a],enumerable:!(n=fl(t,a))||n.enumerable});return e};var v=(e,t,o)=>(o=e!=null?ul(yl(e)):{},gl(t||!e||!e.__esModule?Hn(o,"default",{value:e,enumerable:!0}):o,e));var L=tt((Fd,zn)=>{zn.exports=ftGlobals.wcUtils});var H=tt((Gd,Fn)=>{Fn.exports=ftGlobals.lit});var jn=tt((jd,Gn)=>{Gn.exports=ftGlobals.litRepeat});var nr=tt((Vd,Vn)=>{Vn.exports=ftGlobals.litClassMap});var Zn=tt((Kd,Kn)=>{Kn.exports=ftGlobals.litStyleMap});var ee=tt((Zd,qn)=>{qn.exports=ftGlobals.litDecorators});var li=tt((Dy,ci)=>{ci.exports=ftGlobals.litUnsafeHTML});var Oc=tt((mt,Sc)=>{var yo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,mo=function(){function e(){this.fetch=!1,this.DOMException=yo.DOMException}return e.prototype=yo,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 b={next:function(){var _=y.shift();return{done:_===void 0,value:_}}};return a.iterable&&(b[Symbol.iterator]=function(){return b}),b}function h(y){this.map={},y instanceof h?y.forEach(function(b,_){this.append(_,b)},this):Array.isArray(y)?y.forEach(function(b){if(b.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+b.length);this.append(b[0],b[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(b){this.append(b,y[b])},this)}h.prototype.append=function(y,b){y=p(y),b=u(b);var _=this.map[y];this.map[y]=_?_+", "+b:b},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,b){this.map[p(y)]=u(b)},h.prototype.forEach=function(y,b){for(var _ in this.map)this.map.hasOwnProperty(_)&&y.call(b,this.map[_],_,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(b,_){y.push(_)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(b){y.push(b)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(b,_){y.push([_,b])}),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(b,_){y.onload=function(){b(y.result)},y.onerror=function(){_(y.error)}})}function x(y){var b=new FileReader,_=S(b);return b.readAsArrayBuffer(y),_}function O(y){var b=new FileReader,_=S(b),z=/charset=([A-Za-z0-9_-]+)/.exec(y.type),q=z?z[1]:"utf-8";return b.readAsText(y,q),_}function I(y){for(var b=new Uint8Array(y),_=new Array(b.length),z=0;z<b.length;z++)_[z]=String.fromCharCode(b[z]);return _.join("")}function N(y){if(y.slice)return y.slice(0);var b=new Uint8Array(y.byteLength);return b.set(new Uint8Array(y)),b.buffer}function R(){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=N(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=N(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(x);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(I(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(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(y){var b=y.toUpperCase();return k.indexOf(b)>-1?b:y}function U(y,b){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');b=b||{};var _=b.body;if(y instanceof U){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,b.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=b.credentials||this.credentials||"same-origin",(b.headers||!this.headers)&&(this.headers=new h(b.headers)),this.method=B(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.signal=b.signal||this.signal||function(){if("AbortController"in n){var $=new AbortController;return $.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")&&(b.cache==="no-store"||b.cache==="no-cache")){var z=/([?&])_=[^&]*/;if(z.test(this.url))this.url=this.url.replace(z,"$1_="+new Date().getTime());else{var q=/\?/;this.url+=(q.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function ye(y){var b=new FormData;return y.trim().split("&").forEach(function(_){if(_){var z=_.split("="),q=z.shift().replace(/\+/g," "),$=z.join("=").replace(/\+/g," ");b.append(decodeURIComponent(q),decodeURIComponent($))}}),b}function Me(y){var b=new h,_=y.replace(/\r?\n[\t ]+/g," ");return _.split("\r").map(function(z){return z.indexOf(`
2
+ `)===0?z.substr(1,z.length):z}).forEach(function(z){var q=z.split(":"),$=q.shift().trim();if($){var Pr=q.join(":").trim();try{b.append($,Pr)}catch(Io){console.warn("Response "+Io.message)}}}),b}R.call(U.prototype);function ue(y,b){if(!(this instanceof ue))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(b||(b={}),this.type="default",this.status=b.status===void 0?200:b.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=b.statusText===void 0?"":""+b.statusText,this.headers=new h(b.headers),this.url=b.url||"",this._initBody(y)}R.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ue.error=function(){var y=new ue(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var We=[301,302,303,307,308];ue.redirect=function(y,b){if(We.indexOf(b)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:b,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(b,_){this.message=b,this.name=_;var z=Error(b);this.stack=z.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ie(y,b){return new Promise(function(_,z){var q=new U(y,b);if(q.signal&&q.signal.aborted)return z(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Pr(){$.abort()}$.onload=function(){var se={statusText:$.statusText,headers:Me($.getAllResponseHeaders()||"")};q.url.indexOf("file://")===0&&($.status<200||$.status>599)?se.status=200:se.status=$.status,se.url="responseURL"in $?$.responseURL:se.headers.get("X-Request-URL");var xt="response"in $?$.response:$.responseText;setTimeout(function(){_(new ue(xt,se))},0)},$.onerror=function(){setTimeout(function(){z(new TypeError("Network request failed"))},0)},$.ontimeout=function(){setTimeout(function(){z(new TypeError("Network request timed out"))},0)},$.onabort=function(){setTimeout(function(){z(new o.DOMException("Aborted","AbortError"))},0)};function Io(se){try{return se===""&&n.location.href?n.location.href:se}catch{return se}}if($.open(q.method,Io(q.url),!0),q.credentials==="include"?$.withCredentials=!0:q.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&(a.blob?$.responseType="blob":a.arrayBuffer&&($.responseType="arraybuffer")),b&&typeof b.headers=="object"&&!(b.headers instanceof h||n.Headers&&b.headers instanceof n.Headers)){var Wn=[];Object.getOwnPropertyNames(b.headers).forEach(function(se){Wn.push(p(se)),$.setRequestHeader(se,u(b.headers[se]))}),q.headers.forEach(function(se,xt){Wn.indexOf(xt)===-1&&$.setRequestHeader(xt,se)})}else q.headers.forEach(function(se,xt){$.setRequestHeader(xt,se)});q.signal&&(q.signal.addEventListener("abort",Pr),$.onreadystatechange=function(){$.readyState===4&&q.signal.removeEventListener("abort",Pr)}),$.send(typeof q._bodyInit>"u"?null:q._bodyInit)})}return ie.polyfill=!0,n.fetch||(n.fetch=ie,n.Headers=h,n.Request=U,n.Response=ue),o.Headers=h,o.Request=U,o.Response=ue,o.fetch=ie,o}({})})(mo);mo.fetch.ponyfill=!0;delete mo.fetch.polyfill;var or=yo.fetch?yo:mo;mt=or.fetch;mt.default=or.fetch;mt.fetch=or.fetch;mt.Headers=or.Headers;mt.Request=or.Request;mt.Response=or.Response;Sc.exports=mt});var pl=v(L());var Oe=v(H()),Mn=v(jn()),ll=v(nr()),dl=v(Zn()),G=v(ee()),$e=v(L());var Qn=v(L()),Jn=v(ee());var Yn;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update"})(Yn||(Yn={}));var Xn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Xn||(Xn={}));var bl=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},_o=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Lo=Symbol("registerInterval");function xl(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Lo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Lo]):this.dispatchEvent(new _o)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Lo,bl([(0,Jn.state)()],o.prototype,"stateManager",void 0),o}var _t=class extends xl(Qn.FtLitElementRedux){};var ri=v(L());var Mo=globalThis,kr=Mo.trustedTypes,ea=kr?kr.createPolicy("lit-html",{createHTML:e=>e}):void 0,ia="$lit$",rt=`lit$${Math.random().toFixed(9).slice(2)}$`,sa="?"+rt,vl=`<${sa}>`,Ot=document,Dr=()=>Ot.createComment(""),ir=e=>e===null||typeof e!="object"&&typeof e!="function",Wo=Array.isArray,Sl=e=>Wo(e)||typeof e?.[Symbol.iterator]=="function",Po=`[
3
+ \f\r]`,ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ta=/-->/g,ra=/>/g,vt=RegExp(`>|${Po}(?:([^\\s"'>=/]+)(${Po}*=${Po}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),oa=/'/g,na=/"/g,ca=/^(?:script|style|textarea|title)$/i,Ho=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),la=Ho(1),da=Ho(2),pa=Ho(3),sr=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),aa=new WeakMap,St=Ot.createTreeWalker(Ot,129);function ua(e,t){if(!Wo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ea!==void 0?ea.createHTML(t):t}var Ol=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=ar;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===ar?m[1]==="!--"?c=ta:m[1]!==void 0?c=ra:m[2]!==void 0?(ca.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=vt):m[3]!==void 0&&(c=vt):c===vt?m[0]===">"?(c=a??ar,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?vt:m[3]==='"'?na:oa):c===na||c===oa?c=vt:c===ta||c===ra?c=ar:(c=vt,a=void 0);let S=c===vt&&e[l+1].startsWith("/>")?" ":"";i+=c===ar?p+vl:h>=0?(n.push(u),p.slice(0,h)+ia+p.slice(h)+rt+S):p+rt+(h===-2?l:S)}return[ua(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},cr=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]=Ol(t,o);if(this.el=e.createElement(u,n),St.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=St.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ia)){let g=m[c++],S=a.getAttribute(h).split(rt),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?Do:x[1]==="?"?Bo:x[1]==="@"?Uo:kt}),a.removeAttribute(h)}else h.startsWith(rt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(ca.test(a.tagName)){let h=a.textContent.split(rt),g=h.length-1;if(g>0){a.textContent=kr?kr.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Dr()),St.nextNode(),p.push({type:2,index:++i});a.append(h[g],Dr())}}}else if(a.nodeType===8)if(a.data===sa)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(rt,h+1))!==-1;)p.push({type:7,index:i}),h+=rt.length-1}i++}}static createElement(t,o){let n=Ot.createElement("template");return n.innerHTML=t,n}};function Pt(e,t,o=e,n){if(t===sr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=ir(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=Pt(e,a._$AS(e,t.values),a,n)),t}var ko=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??Ot).importNode(o,!0);St.currentNode=a;let i=St.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new Br(i,i.nextSibling,this,t):p.type===1?u=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(u=new $o(i,this,t)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(i=St.nextNode(),c++)}return St.currentNode=Ot,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++}},Br=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=ne,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=Pt(this,t,o),ir(t)?t===ne||t==null||t===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):t!==this._$AH&&t!==sr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Sl(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!==ne&&ir(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.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=cr.createElement(ua(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new ko(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=aa.get(t.strings);return o===void 0&&aa.set(t.strings,o=new cr(t)),o}k(t){Wo(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(Dr()),this.O(Dr()),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))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=ne,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=ne}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Pt(this,t,o,0),c=!ir(t)||t!==this._$AH&&t!==sr,c&&(this._$AH=t);else{let l=t,p,u;for(t=i[0],p=0;p<i.length-1;p++)u=Pt(this,l[n+p],o,p),u===sr&&(u=this._$AH[p]),c||=!ir(u)||u!==this._$AH[p],u===ne?t=ne:t!==ne&&(t+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(t)}j(t){t===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Do=class extends kt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ne?void 0:t}},Bo=class extends kt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==ne)}},Uo=class extends kt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Pt(this,t,o,0)??ne)===sr)return;let n=this._$AH,a=t===ne&&n!==ne||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==ne&&(n===ne||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)}},$o=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){Pt(this,t)}};var Cl=Mo.litHtmlPolyfillSupport;Cl?.(cr,Br),(Mo.litHtmlVersions??=[]).push("3.3.0");var ha=Symbol.for(""),El=e=>{if(e?.r===ha)return e?._$litStatic$},zo=e=>({_$litStatic$:e,r:ha});var fa=new Map,Fo=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=El(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=fa.get(h))===void 0&&(c.raw=c,fa.set(h,t=c)),o=l}return e(t,...o)},Go=Fo(la),ep=Fo(da),tp=Fo(pa);var jo=v(ee()),ti=v(L());var ot;(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"})(ot||(ot={}));var Re=v(H()),A=v(L());var Ve=v(H(),1),nt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=l=>nt(l??a),c=Ve.css`var(${nt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(t)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=l=>n.get(l??a),c=Ve.css`var(${nt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(t)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):nt(i??t.lastResortDefaultValue()),a=Ve.css`var(${nt(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.get=i=>Ve.css`var(${nt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};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)")},ya={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ma={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ga={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ba={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},xa={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},va={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Sa={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Oa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ea={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Na={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ur={display:ya,"title-1":ma,"title-2":ga,"title-3":ba,"body-1-regular":xa,"body-1-medium":va,"body-1-semibold":Sa,"body-2-regular":Oa,"body-2-medium":Ca,"body-2-medium-underline":wl,"body-2-semibold":Ea,"label-1-medium":wa,"label-1-semibold":Aa,"label-1-bold":Na,"label-2-medium":Ra,"label-2-semibold":Ta,"label-2-bold":Ia,"caption-1-medium":La,"caption-1-semibold":_a,"caption-1-bold":Pa,"caption-2-medium":ka,"caption-2-semibold":Da,"caption-2-bold":Ba,"caption-3-medium":Ua,"caption-3-semibold":$a,"caption-3-bold":Ma};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 xp={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 Ep={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 Tp={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 kp={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 Mp={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 Gp={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 qp={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 eu={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 au={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 du={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 hu={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var xu={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 Eu={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 Tu={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 ku={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),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.borderRadiusM),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),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 Mu={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.borderRadiusM)};var Gu={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 qu={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),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.borderRadiusM),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 ef={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.borderRadiusM)};var af={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),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",s.spacing3),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")};var pf={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 mf={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 vf={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 Ef={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 Tf={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 kf={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 Mf={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"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var Gf={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 qf={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 eh={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 $r;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})($r||($r={}));var Dt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Dt||(Dt={}));var Mr=v(H());function Wa(e){let t=Ur[e];return Mr.css`
6
+ .ft-typography--${(0,Mr.unsafeCSS)(e)} {
7
+ font-family: ${t.fontFamily};
8
+ font-size: ${t.fontSize};
9
+ font-weight: ${t.fontWeight};
10
+ letter-spacing: ${t.letterSpacing};
11
+ line-height: ${t.lineHeight};
12
+ text-transform: ${t.textCase};
13
+ }
14
+ `}var Ha=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ke=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),T={fontFamily:Ke,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Bt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ha),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Ut={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ha),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},$t={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Mt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},Wt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Ht={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},zt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Ft={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Gt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},He={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ke),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},za=Re.css`
15
15
  .ft-typography--title {
16
- font-family: ${kt.fontFamily};
17
- font-size: ${kt.fontSize};
18
- font-weight: ${kt.fontWeight};
19
- letter-spacing: ${kt.letterSpacing};
20
- line-height: ${kt.lineHeight};
21
- text-transform: ${kt.textTransform};
22
- }
23
- `,Ma=Ne.css`
24
- .ft-typography--title-dense {
25
- font-family: ${Dt.fontFamily};
26
- font-size: ${Dt.fontSize};
27
- font-weight: ${Dt.fontWeight};
28
- letter-spacing: ${Dt.letterSpacing};
29
- line-height: ${Dt.lineHeight};
30
- text-transform: ${Dt.textTransform};
31
- }
32
- `,Wa=Ne.css`
33
- .ft-typography--subtitle1 {
34
16
  font-family: ${Bt.fontFamily};
35
17
  font-size: ${Bt.fontSize};
36
18
  font-weight: ${Bt.fontWeight};
@@ -38,8 +20,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
38
20
  line-height: ${Bt.lineHeight};
39
21
  text-transform: ${Bt.textTransform};
40
22
  }
41
- `,za=Ne.css`
42
- .ft-typography--subtitle2 {
23
+ `,Fa=Re.css`
24
+ .ft-typography--title-dense {
43
25
  font-family: ${Ut.fontFamily};
44
26
  font-size: ${Ut.fontSize};
45
27
  font-weight: ${Ut.fontWeight};
@@ -47,9 +29,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
47
29
  line-height: ${Ut.lineHeight};
48
30
  text-transform: ${Ut.textTransform};
49
31
  }
50
-
51
- `,Ha=Ne.css`
52
- .ft-typography--body1 {
32
+ `,Ga=Re.css`
33
+ .ft-typography--subtitle1 {
53
34
  font-family: ${$t.fontFamily};
54
35
  font-size: ${$t.fontSize};
55
36
  font-weight: ${$t.fontWeight};
@@ -57,8 +38,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
57
38
  line-height: ${$t.lineHeight};
58
39
  text-transform: ${$t.textTransform};
59
40
  }
60
- `,Fa=Ne.css`
61
- .ft-typography--body2 {
41
+ `,ja=Re.css`
42
+ .ft-typography--subtitle2 {
62
43
  font-family: ${Mt.fontFamily};
63
44
  font-size: ${Mt.fontSize};
64
45
  font-weight: ${Mt.fontWeight};
@@ -66,8 +47,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
66
47
  line-height: ${Mt.lineHeight};
67
48
  text-transform: ${Mt.textTransform};
68
49
  }
69
- `,Ga=Ne.css`
70
- .ft-typography--caption {
50
+
51
+ `,Va=Re.css`
52
+ .ft-typography--body1 {
71
53
  font-family: ${Wt.fontFamily};
72
54
  font-size: ${Wt.fontSize};
73
55
  font-weight: ${Wt.fontWeight};
@@ -75,8 +57,17 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
75
57
  line-height: ${Wt.lineHeight};
76
58
  text-transform: ${Wt.textTransform};
77
59
  }
78
- `,ja=Ne.css`
79
- .ft-typography--breadcrumb {
60
+ `,Ka=Re.css`
61
+ .ft-typography--body2 {
62
+ font-family: ${Ht.fontFamily};
63
+ font-size: ${Ht.fontSize};
64
+ font-weight: ${Ht.fontWeight};
65
+ letter-spacing: ${Ht.letterSpacing};
66
+ line-height: ${Ht.lineHeight};
67
+ text-transform: ${Ht.textTransform};
68
+ }
69
+ `,Za=Re.css`
70
+ .ft-typography--caption {
80
71
  font-family: ${zt.fontFamily};
81
72
  font-size: ${zt.fontSize};
82
73
  font-weight: ${zt.fontWeight};
@@ -84,56 +75,65 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
84
75
  line-height: ${zt.lineHeight};
85
76
  text-transform: ${zt.textTransform};
86
77
  }
87
- `,Va=Ne.css`
78
+ `,qa=Re.css`
79
+ .ft-typography--breadcrumb {
80
+ font-family: ${Ft.fontFamily};
81
+ font-size: ${Ft.fontSize};
82
+ font-weight: ${Ft.fontWeight};
83
+ letter-spacing: ${Ft.letterSpacing};
84
+ line-height: ${Ft.lineHeight};
85
+ text-transform: ${Ft.textTransform};
86
+ }
87
+ `,Ya=Re.css`
88
88
  .ft-typography--overline {
89
- font-family: ${Ht.fontFamily};
90
- font-size: ${Ht.fontSize};
91
- font-weight: ${Ht.fontWeight};
92
- letter-spacing: ${Ht.letterSpacing};
93
- line-height: ${Ht.lineHeight};
94
- text-transform: ${Ht.textTransform};
95
- }
96
- `,Ka=Ne.css`
89
+ font-family: ${Gt.fontFamily};
90
+ font-size: ${Gt.fontSize};
91
+ font-weight: ${Gt.fontWeight};
92
+ letter-spacing: ${Gt.letterSpacing};
93
+ line-height: ${Gt.lineHeight};
94
+ text-transform: ${Gt.textTransform};
95
+ }
96
+ `,Xa=Re.css`
97
97
  .ft-typography--button {
98
- font-family: ${ze.fontFamily};
99
- font-size: ${ze.fontSize};
100
- font-weight: ${ze.fontWeight};
101
- letter-spacing: ${ze.letterSpacing};
102
- line-height: ${ze.lineHeight};
103
- text-transform: ${ze.textTransform};
104
- }
105
- `,Za=Ne.css`
98
+ font-family: ${He.fontFamily};
99
+ font-size: ${He.fontSize};
100
+ font-weight: ${He.fontWeight};
101
+ letter-spacing: ${He.letterSpacing};
102
+ line-height: ${He.lineHeight};
103
+ text-transform: ${He.textTransform};
104
+ }
105
+ `,Qa=Re.css`
106
106
  .ft-typography {
107
107
  vertical-align: inherit;
108
108
  }
109
- `,qa=[Object.keys(Dr).map(e=>Ba(e))];var Ya=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ce=class extends Xa.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?zo`
110
- <${Mo(this.element)}
109
+ `,Ja=[Object.keys(Ur).map(e=>Wa(e))];var ei=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},Ce=class extends ti.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?Go`
110
+ <${zo(this.element)}
111
111
  part="text"
112
112
  class="ft-typography ft-typography--${this.variant}">
113
113
  <slot></slot>
114
- </${Mo(this.element)}>
115
- `:zo`
114
+ </${zo(this.element)}>
115
+ `:Go`
116
116
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
117
- `}};Ce.styles=[$a,Ma,Wa,za,Ha,Fa,Ga,ja,Va,Ka,Za,...qa];Ya([(0,Ho.property)()],Ce.prototype,"element",void 0);Ya([(0,Ho.property)()],Ce.prototype,"variant",void 0);(0,Qa.customElement)("ft-typography")(Ce);var oi=v(_());var ti=v(z()),sr=v(ee()),ri=v(rr());var $r=v(_()),Ja=v(z()),Sl={outlineColor:$r.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",$r.designSystemVariables.colorPrimary)},ei=Ja.css`
117
+ `}};Ce.styles=[za,Fa,Ga,ja,Va,Ka,Za,qa,Ya,Xa,Qa,...Ja];ei([(0,jo.property)()],Ce.prototype,"element",void 0);ei([(0,jo.property)()],Ce.prototype,"variant",void 0);(0,ri.customElement)("ft-typography")(Ce);var si=v(L());var ai=v(H()),lr=v(ee()),ii=v(nr());var Wr=v(L()),oi=v(H()),Al={outlineColor:Wr.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",Wr.designSystemVariables.colorPrimary)},ni=oi.css`
118
118
  :host {
119
119
  display: contents;
120
120
  }
121
121
 
122
122
  a:focus {
123
- outline-color: ${Sl.outlineColor};
123
+ outline-color: ${Al.outlineColor};
124
124
  }
125
125
 
126
126
  .ft-reader-link--remove-style {
127
127
  text-decoration: none;
128
128
  color: inherit;
129
129
  }
130
- `;var Mr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Le=class extends Lt{constructor(){super(...arguments),this.removeStyle=!1}render(){var r;let o=(0,ri.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ti.html`
130
+ `;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},Ie=class extends _t{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=(0,ii.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ai.html`
131
131
  <a class=${o}
132
- href="${(r=this.service)===null||r===void 0?void 0:r.getLink(this.tocId,this.pageNumber,this.section)}"
132
+ href="${(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
133
133
  @click=${n=>this.onLinkClick(n)}>
134
134
  <slot></slot>
135
135
  </a>
136
- `}onLinkClick(r){var o;!r.ctrlKey&&!r.metaKey&&(r.stopPropagation(),r.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Le.styles=ei;Mr([(0,sr.property)()],Le.prototype,"tocId",void 0);Mr([(0,sr.property)()],Le.prototype,"section",void 0);Mr([(0,sr.property)({type:Number})],Le.prototype,"pageNumber",void 0);Mr([(0,sr.property)({type:Boolean})],Le.prototype,"removeStyle",void 0);(0,oi.customElement)("ft-reader-internal-link")(Le);var di=v(_());var cr=v(z()),at=v(ee()),ci=v(_()),li=v(ai());var Wr;(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;"})(Wr||(Wr={}));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 Iy=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 _y={[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 ii=v(z()),Ie=v(_()),fe={size:Ie.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},si=[ii.css`
136
+ `}onLinkClick(t){var o;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Ie.styles=ni;Hr([(0,lr.property)()],Ie.prototype,"tocId",void 0);Hr([(0,lr.property)()],Ie.prototype,"section",void 0);Hr([(0,lr.property)({type:Number})],Ie.prototype,"pageNumber",void 0);Hr([(0,lr.property)({type:Boolean})],Ie.prototype,"removeStyle",void 0);(0,si.customElement)("ft-reader-internal-link")(Ie);var hi=v(L());var dr=v(H()),at=v(ee()),ui=v(L()),fi=v(li());var zr;(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;"})(zr||(zr={}));var w;(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;"})(w||(w={}));var By=new Map([...["abw"].map(e=>[e,w.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,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.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,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.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,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var Uy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var di=v(H()),Le=v(L()),fe={size:Le.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Le.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Le.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Le.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},pi=[di.css`
137
137
  :host, i.ft-icon {
138
138
  display: inline-flex;
139
139
  align-items: center;
@@ -181,12 +181,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
181
181
  .ft-icon--material {
182
182
  font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
183
183
  }
184
- `,Ie.noTextSelect];var Ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ee||(Ee={}));var lr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},he=class extends ci.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=cr.nothing}render(){let r=this.variant&&Object.values(Ee).includes(this.variant)?this.variant:Ee.fluid_topics,o=r!==Ee.material||!!this.value;return cr.html`
185
- <i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
186
- ${(0,li.unsafeHTML)(this.resolvedIcon)}
184
+ `,Le.noTextSelect];var Ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ee||(Ee={}));var pr=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},he=class extends ui.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=dr.nothing}render(){let t=this.variant&&Object.values(Ee).includes(this.variant)?this.variant:Ee.fluid_topics,o=t!==Ee.material||!!this.value;return dr.html`
185
+ <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
186
+ ${(0,fi.unsafeHTML)(this.resolvedIcon)}
187
187
  <slot ?hidden=${o}></slot>
188
188
  </i>
189
- `}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case Ee.file_format:this.resolvedIcon=(r=A[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Ee.material:this.resolvedIcon=this.value||cr.nothing;break;default:this.resolvedIcon=(o=Wr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=si;lr([(0,at.property)()],he.prototype,"variant",void 0);lr([(0,at.property)()],he.prototype,"value",void 0);lr([(0,at.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);lr([(0,at.state)()],he.prototype,"resolvedIcon",void 0);lr([(0,at.query)("slot")],he.prototype,"slottedContent",void 0);(0,di.customElement)("ft-icon")(he);var rn=v(_());var gr=v(ee()),as=v(_());var Oi=v(z()),D=v(_());var mi=v(z()),J=v(_()),pi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorContent),E={color:pi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",pi),opacityContentOnSurfacePressed:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:J.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ui=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorPrimary),fi={color:ui,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",ui)},hi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorSecondary),yi={color:hi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",hi)},gi=mi.css`
189
+ `}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 Ee.file_format:this.resolvedIcon=(t=w[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ee.material:this.resolvedIcon=this.value||dr.nothing;break;default:this.resolvedIcon=(o=zr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=pi;pr([(0,at.property)()],he.prototype,"variant",void 0);pr([(0,at.property)()],he.prototype,"value",void 0);pr([(0,at.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);pr([(0,at.state)()],he.prototype,"resolvedIcon",void 0);pr([(0,at.query)("slot")],he.prototype,"slottedContent",void 0);(0,hi.customElement)("ft-icon")(he);var an=v(L());var xr=v(ee()),ls=v(L());var Ai=v(H()),D=v(L());var vi=v(H()),J=v(L()),yi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorContent),E={color:yi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",yi),opacityContentOnSurfacePressed:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:J.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},mi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorPrimary),gi={color:mi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",mi)},bi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorSecondary),xi={color:bi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",bi)},Si=vi.css`
190
190
  :host {
191
191
  display: contents;
192
192
  }
@@ -241,19 +241,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
241
241
  }
242
242
 
243
243
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
244
- background-color: ${yi.backgroundColor};
244
+ background-color: ${xi.backgroundColor};
245
245
  }
246
246
 
247
247
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
248
- background-color: ${yi.color};
248
+ background-color: ${xi.color};
249
249
  }
250
250
 
251
251
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
252
- background-color: ${fi.backgroundColor};
252
+ background-color: ${gi.backgroundColor};
253
253
  }
254
254
 
255
255
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
256
- background-color: ${fi.color};
256
+ background-color: ${gi.color};
257
257
  }
258
258
 
259
259
  .ft-ripple .ft-ripple--background {
@@ -298,7 +298,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
298
298
  opacity: ${E.opacityContentOnSurfacePressed};
299
299
  transform: translate(-50%, -50%) scale(1);
300
300
  }
301
- `;var bi=v(z()),dr=v(_()),j={color:dr.FtCssVariableFactory.extend("--ft-loader-color","",dr.designSystemVariables.colorPrimary),size:dr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xi=bi.css`
301
+ `;var Oi=v(H()),ur=v(L()),j={color:ur.FtCssVariableFactory.extend("--ft-loader-color","",ur.designSystemVariables.colorPrimary),size:ur.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ci=Oi.css`
302
302
  :host {
303
303
  line-height: 0;
304
304
  }
@@ -367,7 +367,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
367
367
  transform: translate(calc(0.35 * ${j.size}), 0);
368
368
  }
369
369
  }
370
- `;var vi=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),V={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","",ze.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")},Si=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Fo={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Si,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Si)},He={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")},Ci=[Oi.css`
370
+ `;var Ei=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),V={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Ei,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",He.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ei),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")},wi=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Vo={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:wi,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",wi)},ze={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")},Ni=[Ai.css`
371
371
  :host {
372
372
  display: inline-block;
373
373
  max-width: 100%;
@@ -426,13 +426,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
426
426
  }
427
427
 
428
428
  .ft-button.ft-button--dense {
429
- padding: ${He.verticalPadding} ${He.horizontalPadding};
430
- border-radius: ${He.borderRadius};
431
- gap: ${He.iconPadding};
429
+ padding: ${ze.verticalPadding} ${ze.horizontalPadding};
430
+ border-radius: ${ze.borderRadius};
431
+ gap: ${ze.iconPadding};
432
432
  }
433
433
 
434
434
  .ft-button.ft-button--dense.ft-button--outlined {
435
- padding: calc(${He.verticalPadding} - 1px) calc(${He.horizontalPadding} - 1px);
435
+ padding: calc(${ze.verticalPadding} - 1px) calc(${ze.horizontalPadding} - 1px);
436
436
  }
437
437
 
438
438
  .ft-button:not([disabled]):hover {
@@ -444,7 +444,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
444
444
  }
445
445
 
446
446
  .ft-button--round.ft-button--dense {
447
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${He.verticalPadding});
447
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ze.verticalPadding});
448
448
  }
449
449
 
450
450
  .ft-button[disabled] {
@@ -453,9 +453,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
453
453
  }
454
454
 
455
455
  .ft-button.ft-button--primary {
456
- background-color: ${Fo.backgroundColor};
457
- --ft-button-internal-color: ${Fo.color};
458
- ${(0,D.setVariable)(E.color,Fo.rippleColor)};
456
+ background-color: ${Vo.backgroundColor};
457
+ --ft-button-internal-color: ${Vo.color};
458
+ ${(0,D.setVariable)(E.color,Vo.rippleColor)};
459
459
  }
460
460
 
461
461
  .ft-button:focus {
@@ -469,12 +469,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
469
469
  text-overflow: ellipsis;
470
470
  display: block;
471
471
  margin: 0 ${V.iconPadding};
472
- ${(0,D.setVariable)(ze.fontSize,"1em")};
473
- ${(0,D.setVariable)(ze.lineHeight,"var(--ft-button-internal-line-height)")};
472
+ ${(0,D.setVariable)(He.fontSize,"1em")};
473
+ ${(0,D.setVariable)(He.lineHeight,"var(--ft-button-internal-line-height)")};
474
474
  }
475
475
 
476
476
  .ft-button--dense .ft-button--label {
477
- margin: 0 ${He.iconPadding};
477
+ margin: 0 ${ze.iconPadding};
478
478
  }
479
479
 
480
480
  .ft-button--label[hidden] {
@@ -492,8 +492,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
492
492
  }
493
493
 
494
494
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
495
- margin: 0 calc(${He.horizontalPadding} * -1);
496
- padding: 0 ${He.verticalPadding};
495
+ margin: 0 calc(${ze.horizontalPadding} * -1);
496
+ padding: 0 ${ze.verticalPadding};
497
497
  }
498
498
 
499
499
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -504,18 +504,18 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
504
504
  ${(0,D.setVariable)(j.size,V.iconSize)};
505
505
  ${(0,D.setVariable)(j.color,"var(--ft-button-internal-color)")};
506
506
  }
507
- `,D.noTextSelect];var ct=v(_());var wi=v(_());var Ei=v(z()),ce=v(ee()),Ai=v(rr()),pr=v(_());var me=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Y=class extends pr.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 pr.Debouncer(1e3),this.onTransitionStart=r=>{r.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=r=>{r.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new pr.Debouncer(10),this.moveRipple=r=>{var o,n;let{x:a,y:i}=this.getCoordinates(r),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=r=>{this.moveRipple(r),this.pressed=!this.isIgnored(r)},this.endPress=()=>{this.pressed=!1},this.startHover=r=>{this.hovered=!this.isIgnored(r)},this.endHover=()=>{this.hovered=!1},this.startFocus=r=>{this.focused=this.isFocusVisible(r?.target)&&!this.isIgnored(r)},this.endFocus=()=>{this.focused=!1}}render(){let r={"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 Ei.html`
507
+ `,D.noTextSelect];var ct=v(L());var Ii=v(L());var Ri=v(H()),ce=v(ee()),Ti=v(nr()),fr=v(L());var me=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},Y=class extends fr.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 fr.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 fr.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 Ri.html`
508
508
  <style>
509
509
  .ft-ripple .ft-ripple--effect {
510
510
  left: ${this.originX}px;
511
511
  top: ${this.originY}px;
512
512
  }
513
513
  </style>
514
- <div class="${(0,Ai.classMap)(r)}">
514
+ <div class="${(0,Ti.classMap)(t)}">
515
515
  <div class="ft-ripple--background"></div>
516
516
  <div class="ft-ripple--effect"></div>
517
517
  </div>
518
- `}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.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 r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var r;!((r=this.target)===null||r===void 0)&&r.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.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};r.addEventListener("mouseover",this.startHover,c),r.addEventListener("mousemove",this.moveRipple,c),r.addEventListener("mouseleave",this.endHover,c),r.addEventListener("mousedown",n,c),r.addEventListener("touchstart",a,c),r.addEventListener("touchmove",this.moveRipple,c),r.addEventListener("keydown",i,c),r.addEventListener("focus",this.startFocus,c),r.addEventListener("blur",this.endFocus,c),r.addEventListener("focusin",this.startFocus,c),r.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,c),r.removeEventListener("mousemove",this.moveRipple,c),r.removeEventListener("mouseleave",this.endHover,c),r.removeEventListener("mousedown",n,c),r.removeEventListener("touchstart",a,c),r.removeEventListener("touchmove",this.moveRipple,c),r.removeEventListener("keydown",i,c),r.removeEventListener("focus",this.startFocus,c),r.removeEventListener("blur",this.endFocus,c),r.removeEventListener("focusin",this.startFocus,c),r.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,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(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=gi;me([(0,ce.property)({type:Boolean})],Y.prototype,"primary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"secondary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"unbounded",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"activated",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"selected",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"disabled",void 0);me([(0,ce.state)()],Y.prototype,"hovered",void 0);me([(0,ce.state)()],Y.prototype,"focused",void 0);me([(0,ce.state)()],Y.prototype,"pressed",void 0);me([(0,ce.state)()],Y.prototype,"rippling",void 0);me([(0,ce.state)()],Y.prototype,"originX",void 0);me([(0,ce.state)()],Y.prototype,"originY",void 0);me([(0,ce.query)(".ft-ripple")],Y.prototype,"ripple",void 0);me([(0,ce.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);(0,wi.customElement)("ft-ripple")(Y);var ts=v(_());var es=v(z()),te=v(ee()),mr=v(_());var Ri=v(z()),Ze=v(_()),Ft={distance:Ze.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ze.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ze.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ze.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ze.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ni=Ri.css`
518
+ `}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()}};Y.elementDefinitions={};Y.styles=Si;me([(0,ce.property)({type:Boolean})],Y.prototype,"primary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"secondary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"unbounded",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"activated",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"selected",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"disabled",void 0);me([(0,ce.state)()],Y.prototype,"hovered",void 0);me([(0,ce.state)()],Y.prototype,"focused",void 0);me([(0,ce.state)()],Y.prototype,"pressed",void 0);me([(0,ce.state)()],Y.prototype,"rippling",void 0);me([(0,ce.state)()],Y.prototype,"originX",void 0);me([(0,ce.state)()],Y.prototype,"originY",void 0);me([(0,ce.query)(".ft-ripple")],Y.prototype,"ripple",void 0);me([(0,ce.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);(0,Ii.customElement)("ft-ripple")(Y);var as=v(L());var ns=v(H()),te=v(ee()),br=v(L());var Li=v(H()),Ze=v(L()),jt={distance:Ze.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ze.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ze.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ze.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ze.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},_i=Li.css`
519
519
  .ft-tooltip--container {
520
520
  display: block;
521
521
  }
@@ -530,21 +530,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
530
530
  box-sizing: border-box;
531
531
  overflow: hidden;
532
532
  width: max-content;
533
- max-width: ${Ft.maxWidth};
533
+ max-width: ${jt.maxWidth};
534
534
  text-align: center;
535
- padding: ${Ft.distance};
536
- z-index: ${Ft.zIndex};
535
+ padding: ${jt.distance};
536
+ z-index: ${jt.zIndex};
537
537
  }
538
538
 
539
539
  .ft-tooltip--content {
540
540
  padding: 4px 8px;
541
- border-radius: ${Ft.borderRadiusS};
542
- background-color: ${Ft.backgroundColor};
543
- color: ${Ft.color};
541
+ border-radius: ${jt.borderRadiusS};
542
+ background-color: ${jt.backgroundColor};
543
+ color: ${jt.color};
544
544
  position: relative;
545
545
  word-break: break-word;
546
546
  }
547
- `;var Li=["top","right","bottom","left"],Ti=["start","end"],jo=Li.reduce((e,r)=>e.concat(r,r+"-"+Ti[0],r+"-"+Ti[1]),[]),Ii=Math.min,_i=Math.max;var Ol={left:"right",right:"left",bottom:"top",top:"bottom"},Cl={start:"end",end:"start"};function Vo(e,r,o){return _i(e,Ii(r,o))}function zr(e,r){return typeof e=="function"?e(r):e}function Gt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Ko(e){return e==="x"?"y":"x"}function Zo(e){return e==="y"?"height":"width"}function Hr(e){return["top","bottom"].includes(Gt(e))?"y":"x"}function qo(e){return Ko(Hr(e))}function Pi(e,r,o){o===void 0&&(o=!1);let n=it(e),a=qo(e),i=Zo(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(c=Go(c)),[c,Go(c)]}function ki(e){return e.replace(/start|end/g,r=>Cl[r])}function Go(e){return e.replace(/left|right|bottom|top/g,r=>Ol[r])}function El(e){return{top:0,right:0,bottom:0,left:0,...e}}function Di(e){return typeof e!="number"?El(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:r,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:r,right:r+n,bottom:o+a,x:r,y:o}}function Bi(e,r,o){let{reference:n,floating:a}=e,i=Hr(r),c=qo(r),l=Zo(c),p=Gt(r),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(it(r)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var Ui=async(e,r,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(r)),u=await c.getElementRects({reference:e,floating:r,strategy:a}),{x:m,y:h}=Bi(u,n,p),g=n,S={},x=0;for(let O=0;O<l.length;O++){let{name:L,fn:R}=l[O],{x:N,y:k,data:B,reset:U}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:r}});m=N??m,h=k??h,S={...S,[L]:{...S[L],...B}},U&&x<=50&&(x++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(u=U.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:a}):U.rects),{x:m,y:h}=Bi(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function Yo(e,r){var o;r===void 0&&(r={});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}=zr(r,e),x=Di(S),L=l[g?h==="floating"?"reference":"floating":h],R=Ot(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(L)))==null||o?L:L.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),N=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),B=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},U=Ot(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:k,strategy:p}):N);return{top:(R.top-U.top+x.top)/B.y,bottom:(U.bottom-R.bottom+x.bottom)/B.y,left:(R.left-U.left+x.left)/B.x,right:(U.right-R.right+x.right)/B.x}}function Al(e,r,o){return(e?[...o.filter(a=>it(a)===e),...o.filter(a=>it(a)!==e)]:o.filter(a=>Gt(a)===a)).filter(a=>e?it(a)===e||(r?ki(a)!==a:!1):!0)}var Xo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:p,elements:u}=r,{crossAxis:m=!1,alignment:h,allowedPlacements:g=jo,autoAlignment:S=!0,...x}=zr(e,r),O=h!==void 0||g===jo?Al(h||null,S,g):g,L=await Yo(r,x),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let k=Pi(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==N)return{reset:{placement:O[0]}};let B=[L[Gt(N)],L[k[0]],L[k[1]]],U=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:B}],ye=O[R+1];if(ye)return{data:{index:R+1,overflows:U},reset:{placement:ye}};let Me=U.map(ie=>{let y=it(ie.placement);return[ie.placement,y&&m?ie.overflows.slice(0,2).reduce((b,I)=>b+I,0):ie.overflows[0],ie.overflows]}).sort((ie,y)=>ie[1]-y[1]),We=((a=Me.filter(ie=>ie[2].slice(0,it(ie[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Me[0][0];return We!==l?{data:{index:R+1,overflows:U},reset:{placement:We}}:{}}}};var Qo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:L=>{let{x:R,y:N}=L;return{x:R,y:N}}},...p}=zr(e,r),u={x:o,y:n},m=await Yo(r,p),h=Hr(Gt(a)),g=Ko(h),S=u[g],x=u[h];if(i){let L=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[L],k=S-m[R];S=Vo(N,S,k)}if(c){let L=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=x+m[L],k=x-m[R];x=Vo(N,x,k)}let O=l.fn({...r,[g]:S,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var Jo=Math.min,jt=Math.max,ur=Math.round;var qe=e=>({x:e,y:e});function Ye(e){return Mi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Xe(e){var r;return(r=(Mi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Mi(e){return e instanceof Node||e instanceof ge(e).Node}function Fe(e){return e instanceof Element||e instanceof ge(e).Element}function _e(e){return e instanceof HTMLElement||e instanceof ge(e).HTMLElement}function $i(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}function Vt(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function Wi(e){return["table","td","th"].includes(Ye(e))}function Gr(e){let r=jr(),o=Ae(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(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 zi(e){let r=Ct(e);for(;_e(r)&&!fr(r);){if(Gr(r))return r;r=Ct(r)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fr(e){return["html","body","#document"].includes(Ye(e))}function Ae(e){return ge(e).getComputedStyle(e)}function hr(e){return Fe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ct(e){if(Ye(e)==="html")return e;let r=e.assignedSlot||e.parentNode||$i(e)&&e.host||Xe(e);return $i(r)?r.host:r}function Hi(e){let r=Ct(e);return fr(r)?e.ownerDocument?e.ownerDocument.body:e.body:_e(r)&&Vt(r)?r:Hi(r)}function Fr(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=Hi(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=ge(a);return i?r.concat(c,c.visualViewport||[],Vt(a)?a:[],c.frameElement&&o?Fr(c.frameElement):[]):r.concat(a,Fr(a,[],o))}function ji(e){let r=Ae(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=_e(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=ur(o)!==i||ur(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function Vi(e){return Fe(e)?e:e.contextElement}function Kt(e){let r=Vi(e);if(!_e(r))return qe(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:i}=ji(r),c=(i?ur(o.width):o.width)/n,l=(i?ur(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Nl=qe(0);function Ki(e){let r=ge(e);return!jr()||!r.visualViewport?Nl:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Tl(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==ge(e)?!1:r}function yr(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Vi(e),c=qe(1);r&&(n?Fe(n)&&(c=Kt(n)):c=Kt(e));let l=Tl(i,o,n)?Ki(i):qe(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=ge(i),S=n&&Fe(n)?ge(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let O=Kt(x),L=x.getBoundingClientRect(),R=Ae(x),N=L.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,k=L.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=N,u+=k,x=ge(x).frameElement}}return Ot({width:m,height:h,x:p,y:u})}function Ll(e){let{rect:r,offsetParent:o,strategy:n}=e,a=_e(o),i=Xe(o);if(o===i)return r;let c={scrollLeft:0,scrollTop:0},l=qe(1),p=qe(0);if((a||!a&&n!=="fixed")&&((Ye(o)!=="body"||Vt(i))&&(c=hr(o)),_e(o))){let u=yr(o);l=Kt(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+p.x,y:r.y*l.y-c.scrollTop*l.y+p.y}}function Il(e){return Array.from(e.getClientRects())}function Zi(e){return yr(Xe(e)).left+hr(e).scrollLeft}function _l(e){let r=Xe(e),o=hr(e),n=e.ownerDocument.body,a=jt(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),i=jt(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Zi(e),l=-o.scrollTop;return Ae(n).direction==="rtl"&&(c+=jt(r.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function Pl(e,r){let o=ge(e),n=Xe(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,p=0;if(a){i=a.width,c=a.height;let u=jr();(!u||u&&r==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:l,y:p}}function kl(e,r){let o=yr(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=_e(e)?Kt(e):qe(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 Fi(e,r,o){let n;if(r==="viewport")n=Pl(e,o);else if(r==="document")n=_l(Xe(e));else if(Fe(r))n=kl(r,o);else{let a=Ki(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return Ot(n)}function qi(e,r){let o=Ct(e);return o===r||!Fe(o)||fr(o)?!1:Ae(o).position==="fixed"||qi(o,r)}function Dl(e,r){let o=r.get(e);if(o)return o;let n=Fr(e,[],!1).filter(l=>Fe(l)&&Ye(l)!=="body"),a=null,i=Ae(e).position==="fixed",c=i?Ct(e):e;for(;Fe(c)&&!fr(c);){let l=Ae(c),p=Gr(c);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Vt(c)&&!p&&qi(e,c))?n=n.filter(m=>m!==c):a=l,c=Ct(c)}return r.set(e,n),n}function Bl(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Dl(r,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=Fi(r,m,a);return u.top=jt(h.top,u.top),u.right=Jo(h.right,u.right),u.bottom=Jo(h.bottom,u.bottom),u.left=jt(h.left,u.left),u},Fi(r,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Ul(e){return ji(e)}function $l(e,r,o){let n=_e(r),a=Xe(r),i=o==="fixed",c=yr(e,!0,i,r),l={scrollLeft:0,scrollTop:0},p=qe(0);if(n||!n&&!i)if((Ye(r)!=="body"||Vt(a))&&(l=hr(r)),n){let u=yr(r,!0,i,r);p.x=u.x+r.clientLeft,p.y=u.y+r.clientTop}else a&&(p.x=Zi(a));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function Gi(e,r){return!_e(e)||Ae(e).position==="fixed"?null:r?r(e):e.offsetParent}function Yi(e,r){let o=ge(e);if(!_e(e))return o;let n=Gi(e,r);for(;n&&Wi(n)&&Ae(n).position==="static";)n=Gi(n,r);return n&&(Ye(n)==="html"||Ye(n)==="body"&&Ae(n).position==="static"&&!Gr(n))?o:n||zi(e)||o}var Ml=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||Yi,i=this.getDimensions;return{reference:$l(r,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Wl(e){return Ae(e).direction==="rtl"}var Vr={convertOffsetParentRelativeRectToViewportRelativeRect:Ll,getDocumentElement:Xe,getClippingRect:Bl,getOffsetParent:Yi,getElementRects:Ml,getClientRects:Il,getDimensions:Ul,getScale:Kt,isElement:Fe,isRTL:Wl};var Xi=(e,r,o)=>{let n=new Map,a={platform:Vr,...o},i={...a.platform,_c:n};return Ui(e,r,{...a,platform:i})};function Qi(e){return zl(e)}function en(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function zl(e){for(let r=e;r;r=en(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=en(e);r;r=en(r)){if(!(r instanceof Element))continue;let o=getComputedStyle(r);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||r.tagName==="BODY"))return r}return null}async function Ji(e,r,o){return Xi(e,r,{platform:{...Vr,getOffsetParent:n=>Vr.getOffsetParent(n,Qi)},middleware:[Qo({crossAxis:!0}),Xo({allowedPlacements:[o]})]})}var be=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},X=class extends mr.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 mr.Debouncer,this.revealDebouncer=new mr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return es.html`
547
+ `;var ki=["top","right","bottom","left"],Pi=["start","end"],Zo=ki.reduce((e,t)=>e.concat(t,t+"-"+Pi[0],t+"-"+Pi[1]),[]),Di=Math.min,Bi=Math.max;var Nl={left:"right",right:"left",bottom:"top",top:"bottom"},Rl={start:"end",end:"start"};function qo(e,t,o){return Bi(e,Di(t,o))}function Fr(e,t){return typeof e=="function"?e(t):e}function Vt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Yo(e){return e==="x"?"y":"x"}function Xo(e){return e==="y"?"height":"width"}function Gr(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function Qo(e){return Yo(Gr(e))}function Ui(e,t,o){o===void 0&&(o=!1);let n=it(e),a=Qo(e),i=Xo(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=Ko(c)),[c,Ko(c)]}function $i(e){return e.replace(/start|end/g,t=>Rl[t])}function Ko(e){return e.replace(/left|right|bottom|top/g,t=>Nl[t])}function Tl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Mi(e){return typeof e!="number"?Tl(e):{top:e,right:e,bottom:e,left:e}}function Ct(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 Wi(e,t,o){let{reference:n,floating:a}=e,i=Gr(t),c=Qo(t),l=Xo(c),p=Vt(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(it(t)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var Hi=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}=Wi(u,n,p),g=n,S={},x=0;for(let O=0;O<l.length;O++){let{name:I,fn:N}=l[O],{x:R,y:k,data:B,reset:U}=await N({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:t}});m=R??m,h=k??h,S={...S,[I]:{...S[I],...B}},U&&x<=50&&(x++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(u=U.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):U.rects),{x:m,y:h}=Wi(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function Jo(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}=Fr(t,e),x=Mi(S),I=l[g?h==="floating"?"reference":"floating":h],N=Ct(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(I)))==null||o?I:I.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),R=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),B=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},U=Ct(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:k,strategy:p}):R);return{top:(N.top-U.top+x.top)/B.y,bottom:(U.bottom-N.bottom+x.bottom)/B.y,left:(N.left-U.left+x.left)/B.x,right:(U.right-N.right+x.right)/B.x}}function Il(e,t,o){return(e?[...o.filter(a=>it(a)===e),...o.filter(a=>it(a)!==e)]:o.filter(a=>Vt(a)===a)).filter(a=>e?it(a)===e||(t?$i(a)!==a:!1):!0)}var en=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=Zo,autoAlignment:S=!0,...x}=Fr(e,t),O=h!==void 0||g===Zo?Il(h||null,S,g):g,I=await Jo(t,x),N=((o=c.autoPlacement)==null?void 0:o.index)||0,R=O[N];if(R==null)return{};let k=Ui(R,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==R)return{reset:{placement:O[0]}};let B=[I[Vt(R)],I[k[0]],I[k[1]]],U=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:B}],ye=O[N+1];if(ye)return{data:{index:N+1,overflows:U},reset:{placement:ye}};let Me=U.map(ie=>{let y=it(ie.placement);return[ie.placement,y&&m?ie.overflows.slice(0,2).reduce((b,_)=>b+_,0):ie.overflows[0],ie.overflows]}).sort((ie,y)=>ie[1]-y[1]),We=((a=Me.filter(ie=>ie[2].slice(0,it(ie[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Me[0][0];return We!==l?{data:{index:N+1,overflows:U},reset:{placement:We}}:{}}}};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:I=>{let{x:N,y:R}=I;return{x:N,y:R}}},...p}=Fr(e,t),u={x:o,y:n},m=await Jo(t,p),h=Gr(Vt(a)),g=Yo(h),S=u[g],x=u[h];if(i){let I=g==="y"?"top":"left",N=g==="y"?"bottom":"right",R=S+m[I],k=S-m[N];S=qo(R,S,k)}if(c){let I=h==="y"?"top":"left",N=h==="y"?"bottom":"right",R=x+m[I],k=x-m[N];x=qo(R,x,k)}let O=l.fn({...t,[g]:S,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var rn=Math.min,Kt=Math.max,hr=Math.round;var qe=e=>({x:e,y:e});function Ye(e){return Fi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xe(e){var t;return(t=(Fi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fi(e){return e instanceof Node||e instanceof ge(e).Node}function Fe(e){return e instanceof Element||e instanceof ge(e).Element}function _e(e){return e instanceof HTMLElement||e instanceof ge(e).HTMLElement}function zi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}function Zt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=we(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Gi(e){return["table","td","th"].includes(Ye(e))}function Vr(e){let t=Kr(),o=we(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 ji(e){let t=Et(e);for(;_e(t)&&!yr(t);){if(Vr(t))return t;t=Et(t)}return null}function Kr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yr(e){return["html","body","#document"].includes(Ye(e))}function we(e){return ge(e).getComputedStyle(e)}function mr(e){return Fe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Et(e){if(Ye(e)==="html")return e;let t=e.assignedSlot||e.parentNode||zi(e)&&e.host||Xe(e);return zi(t)?t.host:t}function Vi(e){let t=Et(e);return yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:_e(t)&&Zt(t)?t:Vi(t)}function jr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Vi(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=ge(a);return i?t.concat(c,c.visualViewport||[],Zt(a)?a:[],c.frameElement&&o?jr(c.frameElement):[]):t.concat(a,jr(a,[],o))}function qi(e){let t=we(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=_e(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=hr(o)!==i||hr(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function Yi(e){return Fe(e)?e:e.contextElement}function qt(e){let t=Yi(e);if(!_e(t))return qe(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=qi(t),c=(i?hr(o.width):o.width)/n,l=(i?hr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Pl=qe(0);function Xi(e){let t=ge(e);return!Kr()||!t.visualViewport?Pl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ge(e)?!1:t}function gr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Yi(e),c=qe(1);t&&(n?Fe(n)&&(c=qt(n)):c=qt(e));let l=kl(i,o,n)?Xi(i):qe(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=ge(i),S=n&&Fe(n)?ge(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let O=qt(x),I=x.getBoundingClientRect(),N=we(x),R=I.left+(x.clientLeft+parseFloat(N.paddingLeft))*O.x,k=I.top+(x.clientTop+parseFloat(N.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=R,u+=k,x=ge(x).frameElement}}return Ct({width:m,height:h,x:p,y:u})}function Dl(e){let{rect:t,offsetParent:o,strategy:n}=e,a=_e(o),i=Xe(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},l=qe(1),p=qe(0);if((a||!a&&n!=="fixed")&&((Ye(o)!=="body"||Zt(i))&&(c=mr(o)),_e(o))){let u=gr(o);l=qt(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 Bl(e){return Array.from(e.getClientRects())}function Qi(e){return gr(Xe(e)).left+mr(e).scrollLeft}function Ul(e){let t=Xe(e),o=mr(e),n=e.ownerDocument.body,a=Kt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Kt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Qi(e),l=-o.scrollTop;return we(n).direction==="rtl"&&(c+=Kt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function $l(e,t){let o=ge(e),n=Xe(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,p=0;if(a){i=a.width,c=a.height;let u=Kr();(!u||u&&t==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:l,y:p}}function Ml(e,t){let o=gr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=_e(e)?qt(e):qe(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 Ki(e,t,o){let n;if(t==="viewport")n=$l(e,o);else if(t==="document")n=Ul(Xe(e));else if(Fe(t))n=Ml(t,o);else{let a=Xi(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Ct(n)}function Ji(e,t){let o=Et(e);return o===t||!Fe(o)||yr(o)?!1:we(o).position==="fixed"||Ji(o,t)}function Wl(e,t){let o=t.get(e);if(o)return o;let n=jr(e,[],!1).filter(l=>Fe(l)&&Ye(l)!=="body"),a=null,i=we(e).position==="fixed",c=i?Et(e):e;for(;Fe(c)&&!yr(c);){let l=we(c),p=Vr(c);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Zt(c)&&!p&&Ji(e,c))?n=n.filter(m=>m!==c):a=l,c=Et(c)}return t.set(e,n),n}function Hl(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Wl(t,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=Ki(t,m,a);return u.top=Kt(h.top,u.top),u.right=rn(h.right,u.right),u.bottom=rn(h.bottom,u.bottom),u.left=Kt(h.left,u.left),u},Ki(t,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function zl(e){return qi(e)}function Fl(e,t,o){let n=_e(t),a=Xe(t),i=o==="fixed",c=gr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},p=qe(0);if(n||!n&&!i)if((Ye(t)!=="body"||Zt(a))&&(l=mr(t)),n){let u=gr(t,!0,i,t);p.x=u.x+t.clientLeft,p.y=u.y+t.clientTop}else a&&(p.x=Qi(a));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function Zi(e,t){return!_e(e)||we(e).position==="fixed"?null:t?t(e):e.offsetParent}function es(e,t){let o=ge(e);if(!_e(e))return o;let n=Zi(e,t);for(;n&&Gi(n)&&we(n).position==="static";)n=Zi(n,t);return n&&(Ye(n)==="html"||Ye(n)==="body"&&we(n).position==="static"&&!Vr(n))?o:n||ji(e)||o}var Gl=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||es,i=this.getDimensions;return{reference:Fl(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function jl(e){return we(e).direction==="rtl"}var Zr={convertOffsetParentRelativeRectToViewportRelativeRect:Dl,getDocumentElement:Xe,getClippingRect:Hl,getOffsetParent:es,getElementRects:Gl,getClientRects:Bl,getDimensions:zl,getScale:qt,isElement:Fe,isRTL:jl};var ts=(e,t,o)=>{let n=new Map,a={platform:Zr,...o},i={...a.platform,_c:n};return Hi(e,t,{...a,platform:i})};function rs(e){return Vl(e)}function on(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Vl(e){for(let t=e;t;t=on(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=on(e);t;t=on(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 os(e,t,o){return ts(e,t,{platform:{...Zr,getOffsetParent:n=>Zr.getOffsetParent(n,rs)},middleware:[tn({crossAxis:!0}),en({allowedPlacements:[o]})]})}var be=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 br.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 br.Debouncer,this.revealDebouncer=new br.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ns.html`
548
548
  <div part="container"
549
549
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
550
550
  @mouseenter=${this.onHover}
@@ -562,14 +562,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
562
562
  </div>
563
563
  </div>
564
564
  </div>
565
- `}updated(r){r.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(r)}contentAvailableCallback(r){super.contentAvailableCallback(r),["visible","text"].some(o=>r.has(o))&&this.visible&&this.positionTooltip()}async show(r){this.visible=!0,r!=null&&await this.hideDebounce.run(()=>{this.hide()},r)}async showTemporaryText(r,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=r,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var r;return((r=this.slotNodes)!==null&&r!==void 0?r:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let r=this.tooltipContent.style;switch(r.transition="none",this.validPosition){case"top":r.top=this.tooltip.clientHeight+"px",r.left="0";break;case"bottom":r.top=-this.tooltip.clientHeight+"px",r.left="0";break;case"left":r.top="0",r.left=this.tooltip.clientWidth+"px";break;case"right":r.top="0",r.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ji(this.slottedElement,this.tooltip,this.position).then(({x:r,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${r}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.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(r,o){return Math.max(r,Math.min(0,-o))}};X.elementDefinitions={"ft-typography":Ce};X.styles=Ni;be([(0,te.property)()],X.prototype,"text",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"manual",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"inline",void 0);be([(0,te.property)({type:Number})],X.prototype,"delay",void 0);be([(0,te.property)()],X.prototype,"position",void 0);be([(0,te.queryAssignedNodes)()],X.prototype,"slotNodes",void 0);be([(0,te.query)(".ft-tooltip--container")],X.prototype,"container",void 0);be([(0,te.query)(".ft-tooltip")],X.prototype,"tooltip",void 0);be([(0,te.query)(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);be([(0,te.state)()],X.prototype,"visible",void 0);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onTouch",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onHover",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onOut",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onClick",null);(0,ts.customElement)("ft-tooltip")(X);var ns=v(_());var rs=v(z()),os=v(_());var Et=class extends os.FtLitElement{render(){return rs.html`
565
+ `}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="",os(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 var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};X.elementDefinitions={"ft-typography":Ce};X.styles=_i;be([(0,te.property)()],X.prototype,"text",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"manual",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"inline",void 0);be([(0,te.property)({type:Number})],X.prototype,"delay",void 0);be([(0,te.property)()],X.prototype,"position",void 0);be([(0,te.queryAssignedNodes)()],X.prototype,"slotNodes",void 0);be([(0,te.query)(".ft-tooltip--container")],X.prototype,"container",void 0);be([(0,te.query)(".ft-tooltip")],X.prototype,"tooltip",void 0);be([(0,te.query)(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);be([(0,te.state)()],X.prototype,"visible",void 0);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onTouch",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onHover",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onOut",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onClick",null);(0,as.customElement)("ft-tooltip")(X);var cs=v(L());var is=v(H()),ss=v(L());var wt=class extends ss.FtLitElement{render(){return is.html`
566
566
  <div class="ft-loader">
567
567
  <div></div>
568
568
  <div></div>
569
569
  <div></div>
570
570
  <div></div>
571
571
  </div>
572
- `}};Et.styles=xi;(0,ns.customElement)("ft-loader")(Et);var st=v(z()),tn=v(rr()),re=v(ee()),le=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},K=class extends(0,ct.toFtFormComponent)(ct.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",r=>{var o;this.isDisabled()?(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var r,o,n;let a=st.html`
572
+ `}};wt.styles=Ci;(0,cs.customElement)("ft-loader")(wt);var st=v(H()),nn=v(nr()),re=v(ee()),le=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(0,ct.toFtFormComponent)(ct.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!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=st.html`
573
573
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
574
574
  <ft-typography part="label"
575
575
  variant=${this.typographyVariant}
@@ -581,32 +581,32 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
581
581
  ${this.resolveIcon()}
582
582
  `,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?st.html`
583
583
  <a href="${i}"
584
- target="${(r=this.target)!==null&&r!==void 0?r:"_self"}"
584
+ target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
585
585
  part="button"
586
- class="${(0,tn.classMap)(this.buttonClasses)}"
586
+ class="${(0,nn.classMap)(this.buttonClasses)}"
587
587
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
588
588
  ?disabled=${this.isDisabled()}>
589
589
  ${a}
590
590
  </a>
591
591
  `:st.html`
592
592
  <button part="button"
593
- class="${(0,tn.classMap)(this.buttonClasses)}"
593
+ class="${(0,nn.classMap)(this.buttonClasses)}"
594
594
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
595
595
  ?disabled=${this.isDisabled()}>
596
596
  ${a}
597
597
  </button>
598
- `)}addTooltipIfNeeded(r){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?st.html`
598
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?st.html`
599
599
  <ft-tooltip part="tooltip"
600
600
  text="${this.getLabel()}"
601
601
  position="${this.tooltipPosition}">
602
- ${r}
602
+ ${t}
603
603
  </ft-tooltip>
604
- `:r}resolveIcon(){return this.loading?st.html`
604
+ `:t}resolveIcon(){return this.loading?st.html`
605
605
  <ft-loader part="loader icon"></ft-loader> `:this.icon?st.html`
606
606
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
607
607
  `:st.html`
608
608
  <slot part="icon" name="icon"></slot>
609
- `}focus(){var r;(r=this.button)===null||r===void 0||r.focus()}focusWithoutTooltip(){var r;this.setTooltipManual(!0),(r=this.button)===null||r===void 0||r.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(r,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(r,o)}setTooltipManual(r){this.tooltip&&(this.tooltip.manual=r)}click(){var r;(r=this.button)===null||r===void 0||r.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,ct.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};K.elementDefinitions={"ft-ripple":Y,"ft-tooltip":X,"ft-typography":Ce,"ft-icon":he,"ft-loader":Et};le([(0,re.property)()],K.prototype,"href",void 0);le([(0,re.property)()],K.prototype,"target",void 0);le([(0,re.property)({type:String,reflect:!0})],K.prototype,"role",void 0);le([(0,re.property)()],K.prototype,"type",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"disabled",void 0);le([(0,re.property)()],K.prototype,"label",void 0);le([(0,re.property)()],K.prototype,"icon",void 0);le([(0,re.property)()],K.prototype,"iconVariant",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"trailingIcon",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"loading",void 0);le([(0,re.property)({attribute:"aria-label"})],K.prototype,"ariaLabel",void 0);le([(0,re.property)()],K.prototype,"tooltipPosition",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"hideTooltip",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"forceTooltip",void 0);le([(0,re.query)(".ft-button")],K.prototype,"button",void 0);le([(0,re.query)(".ft-button--label slot")],K.prototype,"slottedContent",void 0);le([(0,re.query)("[part=tooltip]")],K.prototype,"tooltip",void 0);var Kr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Pe=class extends K{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Pe.styles=[as.safariEllipsisFix,Ci];Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"primary",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"outlined",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"dense",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"round",void 0);var br=v(ee());var qr=v(_());var is=v(z()),C=v(_());var ss=[is.css`
609
+ `}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,ct.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};K.elementDefinitions={"ft-ripple":Y,"ft-tooltip":X,"ft-typography":Ce,"ft-icon":he,"ft-loader":wt};le([(0,re.property)()],K.prototype,"href",void 0);le([(0,re.property)()],K.prototype,"target",void 0);le([(0,re.property)({type:String,reflect:!0})],K.prototype,"role",void 0);le([(0,re.property)()],K.prototype,"type",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"disabled",void 0);le([(0,re.property)()],K.prototype,"label",void 0);le([(0,re.property)()],K.prototype,"icon",void 0);le([(0,re.property)()],K.prototype,"iconVariant",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"trailingIcon",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"loading",void 0);le([(0,re.property)({attribute:"aria-label"})],K.prototype,"ariaLabel",void 0);le([(0,re.property)()],K.prototype,"tooltipPosition",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"hideTooltip",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"forceTooltip",void 0);le([(0,re.query)(".ft-button")],K.prototype,"button",void 0);le([(0,re.query)(".ft-button--label slot")],K.prototype,"slottedContent",void 0);le([(0,re.query)("[part=tooltip]")],K.prototype,"tooltip",void 0);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},Pe=class extends K{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Pe.styles=[ls.safariEllipsisFix,Ni];qr([(0,xr.property)({type:Boolean})],Pe.prototype,"primary",void 0);qr([(0,xr.property)({type:Boolean})],Pe.prototype,"outlined",void 0);qr([(0,xr.property)({type:Boolean})],Pe.prototype,"dense",void 0);qr([(0,xr.property)({type:Boolean})],Pe.prototype,"round",void 0);var vr=v(ee());var Xr=v(L());var ds=v(H()),C=v(L());var ps=[ds.css`
610
610
  :host {
611
611
  display: inline-block;
612
612
  max-width: 100%;
@@ -1072,7 +1072,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1072
1072
  .ftds--size-small.ft-button--icon-only {
1073
1073
  width: ${f.smallIconOnlyWidth};
1074
1074
  }
1075
- `,C.noTextSelect];var Zr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Qe=class extends(0,qr.toFtdsBase)(K){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Br.brand,this.iconVariant=Ee.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 Pt.large:return ot.body2medium;case Pt.medium:return ot.caption1medium;case Pt.small:return ot.caption2medium}}};Qe.styles=[qr.safariEllipsisFix,ss];Zr([(0,br.property)({type:Boolean})],Qe.prototype,"primary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"secondary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"tertiary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"round",void 0);(0,rn.customElement)("ft-button")(Pe);(0,rn.customElement)("ftds-button")(Qe);var ps=v(_());var ds=v(z()),At=v(ee()),Yr=v(_());var xe;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(xe||(xe={}));var cs=v(z());var ls=cs.css`
1075
+ `,C.noTextSelect];var Yr=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(0,Xr.toFtdsBase)(K){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=$r.brand,this.iconVariant=Ee.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 Dt.large:return ot.body2medium;case Dt.medium:return ot.caption1medium;case Dt.small:return ot.caption2medium}}};Qe.styles=[Xr.safariEllipsisFix,ps];Yr([(0,vr.property)({type:Boolean})],Qe.prototype,"primary",void 0);Yr([(0,vr.property)({type:Boolean})],Qe.prototype,"secondary",void 0);Yr([(0,vr.property)({type:Boolean})],Qe.prototype,"tertiary",void 0);Yr([(0,vr.property)({type:Boolean})],Qe.prototype,"round",void 0);(0,an.customElement)("ft-button")(Pe);(0,an.customElement)("ftds-button")(Qe);var ys=v(L());var hs=v(H()),At=v(ee()),Qr=v(L());var xe;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(xe||(xe={}));var us=v(H());var fs=us.css`
1076
1076
  .ft-size-watcher--pixel {
1077
1077
  width: 0;
1078
1078
  height: 0;
@@ -1091,11 +1091,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1091
1091
  .ft-size-watcher--local .ft-size-watcher--watcher {
1092
1092
  width: 100%;
1093
1093
  }
1094
- `;var xr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},on=class extends CustomEvent{constructor(r,o){super("change",{detail:{size:r,category:o}})}},we=class extends Yr.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=xe.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Yr.Debouncer}render(){return ds.html`
1094
+ `;var Sr=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},sn=class extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}},Ae=class extends Qr.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=xe.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Qr.Debouncer}render(){return hs.html`
1095
1095
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1096
1096
  <div class="ft-size-watcher--watcher"></div>
1097
1097
  </div>
1098
- `}contentAvailableCallback(r){super.contentAvailableCallback(r),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=xe.S:this.size<976?this.category=xe.M:this.size<1024?this.category=xe.L:this.size<1440?this.category=xe.XL:this.category=xe.XXL,this.dispatchEvent(new on(this.size,this.category)))},this.debounceTimeout)}};we.elementDefinitions={};we.styles=ls;xr([(0,At.property)({type:Number})],we.prototype,"debounceTimeout",void 0);xr([(0,At.property)({type:Boolean})],we.prototype,"local",void 0);xr([(0,At.property)({type:Number,reflect:!0})],we.prototype,"size",void 0);xr([(0,At.property)({type:String,reflect:!0})],we.prototype,"category",void 0);xr([(0,At.query)(".ft-size-watcher--watcher")],we.prototype,"watcher",void 0);(0,ps.customElement)("ft-size-watcher")(we);var us=v(z()),W=v(_());var ae={tabulationSize:W.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:W.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:W.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",W.designSystemVariables.colorOnSurface),hoverColor:W.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",W.designSystemVariables.colorPrimary),highlightedTextColor:W.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",W.designSystemVariables.colorPrimary),highlightedFontWeight:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:W.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),leafNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",W.designSystemVariables.colorSurface),expandCollapseAllButtonColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",W.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",W.designSystemVariables.colorSurface)},fs=us.css`
1098
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=xe.S:this.size<976?this.category=xe.M:this.size<1024?this.category=xe.L:this.size<1440?this.category=xe.XL:this.category=xe.XXL,this.dispatchEvent(new sn(this.size,this.category)))},this.debounceTimeout)}};Ae.elementDefinitions={};Ae.styles=fs;Sr([(0,At.property)({type:Number})],Ae.prototype,"debounceTimeout",void 0);Sr([(0,At.property)({type:Boolean})],Ae.prototype,"local",void 0);Sr([(0,At.property)({type:Number,reflect:!0})],Ae.prototype,"size",void 0);Sr([(0,At.property)({type:String,reflect:!0})],Ae.prototype,"category",void 0);Sr([(0,At.query)(".ft-size-watcher--watcher")],Ae.prototype,"watcher",void 0);(0,ys.customElement)("ft-size-watcher")(Ae);var ms=v(H()),W=v(L());var ae={tabulationSize:W.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:W.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:W.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",W.designSystemVariables.colorOnSurface),hoverColor:W.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",W.designSystemVariables.colorPrimary),highlightedTextColor:W.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",W.designSystemVariables.colorPrimary),highlightedFontWeight:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:W.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),leafNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",W.designSystemVariables.colorSurface),expandCollapseAllButtonColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",W.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",W.designSystemVariables.colorSurface)},gs=ms.css`
1099
1099
  .ft-reader-toc {
1100
1100
  color: ${ae.textColor};
1101
1101
  }
@@ -1179,7 +1179,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1179
1179
  .ft-reader-toc-expand-collapse-all-justify ft-button {
1180
1180
  flex-grow: 1;
1181
1181
  }
1182
- `;var bs=v(_());var ms=v(z()),gs=v(_());var hs=v(z()),ke=v(_()),ve={display:ke.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ke.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.FtCssVariableFactory.external(ke.designSystemVariables.borderRadiusM,"Design system")},ys=hs.css`
1182
+ `;var Os=v(L());var vs=v(H()),Ss=v(L());var bs=v(H()),ke=v(L()),ve={display:ke.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ke.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.FtCssVariableFactory.external(ke.designSystemVariables.borderRadiusM,"Design system")},xs=bs.css`
1183
1183
  :host {
1184
1184
  width: ${ve.width};
1185
1185
  height: ${ve.height};
@@ -1206,20 +1206,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1206
1206
  background-position: calc(100vw + ${ve.glareWidth}) 0, calc(${ve.glareWidth} * -1) 0;
1207
1207
  }
1208
1208
  }
1209
- `;var lt=class extends gs.FtLitElement{render(){return ms.html`
1210
- `}};lt.elementDefinitions={};lt.styles=ys;(0,bs.customElement)("ft-skeleton")(lt);var rl=v(_());var Co=v(z()),Eo=v(ee()),Ao=v(_());var xs=v(z());var vs=xs.css`
1211
- `;var So=v(_());var qc=v(_());var Es=v(z()),Se=v(ee()),De=v(_());var Ss=v(z());var Os=Ss.css`
1212
- `;var Xr=v(_()),Hl="ft-app-info",nn=class extends CustomEvent{constructor(r){super("authentication-change",{detail:r})}},Fl={session:(e,r)=>{(0,Xr.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>P.dispatchEvent(new nn(r.payload)),0))}},P=Xr.FtReduxStore.get({name:Hl,reducers:Fl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}});var Ge=v(_());var an=v(_());var wt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=P.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=P.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var vr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:wt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):wt.await()}};var dt=class extends vr{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new an.CacheRegistry,this.cache=r?a.commonCache:new an.CacheRegistry}clearCache(){this.cache.clearAll()}};var Cs,Gl=Symbol("clearAfterUnitTest"),Qr=class extends dt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cs]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=P.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ge.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),c=this.resolveContext(i);return new Ge.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r))}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(r),n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Cs=Gl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Qr{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Qr{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Zt=window.FluidTopicsI18nService,Jr=window.FluidTopicsCustomI18nService;var de=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Q=class extends De.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>wt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Es.html`
1209
+ `;var lt=class extends Ss.FtLitElement{render(){return vs.html`
1210
+ `}};lt.elementDefinitions={};lt.styles=xs;(0,Os.customElement)("ft-skeleton")(lt);var sl=v(L());var Ao=v(H()),No=v(ee()),Ro=v(L());var Cs=v(H());var Es=Cs.css`
1211
+ `;var Eo=v(L());var el=v(L());var Rs=v(H()),Se=v(ee()),De=v(L());var ws=v(H());var As=ws.css`
1212
+ `;var Jr=v(L()),Kl="ft-app-info",cn=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Zl={session:(e,t)=>{(0,Jr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>P.dispatchEvent(new cn(t.payload)),0))}},P=Jr.FtReduxStore.get({name:Kl,reducers:Zl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],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}});var Ge=v(L());var ln=v(L());var Nt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=P.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=P.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Or=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Nt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Nt.await()}};var dt=class extends Or{constructor(t=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ln.CacheRegistry,this.cache=t?a.commonCache:new ln.CacheRegistry}clearCache(){this.cache.clearAll()}};var Ns,ql=Symbol("clearAfterUnitTest"),eo=class extends dt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ns]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=P.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,Ge.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 Ge.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))}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(t),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(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Ns=ql;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends eo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends eo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Yt=window.FluidTopicsI18nService,to=window.FluidTopicsCustomI18nService;var de=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},Q=class extends De.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Nt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Rs.html`
1213
1213
  <slot></slot>
1214
- `}update(r){var o,n,a,i,c;super.update(r),r.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&P.actions.noCustom(this.noCustom),r.has("editorMode")&&P.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&P.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Zt.addContext(l)),r.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(P.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};Q.elementDefinitions={};Q.styles=Os;de([(0,Se.property)()],Q.prototype,"baseUrl",void 0);de([(0,Se.property)()],Q.prototype,"apiIntegrationIdentifier",void 0);de([(0,Se.property)()],Q.prototype,"uiLocale",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"availableUiLocales",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"metadataConfiguration",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"editorMode",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"noCustom",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"openExternalDocumentInNewTab",void 0);de([(0,Se.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Q.prototype,"noCustomComponent",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"withManualResources",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"navigatorOnline",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"forcedOffline",void 0);de([(0,Se.property)({type:Object})],Q.prototype,"apiProvider",void 0);de([(0,De.jsonProperty)([])],Q.prototype,"messageContexts",void 0);de([(0,De.jsonProperty)(void 0)],Q.prototype,"session",void 0);de([(0,Se.state)()],Q.prototype,"localesConfiguration",void 0);var Id=v(ee());function jl(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!eo(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!eo(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(e),o=a.length,o!==i(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!eo(e[c],r[c]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function eo(e,r){try{return jl(e,r)}catch{return!1}}function to(e,r){return!eo(e,r)}var Vl=v(ee(),1);var ro=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var qt=v(ee(),1);var As=v(ee(),1);function ws(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,As.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:to,...r??{}})}var oo=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>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 Ns=v(z(),1);var no=globalThis,Kl=no.ShadowRoot&&(no.ShadyCSS===void 0||no.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yb=Symbol();var Rs=(e,r)=>{if(Kl)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=no.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var ao=class extends Ns.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Rs(n,r.elementStyles),n}};function Ts(e,r,...o){var n;let a=e.querySelector(r);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Sr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ps,Ls=Symbol("constructorPrototype"),Is=Symbol("constructorName"),ks=Symbol("exportpartsDebouncer"),_s=Symbol("dynamicDependenciesLoaded"),Je=class extends ao{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ps]=new oo(5),this[Is]=this.constructor.name,this[Ls]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Is]&&Object.setPrototypeOf(this,this[Ls])}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 r=this.constructor;r[_s]||(r[_s]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Ts(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){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(r.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 r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ks].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(r){var o,n,a,i,c,l;let p=g=>g!=null&&g.trim().length>0,u=r.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:[],x=(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,...x).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(", "))}};Ps=ks;Sr([(0,qt.property)()],Je.prototype,"exportpartsPrefix",void 0);Sr([ws([])],Je.prototype,"exportpartsPrefixes",void 0);Sr([(0,qt.property)()],Je.prototype,"customStylesheet",void 0);Sr([(0,qt.property)()],Je.prototype,"elementToFocus",void 0);Sr([(0,qt.state)()],Je.prototype,"useAdoptedStyleSheets",void 0);function Or(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Ds,Bs,Us,Cr=Symbol("internalReduxEventsUnsubscribers"),pt=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),Er=class extends Je{constructor(){super(...arguments),this[Ds]=new Map,this[Bs]=new Map,this[Us]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[Rt].get(r)}addStore(r,o){var n;o=(n=o??(Or(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Rt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[Rt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Rt].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[pt].has(r.store):this[pt].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[pt].set(r,o.subscribe(()=>this.updateFromStores())),this[Cr].set(r,[]),Or(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=l=>this[i](l);o.addEventListener(a.eventName,c),this[Cr].get(r).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[pt].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[pt].has(r)&&this[pt].get(r)(),this[pt].delete(r),(o=this[Cr].get(r))===null||o===void 0||o.forEach(n=>n()),this[Cr].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ds=pt,Bs=Rt,Us=Cr;Er.reduxProperties=new Map;Er.reduxReactiveProperties=new Set;Er.reduxEventListeners=new Map;function Te(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;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 et(e){return!!e&&!!e[Z]}function Be(e){var r;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)===td}(e)||Array.isArray(e)||!!e[Gs]||!!(!((r=e.constructor)===null||r===void 0)&&r[Gs])||yn(e)||mn(e))}function Nt(e,r,o){o===void 0&&(o=!1),Qt(e)===0?(o?Object.keys:Xt)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function Qt(e){var r=e[Z];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:yn(e)?2:mn(e)?3:0}function Yt(e,r){return Qt(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Zl(e,r){return Qt(e)===2?e.get(r):e[r]}function js(e,r,o){var n=Qt(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Vs(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function yn(e){return Jl&&e instanceof Map}function mn(e){return ed&&e instanceof Set}function ut(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=qs(e);delete r[Z];for(var o=Xt(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function bn(e,r){return r===void 0&&(r=!1),xn(e)||et(e)||!Be(e)||(Qt(e)>1&&(e.set=e.add=e.clear=e.delete=ql),Object.freeze(e),r&&Nt(e,function(o,n){return bn(n,!0)},!0)),e}function ql(){Te(2)}function xn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function je(e){var r=hn[e];return r||Te(18,e),r}function Yl(e,r){hn[e]||(hn[e]=r)}function pn(){return wr}function sn(e,r){r&&(je("Patches"),e.u=[],e.s=[],e.v=r)}function io(e){un(e),e.p.forEach(Xl),e.p=null}function un(e){e===wr&&(wr=e.l)}function $s(e){return wr={p:[],l:wr,h:e,m:!0,_:0}}function Xl(e){var r=e[Z];r.i===0||r.i===1?r.j():r.g=!0}function cn(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||je("ES5").S(r,e,n),n?(o[Z].P&&(io(r),Te(4)),Be(e)&&(e=so(r,e),r.l||co(r,e)),r.u&&je("Patches").M(o[Z].t,e,r.u,r.s)):e=so(r,o,[]),io(r),r.u&&r.v(r.u,r.s),e!==Zs?e:void 0}function so(e,r,o){if(xn(r))return r;var n=r[Z];if(!n)return Nt(r,function(l,p){return Ms(e,n,r,l,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return co(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=gn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Nt(i,function(l,p){return Ms(e,n,a,l,p,o,c)}),co(e,a,!1),o&&e.u&&je("Patches").N(n,o,e.u,e.s)}return n.o}function Ms(e,r,o,n,a,i,c){if(et(a)){var l=so(e,a,i&&r&&r.i!==3&&!Yt(r.R,n)?i.concat(n):void 0);if(js(o,n,l),!et(l))return;e.m=!1}else c&&o.add(a);if(Be(a)&&!xn(a)){if(!e.h.D&&e._<1)return;so(e,a),r&&r.A.l||co(e,a)}}function co(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&bn(r,o)}function ln(e,r){var o=e[Z];return(o?ut(o):e)[r]}function Ws(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function dn(e){e.o||(e.o=gn(e.t))}function fn(e,r,o){var n=yn(r)?je("MapSet").F(r,o):mn(r)?je("MapSet").T(r,o):e.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:pn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=Rr;c&&(p=[l],u=Ar);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(r,o):je("ES5").J(r,o);return(o?o.A:pn()).p.push(n),n}function Ql(e){return et(e)||Te(22,e),function r(o){if(!Be(o))return o;var n,a=o[Z],i=Qt(o);if(a){if(!a.P&&(a.i<4||!je("ES5").K(a)))return a.t;a.I=!0,n=zs(o,i),a.I=!1}else n=zs(o,i);return Nt(n,function(c,l){a&&Zl(a.t,c)===l||js(n,c,r(l))}),i===3?new Set(n):n}(e)}function zs(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function Ks(){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[Z];return Rr.get(u,c)},set:function(u){var m=this[Z];Rr.set(m,c,u)}},p}function r(c){for(var l=c.length-1;l>=0;l--){var p=c[l][Z];if(!p.P)switch(p.i){case 5:n(p)&&ft(p);break;case 4:o(p)&&ft(p)}}}function o(c){for(var l=c.t,p=c.k,u=Xt(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==Z){var g=l[h];if(g===void 0&&!Yt(l,h))return!0;var S=p[h],x=S&&S[Z];if(x?x.t!==g:!Vs(S,g))return!0}}var O=!!l[Z];return u.length!==Xt(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&&Te(3,JSON.stringify(ut(c)))}var i={};Yl("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var O=qs(g);delete O[Z];for(var L=Xt(O),R=0;R<L.length;R++){var N=L[R];O[N]=e(N,h||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:pn(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(c,l,p){p?et(l)&&l[Z].A===c&&r(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[Z];if(h){var g=h.t,S=h.k,x=h.R,O=h.i;if(O===4)Nt(S,function(B){B!==Z&&(g[B]!==void 0||Yt(g,B)?x[B]||u(S[B]):(x[B]=!0,ft(h)))}),Nt(g,function(B){S[B]!==void 0||Yt(S,B)||(x[B]=!1,ft(h))});else if(O===5){if(n(h)&&(ft(h),x.length=!0),S.length<g.length)for(var L=S.length;L<g.length;L++)x[L]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),k=0;k<N;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&u(S[k])}}}}(c.p[0]),r(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Hs,wr,vn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Jl=typeof Map<"u",ed=typeof Set<"u",Fs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Zs=vn?Symbol.for("immer-nothing"):((Hs={})["immer-nothing"]=!0,Hs),Gs=vn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=vn?Symbol.for("immer-state"):"__$immer_state";var td=""+Object.prototype.constructor,Xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qs=Object.getOwnPropertyDescriptors||function(e){var r={};return Xt(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},hn={},Rr={get:function(e,r){if(r===Z)return e;var o=ut(e);if(!Yt(o,r))return function(a,i,c){var l,p=Ws(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,r);var n=o[r];return e.I||!Be(n)?n:n===ln(e.t,r)?(dn(e),e.o[r]=fn(e.A.h,n,e)):n},has:function(e,r){return r in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,r,o){var n=Ws(ut(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ln(ut(e),r),i=a?.[Z];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Vs(o,a)&&(o!==void 0||Yt(e.t,r)))return!0;dn(e),ft(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return ln(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,dn(e),ft(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=ut(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Ar={};Nt(Rr,function(e,r){Ar[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Ar.deleteProperty=function(e,r){return Ar.set.call(this,e,r,void 0)},Ar.set=function(e,r,o){return Rr.set.call(this,e[0],r,o,e[0])};var rd=function(){function e(o){var n=this;this.O=Fs,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 L=this;O===void 0&&(O=l);for(var R=arguments.length,N=Array(R>1?R-1:0),k=1;k<R;k++)N[k-1]=arguments[k];return p.produce(O,function(B){var U;return(U=i).call.apply(U,[L,B].concat(N))})}}var u;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Be(a)){var m=$s(n),h=fn(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?io(m):un(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return sn(m,c),cn(O,m)},function(O){throw io(m),O}):(sn(m,c),cn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Zs&&(u=void 0),n.D&&bn(u,!0),c){var S=[],x=[];je("Patches").M(a,u,S,x),c(S,x)}return u}Te(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 r=e.prototype;return r.createDraft=function(o){Be(o)||Te(8),et(o)&&(o=Ql(o));var n=$s(this),a=fn(this,o,void 0);return a[Z].C=!0,un(n),a},r.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return sn(i,n),cn(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Fs&&Te(20),this.O=o},r.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=je("Patches").$;return et(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Re=new rd,od=Re.produce,Tb=Re.produceWithPatches.bind(Re),Lb=Re.setAutoFreeze.bind(Re),Ib=Re.setUseProxies.bind(Re),_b=Re.applyPatches.bind(Re),Pb=Re.createDraft.bind(Re),kb=Re.finishDraft.bind(Re),lo=od;function Tt(e){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Tt(e)}function Ys(e,r){if(Tt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(Tt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Xs(e){var r=Ys(e,"string");return Tt(r)=="symbol"?r:r+""}function Qs(e,r,o){return(r=Xs(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Js(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Sn(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Js(Object(o),!0).forEach(function(n){Qs(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Js(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(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 ec=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),On=function(){return Math.random().toString(36).substring(7).split("").join(".")},po={INIT:"@@redux/INIT"+On(),REPLACE:"@@redux/REPLACE"+On(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+On()}};function nd(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Cn(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(Cn)(e,r)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=r,c=[],l=c,p=!1;function u(){l===c&&(l=c.slice())}function m(){if(p)throw new Error(pe(3));return i}function h(O){if(typeof O!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var L=!0;return u(),l.push(O),function(){if(L){if(p)throw new Error(pe(6));L=!1,u();var N=l.indexOf(O);l.splice(N,1),c=null}}}function g(O){if(!nd(O))throw new Error(pe(7));if(typeof O.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var L=c=l,R=0;R<L.length;R++){var N=L[R];N()}return O}function S(O){if(typeof O!="function")throw new Error(pe(10));a=O,g({type:po.REPLACE})}function x(){var O,L=h;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function k(){N.next&&N.next(m())}k();var B=L(k);return{unsubscribe:B}}},O[ec]=function(){return this},O}return g({type:po.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[ec]=x,n}function ad(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:po.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:po.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function tc(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,l;try{ad(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={},x=0;x<i.length;x++){var O=i[x],L=o[O],R=u[O],N=L(R,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(pe(14))}S[O]=N,g=g||N!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function Jt(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function rc(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=r.map(function(p){return p(c)});return i=Jt.apply(void 0,l)(a.dispatch),Sn(Sn({},a),{},{dispatch:i})}}}function oc(e){var r=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 r}var nc=oc();nc.withExtraArgument=oc;var En=nc;var lc=function(){var e=function(r,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(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),id=function(e,r){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=r.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}}},er=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},sd=Object.defineProperty,cd=Object.defineProperties,ld=Object.getOwnPropertyDescriptors,ac=Object.getOwnPropertySymbols,dd=Object.prototype.hasOwnProperty,pd=Object.prototype.propertyIsEnumerable,ic=function(e,r,o){return r in e?sd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},ht=function(e,r){for(var o in r||(r={}))dd.call(r,o)&&ic(e,o,r[o]);if(ac)for(var n=0,a=ac(r);n<a.length;n++){var o=a[n];pd.call(r,o)&&ic(e,o,r[o])}return e},An=function(e,r){return cd(e,ld(r))},ud=function(e,r,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,r)).next())})};var fd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jt:Jt.apply(null,arguments)},Qb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function hd(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var yd=function(e){lc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.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(r.bind.apply(r,er([void 0],o[0].concat(this)))):new(r.bind.apply(r,er([void 0],o.concat(this))))},r}(Array),md=function(e){lc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.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(r.bind.apply(r,er([void 0],o[0].concat(this)))):new(r.bind.apply(r,er([void 0],o.concat(this))))},r}(Array);function Nn(e){return Be(e)?lo(e,function(){}):e}function gd(e){return typeof e=="boolean"}function bd(){return function(r){return xd(r)}}function xd(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,l=new yd;if(o&&(gd(o)?l.push(En):l.push(En.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return l}var wn=!0;function dc(e){var r=bd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?r():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(hd(a))S=tc(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 x=c;if(typeof x=="function"&&(x=x(r),!wn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!wn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=rc.apply(void 0,x),L=Jt;p&&(L=fd(ht({trace:!wn},typeof p=="object"&&p)));var R=new md(O),N=R;Array.isArray(g)?N=er([O],g):typeof g=="function"&&(N=g(R));var k=L.apply(void 0,N);return Cn(S,m,k)}function yt(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ht(ht({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 pc(e){var r={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[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),[r,o,n]}function vd(e){return typeof e=="function"}function Sd(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?pc(r):[r,o,n],i=a[0],c=a[1],l=a[2],p;if(vd(e))p=function(){return Nn(e())};else{var u=Nn(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=er([i[g.type]],c.filter(function(x){var O=x.matcher;return O(g)}).map(function(x){var O=x.reducer;return O}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,O){if(O)if(et(x)){var L=x,R=O(L,g);return R===void 0?x:R}else{if(Be(x))return lo(x,function(N){return O(N,g)});var R=O(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=p,m}function Od(e,r){return e+"/"+r}function uc(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Nn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(m){var h=n[m],g=Od(r,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,l[m]=x?yt(g,x):yt(g)});function p(){var m=typeof e.extraReducers=="function"?pc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,O=m[2],L=O===void 0?void 0:O,R=ht(ht({},g),c);return Sd(o,function(N){for(var k in R)N.addCase(k,R[k]);for(var B=0,U=x;B<U.length;B++){var ye=U[B];N.addMatcher(ye.matcher,ye.reducer)}L&&N.addDefaultCase(L)})}var u;return{name:r,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Cd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ed=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=Cd[Math.random()*64|0];return r},Ad=["name","message","stack","code"],Rn=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),sc=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),wd=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=Ad;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},rx=function(){function e(r,o,n){var a=yt(r+"/fulfilled",function(m,h,g,S){return{payload:m,meta:An(ht({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=yt(r+"/pending",function(m,h,g){return{payload:void 0,meta:An(ht({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=yt(r+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||wd)(m||"Rejected"),meta:An(ht({},x||{}),{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 x=n?.idGenerator?n.idGenerator(m):Ed(),O=new p,L,R=!1;function N(B){L=B,O.abort()}var k=function(){return ud(this,null,function(){var B,U,ye,Me,ue,We,ie;return id(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Me=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),Nd(Me)?[4,Me]:[3,2];case 1:Me=y.sent(),y.label=2;case 2:if(Me===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ue=new Promise(function(b,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:L||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(b,I){return new Rn(b,I)},fulfillWithValue:function(b,I){return new sc(b,I)}})).then(function(b){if(b instanceof Rn)throw b;return b instanceof sc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return ye=y.sent(),[3,5];case 4:return We=y.sent(),ye=We instanceof Rn?c(null,x,m,We.payload,We.meta):c(We,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(ye)&&ye.meta.condition,ie||h(ye),[2,ye]}})})}();return Object.assign(k,{abort:N,requestId:x,arg:m,unwrap:function(){return k.then(Rd)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function Rd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Nd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fc="listener",hc="completed",yc="cancelled",ox="task-"+yc,nx="task-"+hc,ax=fc+"-"+yc,ix=fc+"-"+hc;var Tn="listenerMiddleware";var sx=yt(Tn+"/add"),cx=yt(Tn+"/removeAll"),lx=yt(Tn+"/remove");var cc,dx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(cc||(cc=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Td=function(e){return function(r){setTimeout(r,e)}},px=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Td(10);Ks();function Ld(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??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)}}}var uo=class extends Ld(Object){};window.ftReduxStores||(window.ftReduxStores={});var mc=class e extends uo{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(Or(i))return i;if(a==null)return;let c=uc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=dc({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(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new ro;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(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}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(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var bo=v(_());var Pd=v(bc(),1);var xc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(xc||(xc={}));var vc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(vc||(vc={}));var Sc;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Sc||(Sc={}));var Oc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Oc||(Oc={}));var Cc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Cc||(Cc={}));var Ec;(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.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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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_CONTEXT_MENU="SEARCH_RESULT__OPEN_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"})(Ec||(Ec={}));var Ac;(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"})(Ac||(Ac={}));var wc;(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"})(wc||(wc={}));var Rc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Rc||(Rc={}));var Nc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Nc||(Nc={}));var Tc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Tc||(Tc={}));var Lc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Lc||(Lc={}));var Ic;(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"})(Ic||(Ic={}));var _c;(function(e){e.ASC="ASC",e.DESC="DESC"})(_c||(_c={}));var Pc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Pc||(Pc={}));var kc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(kc||(kc={}));var Dc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Dc||(Dc={}));var Bc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Bc||(Bc={}));var Uc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Uc||(Uc={}));var $c;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})($c||($c={}));var Mc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Mc||(Mc={}));var Wc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Wc||(Wc={}));var oe;(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.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(oe||(oe={}));var zc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(zc||(zc={}));var Hc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Hc||(Hc={}));var Fc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Fc||(Fc={}));var _d={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Gc(e,r){return e===r||(_d[e]??[]).some(o=>Gc(o,r))}function jc(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Gc(n,r))}var yo=class extends dt{async listMySearches(){let{session:r}=P.getState();return jc(r,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var mo=class extends dt{async listMyBookmarks(){let r=P.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var kd="ft-user-assets",go=bo.FtReduxStore.get({name:kd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ln=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mo,this.savedSearchesService=new yo,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=P.getState();(0,bo.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();go.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;go.actions.bookmarks(o)}}},sv=new Ln;var In=class{addCommand(r,o=!1){P.commands.add(r,o)}consumeCommand(r){return P.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new In;var Vc=v(_()),_n=class{highlightHtml(r,o,n){(0,Vc.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new _n;var Kc=v(_());var Pn=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=P.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return Kc.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Pn;var Zc=v(_());var Nr=class{static get(r,o){var n,a,i,c;let l=P.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Zc.SearchPlaceConverter(l.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},r??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var kn=class{urlToSearchRequest(r){return Nr.get().parse(r)}searchRequestToUrl(r){return Nr.get().serialize(r)}};window.FluidTopicsUrlService=new kn;(0,qc.customElement)("ft-app-context")(Q);var el=v(ee());var Dd=v(_());function Yc(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Bd=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Xc=Symbol("i18nAttributes"),Qc=Symbol("i18nListAttributes"),tl=Symbol("i18nProperties"),xo=Symbol("i18nContexts"),Tr=Symbol("i18nUnsubs");function Oo(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Jr:Zt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let l=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...l)}customI18n(i,c){if(Yc(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,...m})}:g;(c=this[Xc])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[Qc])===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[tl])===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[Tr].has(p)||this[Tr].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[Tr].forEach(i=>i()),this[Tr].clear()}}return r=xo,o=Tr,Bd([(0,el.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Jc=class extends Oo(So.FtLitElement){},vo=class extends Oo(So.FtLitElementRedux){};var Lr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ue=class extends vo{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Co.nothing:Co.html`
1214
+ `}update(t){var o,n,a,i,c;super.update(t),t.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&P.actions.noCustom(this.noCustom),t.has("editorMode")&&P.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&P.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Yt.addContext(l)),t.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(P.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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())}};Q.elementDefinitions={};Q.styles=As;de([(0,Se.property)()],Q.prototype,"baseUrl",void 0);de([(0,Se.property)()],Q.prototype,"apiIntegrationIdentifier",void 0);de([(0,Se.property)()],Q.prototype,"uiLocale",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"availableUiLocales",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"metadataConfiguration",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"editorMode",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"noCustom",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"openExternalDocumentInNewTab",void 0);de([(0,Se.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Q.prototype,"noCustomComponent",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"withManualResources",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"navigatorOnline",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"forcedOffline",void 0);de([(0,Se.property)({type:Object})],Q.prototype,"apiProvider",void 0);de([(0,De.jsonProperty)([])],Q.prototype,"messageContexts",void 0);de([(0,De.jsonProperty)(void 0)],Q.prototype,"session",void 0);de([(0,Se.state)()],Q.prototype,"localesConfiguration",void 0);var Bd=v(ee());function Yl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ro(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(!ro(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(!ro(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function ro(e,t){try{return Yl(e,t)}catch{return!1}}function oo(e,t){return!ro(e,t)}var Xl=v(ee(),1);var no=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 Xt=v(ee(),1);var Ts=v(ee(),1);function Is(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Ts.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:oo,...t??{}})}var ao=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 _s=v(H(),1);var io=globalThis,Ql=io.ShadowRoot&&(io.ShadyCSS===void 0||io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vb=Symbol();var Ls=(e,t)=>{if(Ql)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=io.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var so=class extends _s.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 Ls(n,t.elementStyles),n}};function Ps(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 Cr=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,ks=Symbol("constructorPrototype"),Ds=Symbol("constructorName"),$s=Symbol("exportpartsDebouncer"),Bs=Symbol("dynamicDependenciesLoaded"),Je=class extends so{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Us]=new ao(5),this[Ds]=this.constructor.name,this[ks]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ds]&&Object.setPrototypeOf(this,this[ks])}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[Bs]||(t[Bs]=!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=Ps(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[$s].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:[],x=(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,...x).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(", "))}};Us=$s;Cr([(0,Xt.property)()],Je.prototype,"exportpartsPrefix",void 0);Cr([Is([])],Je.prototype,"exportpartsPrefixes",void 0);Cr([(0,Xt.property)()],Je.prototype,"customStylesheet",void 0);Cr([(0,Xt.property)()],Je.prototype,"elementToFocus",void 0);Cr([(0,Xt.state)()],Je.prototype,"useAdoptedStyleSheets",void 0);function Er(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Ms,Ws,Hs,wr=Symbol("internalReduxEventsUnsubscribers"),pt=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),Ar=class extends Je{constructor(){super(...arguments),this[Ms]=new Map,this[Ws]=new Map,this[Hs]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Rt].get(t)}addStore(t,o){var n;o=(n=o??(Er(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Rt].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Rt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Rt].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[pt].has(t.store):this[pt].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[pt].set(t,o.subscribe(()=>this.updateFromStores())),this[wr].set(t,[]),Er(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=l=>this[i](l);o.addEventListener(a.eventName,c),this[wr].get(t).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pt].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[pt].has(t)&&this[pt].get(t)(),this[pt].delete(t),(o=this[wr].get(t))===null||o===void 0||o.forEach(n=>n()),this[wr].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ms=pt,Ws=Rt,Hs=wr;Ar.reduxProperties=new Map;Ar.reduxReactiveProperties=new Set;Ar.reduxEventListeners=new Map;function Te(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 et(e){return!!e&&!!e[Z]}function Be(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)===id}(e)||Array.isArray(e)||!!e[Zs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Zs])||bn(e)||xn(e))}function Tt(e,t,o){o===void 0&&(o=!1),er(e)===0?(o?Object.keys:Jt)(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[Z];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:bn(e)?2:xn(e)?3:0}function Qt(e,t){return er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Jl(e,t){return er(e)===2?e.get(t):e[t]}function qs(e,t,o){var n=er(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Ys(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function bn(e){return nd&&e instanceof Map}function xn(e){return ad&&e instanceof Set}function ut(e){return e.o||e.t}function vn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Js(e);delete t[Z];for(var o=Jt(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 Sn(e,t){return t===void 0&&(t=!1),On(e)||et(e)||!Be(e)||(er(e)>1&&(e.set=e.add=e.clear=e.delete=ed),Object.freeze(e),t&&Tt(e,function(o,n){return Sn(n,!0)},!0)),e}function ed(){Te(2)}function On(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function je(e){var t=gn[e];return t||Te(18,e),t}function td(e,t){gn[e]||(gn[e]=t)}function hn(){return Rr}function dn(e,t){t&&(je("Patches"),e.u=[],e.s=[],e.v=t)}function co(e){yn(e),e.p.forEach(rd),e.p=null}function yn(e){e===Rr&&(Rr=e.l)}function zs(e){return Rr={p:[],l:Rr,h:e,m:!0,_:0}}function rd(e){var t=e[Z];t.i===0||t.i===1?t.j():t.g=!0}function pn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||je("ES5").S(t,e,n),n?(o[Z].P&&(co(t),Te(4)),Be(e)&&(e=lo(t,e),t.l||po(t,e)),t.u&&je("Patches").M(o[Z].t,e,t.u,t.s)):e=lo(t,o,[]),co(t),t.u&&t.v(t.u,t.s),e!==Qs?e:void 0}function lo(e,t,o){if(On(t))return t;var n=t[Z];if(!n)return Tt(t,function(l,p){return Fs(e,n,t,l,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return po(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=vn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Tt(i,function(l,p){return Fs(e,n,a,l,p,o,c)}),po(e,a,!1),o&&e.u&&je("Patches").N(n,o,e.u,e.s)}return n.o}function Fs(e,t,o,n,a,i,c){if(et(a)){var l=lo(e,a,i&&t&&t.i!==3&&!Qt(t.R,n)?i.concat(n):void 0);if(qs(o,n,l),!et(l))return;e.m=!1}else c&&o.add(a);if(Be(a)&&!On(a)){if(!e.h.D&&e._<1)return;lo(e,a),t&&t.A.l||po(e,a)}}function po(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Sn(t,o)}function un(e,t){var o=e[Z];return(o?ut(o):e)[t]}function Gs(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 ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function fn(e){e.o||(e.o=vn(e.t))}function mn(e,t,o){var n=bn(t)?je("MapSet").F(t,o):xn(t)?je("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:hn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=Tr;c&&(p=[l],u=Nr);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(t,o):je("ES5").J(t,o);return(o?o.A:hn()).p.push(n),n}function od(e){return et(e)||Te(22,e),function t(o){if(!Be(o))return o;var n,a=o[Z],i=er(o);if(a){if(!a.P&&(a.i<4||!je("ES5").K(a)))return a.t;a.I=!0,n=js(o,i),a.I=!1}else n=js(o,i);return Tt(n,function(c,l){a&&Jl(a.t,c)===l||qs(n,c,t(l))}),i===3?new Set(n):n}(e)}function js(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return vn(e)}function Xs(){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[Z];return Tr.get(u,c)},set:function(u){var m=this[Z];Tr.set(m,c,u)}},p}function t(c){for(var l=c.length-1;l>=0;l--){var p=c[l][Z];if(!p.P)switch(p.i){case 5:n(p)&&ft(p);break;case 4:o(p)&&ft(p)}}}function o(c){for(var l=c.t,p=c.k,u=Jt(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==Z){var g=l[h];if(g===void 0&&!Qt(l,h))return!0;var S=p[h],x=S&&S[Z];if(x?x.t!==g:!Ys(S,g))return!0}}var O=!!l[Z];return u.length!==Jt(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&&Te(3,JSON.stringify(ut(c)))}var i={};td("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var O=Js(g);delete O[Z];for(var I=Jt(O),N=0;N<I.length;N++){var R=I[N];O[R]=e(R,h||!!O[R].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:hn(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(c,l,p){p?et(l)&&l[Z].A===c&&t(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[Z];if(h){var g=h.t,S=h.k,x=h.R,O=h.i;if(O===4)Tt(S,function(B){B!==Z&&(g[B]!==void 0||Qt(g,B)?x[B]||u(S[B]):(x[B]=!0,ft(h)))}),Tt(g,function(B){S[B]!==void 0||Qt(S,B)||(x[B]=!1,ft(h))});else if(O===5){if(n(h)&&(ft(h),x.length=!0),S.length<g.length)for(var I=S.length;I<g.length;I++)x[I]=!1;else for(var N=g.length;N<S.length;N++)x[N]=!0;for(var R=Math.min(S.length,g.length),k=0;k<R;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&u(S[k])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Vs,Rr,Cn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",nd=typeof Map<"u",ad=typeof Set<"u",Ks=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qs=Cn?Symbol.for("immer-nothing"):((Vs={})["immer-nothing"]=!0,Vs),Zs=Cn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=Cn?Symbol.for("immer-state"):"__$immer_state";var id=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Js=Object.getOwnPropertyDescriptors||function(e){var t={};return Jt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},gn={},Tr={get:function(e,t){if(t===Z)return e;var o=ut(e);if(!Qt(o,t))return function(a,i,c){var l,p=Gs(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||!Be(n)?n:n===un(e.t,t)?(fn(e),e.o[t]=mn(e.A.h,n,e)):n},has:function(e,t){return t in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,t,o){var n=Gs(ut(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=un(ut(e),t),i=a?.[Z];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Ys(o,a)&&(o!==void 0||Qt(e.t,t)))return!0;fn(e),ft(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 un(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,fn(e),ft(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ut(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Nr={};Tt(Tr,function(e,t){Nr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Nr.deleteProperty=function(e,t){return Nr.set.call(this,e,t,void 0)},Nr.set=function(e,t,o){return Tr.set.call(this,e[0],t,o,e[0])};var sd=function(){function e(o){var n=this;this.O=Ks,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 I=this;O===void 0&&(O=l);for(var N=arguments.length,R=Array(N>1?N-1:0),k=1;k<N;k++)R[k-1]=arguments[k];return p.produce(O,function(B){var U;return(U=i).call.apply(U,[I,B].concat(R))})}}var u;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Be(a)){var m=zs(n),h=mn(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?co(m):yn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return dn(m,c),pn(O,m)},function(O){throw co(m),O}):(dn(m,c),pn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Qs&&(u=void 0),n.D&&Sn(u,!0),c){var S=[],x=[];je("Patches").M(a,u,S,x),c(S,x)}return u}Te(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){Be(o)||Te(8),et(o)&&(o=od(o));var n=zs(this),a=mn(this,o,void 0);return a[Z].C=!0,yn(n),a},t.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return dn(i,n),pn(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Ks&&Te(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=je("Patches").$;return et(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Ne=new sd,cd=Ne.produce,kb=Ne.produceWithPatches.bind(Ne),Db=Ne.setAutoFreeze.bind(Ne),Bb=Ne.setUseProxies.bind(Ne),Ub=Ne.applyPatches.bind(Ne),$b=Ne.createDraft.bind(Ne),Mb=Ne.finishDraft.bind(Ne),uo=cd;function It(e){"@babel/helpers - typeof";return It=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},It(e)}function ec(e,t){if(It(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(It(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tc(e){var t=ec(e,"string");return It(t)=="symbol"?t:t+""}function rc(e,t,o){return(t=tc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function oc(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 En(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?oc(Object(o),!0).forEach(function(n){rc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(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 nc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),wn=function(){return Math.random().toString(36).substring(7).split("").join(".")},fo={INIT:"@@redux/INIT"+wn(),REPLACE:"@@redux/REPLACE"+wn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wn()}};function ld(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 An(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(An)(e,t)}if(typeof e!="function")throw new Error(pe(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(pe(3));return i}function h(O){if(typeof O!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var I=!0;return u(),l.push(O),function(){if(I){if(p)throw new Error(pe(6));I=!1,u();var R=l.indexOf(O);l.splice(R,1),c=null}}}function g(O){if(!ld(O))throw new Error(pe(7));if(typeof O.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var I=c=l,N=0;N<I.length;N++){var R=I[N];R()}return O}function S(O){if(typeof O!="function")throw new Error(pe(10));a=O,g({type:fo.REPLACE})}function x(){var O,I=h;return O={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(pe(11));function k(){R.next&&R.next(m())}k();var B=I(k);return{unsubscribe:B}}},O[nc]=function(){return this},O}return g({type:fo.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[nc]=x,n}function dd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:fo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:fo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function ac(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{dd(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={},x=0;x<i.length;x++){var O=i[x],I=o[O],N=u[O],R=I(N,m);if(typeof R>"u"){var k=m&&m.type;throw new Error(pe(14))}S[O]=R,g=g||R!==N}return g=g||i.length!==Object.keys(u).length,g?S:u}}function tr(){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 ic(){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(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(p){return p(c)});return i=tr.apply(void 0,l)(a.dispatch),En(En({},a),{},{dispatch:i})}}}function sc(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 cc=sc();cc.withExtraArgument=sc;var Nn=cc;var fc=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)}}(),pd=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}}},rr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},ud=Object.defineProperty,fd=Object.defineProperties,hd=Object.getOwnPropertyDescriptors,lc=Object.getOwnPropertySymbols,yd=Object.prototype.hasOwnProperty,md=Object.prototype.propertyIsEnumerable,dc=function(e,t,o){return t in e?ud(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},ht=function(e,t){for(var o in t||(t={}))yd.call(t,o)&&dc(e,o,t[o]);if(lc)for(var n=0,a=lc(t);n<a.length;n++){var o=a[n];md.call(t,o)&&dc(e,o,t[o])}return e},Rn=function(e,t){return fd(e,hd(t))},gd=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 bd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tr:tr.apply(null,arguments)},ox=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function xd(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 vd=function(e){fc(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,rr([void 0],o[0].concat(this)))):new(t.bind.apply(t,rr([void 0],o.concat(this))))},t}(Array),Sd=function(e){fc(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,rr([void 0],o[0].concat(this)))):new(t.bind.apply(t,rr([void 0],o.concat(this))))},t}(Array);function Ln(e){return Be(e)?uo(e,function(){}):e}function Od(e){return typeof e=="boolean"}function Cd(){return function(t){return Ed(t)}}function Ed(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 vd;if(o&&(Od(o)?l.push(Nn):l.push(Nn.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return l}var Tn=!0;function hc(e){var t=Cd(),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(xd(a))S=ac(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 x=c;if(typeof x=="function"&&(x=x(t),!Tn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Tn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ic.apply(void 0,x),I=tr;p&&(I=bd(ht({trace:!Tn},typeof p=="object"&&p)));var N=new Sd(O),R=N;Array.isArray(g)?R=rr([O],g):typeof g=="function"&&(R=g(N));var k=I.apply(void 0,R);return An(S,m,k)}function yt(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 ht(ht({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 yc(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 wd(e){return typeof e=="function"}function Ad(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?yc(t):[t,o,n],i=a[0],c=a[1],l=a[2],p;if(wd(e))p=function(){return Ln(e())};else{var u=Ln(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=rr([i[g.type]],c.filter(function(x){var O=x.matcher;return O(g)}).map(function(x){var O=x.reducer;return O}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,O){if(O)if(et(x)){var I=x,N=O(I,g);return N===void 0?x:N}else{if(Be(x))return uo(x,function(R){return O(R,g)});var N=O(x,g);if(N===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return x},h)}return m.getInitialState=p,m}function Nd(e,t){return e+"/"+t}function mc(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:Ln(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(m){var h=n[m],g=Nd(t,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,l[m]=x?yt(g,x):yt(g)});function p(){var m=typeof e.extraReducers=="function"?yc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,O=m[2],I=O===void 0?void 0:O,N=ht(ht({},g),c);return Ad(o,function(R){for(var k in N)R.addCase(k,N[k]);for(var B=0,U=x;B<U.length;B++){var ye=U[B];R.addMatcher(ye.matcher,ye.reducer)}I&&R.addDefaultCase(I)})}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 Rd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Td=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Rd[Math.random()*64|0];return t},Id=["name","message","stack","code"],In=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),pc=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ld=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Id;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},sx=function(){function e(t,o,n){var a=yt(t+"/fulfilled",function(m,h,g,S){return{payload:m,meta:Rn(ht({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=yt(t+"/pending",function(m,h,g){return{payload:void 0,meta:Rn(ht({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=yt(t+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||Ld)(m||"Rejected"),meta:Rn(ht({},x||{}),{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 x=n?.idGenerator?n.idGenerator(m):Td(),O=new p,I,N=!1;function R(B){I=B,O.abort()}var k=function(){return gd(this,null,function(){var B,U,ye,Me,ue,We,ie;return pd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Me=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),Pd(Me)?[4,Me]:[3,2];case 1:Me=y.sent(),y.label=2;case 2:if(Me===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ue=new Promise(function(b,_){return O.signal.addEventListener("abort",function(){return _({name:"AbortError",message:I||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:O.signal,abort:R,rejectWithValue:function(b,_){return new In(b,_)},fulfillWithValue:function(b,_){return new pc(b,_)}})).then(function(b){if(b instanceof In)throw b;return b instanceof pc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return ye=y.sent(),[3,5];case 4:return We=y.sent(),ye=We instanceof In?c(null,x,m,We.payload,We.meta):c(We,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(ye)&&ye.meta.condition,ie||h(ye),[2,ye]}})})}();return Object.assign(k,{abort:R,requestId:x,arg:m,unwrap:function(){return k.then(_d)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function _d(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Pd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var gc="listener",bc="completed",xc="cancelled",cx="task-"+xc,lx="task-"+bc,dx=gc+"-"+xc,px=gc+"-"+bc;var _n="listenerMiddleware";var ux=yt(_n+"/add"),fx=yt(_n+"/removeAll"),hx=yt(_n+"/remove");var uc,yx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(uc||(uc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},kd=function(e){return function(t){setTimeout(t,e)}},mx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kd(10);Xs();function Dd(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)}}}var ho=class extends Dd(Object){};window.ftReduxStores||(window.ftReduxStores={});var vc=class e extends ho{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(Er(i))return i;if(a==null)return;let c=mc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=hc({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 no;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 vo=v(L());var $d=v(Oc(),1);var Cc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Cc||(Cc={}));var Ec;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ec||(Ec={}));var wc;(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.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(wc||(wc={}));var Ac;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ac||(Ac={}));var Nc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Nc||(Nc={}));var Rc;(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.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.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_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_CONTEXT_MENU="SEARCH_RESULT__OPEN_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"})(Rc||(Rc={}));var Tc;(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"})(Tc||(Tc={}));var Ic;(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"})(Ic||(Ic={}));var Lc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Lc||(Lc={}));var _c;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(_c||(_c={}));var Pc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Pc||(Pc={}));var kc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(kc||(kc={}));var Dc;(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"})(Dc||(Dc={}));var Bc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Bc||(Bc={}));var Uc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Uc||(Uc={}));var $c;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($c||($c={}));var Mc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Mc||(Mc={}));var Wc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Wc||(Wc={}));var Hc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Hc||(Hc={}));var zc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(zc||(zc={}));var Fc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Fc||(Fc={}));var Gc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Gc||(Gc={}));var oe;(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.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(oe||(oe={}));var jc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(jc||(jc={}));var Vc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Vc||(Vc={}));var Kc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Kc||(Kc={}));var Ud={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Zc(e,t){return e===t||(Ud[e]??[]).some(o=>Zc(o,t))}function qc(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=>Zc(n,t))}var go=class extends dt{async listMySearches(){let{session:t}=P.getState();return qc(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var bo=class extends dt{async listMyBookmarks(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Md="ft-user-assets",xo=vo.FtReduxStore.get({name:Md,initialState:{savedSearches:void 0,bookmarks:void 0}}),Pn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new bo,this.savedSearchesService=new go,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=P.getState();(0,vo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();xo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;xo.actions.bookmarks(o)}}},uv=new Pn;var kn=class{addCommand(t,o=!1){P.commands.add(t,o)}consumeCommand(t){return P.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new kn;var Yc=v(L()),Dn=class{highlightHtml(t,o,n){(0,Yc.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Dn;var Xc=v(L());var Bn=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=P.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 Xc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Bn;var Qc=v(L());var Ir=class{static get(t,o){var n,a,i,c;let l=P.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Qc.SearchPlaceConverter(l.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},t??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var Un=class{urlToSearchRequest(t){return Ir.get().parse(t)}searchRequestToUrl(t){return Ir.get().serialize(t)}};window.FluidTopicsUrlService=new Un;var gt=v(L());var Lt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Lt.eventName="change";var $n=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))}},Jc=new $n;var So=class e extends gt.WithEventBus{static build(){return new e(window.history,Jc,()=>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,gt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Lt(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,o=!1){var n,a,i;let c={...this.buildCurrentState(),...t,index:this.currentIndex,title:(n=t?.title)!==null&&n!==void 0?n:this.currentState.title},l=o?(a=t?.majorState)!==null&&a!==void 0?a:this.currentState.majorState:(i=this.currentState.majorState)!==null&&i!==void 0?i:t?.majorState;l!=null&&(c.majorState=l),this.setCurrentState(c)}addHistoryChangeListener(t){this.addEventListener(Lt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Lt.eventName,t)}currentItem(){return(0,gt.deepCopy)(this.currentState)}back(){let t=this.previousMajorPosition();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,gt.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let t=this.currentIndex;for(;t>0&&!this.isMajorState(t);)t--;return this.previousExistingPosition(t)}forward(){let t=this.nextMajorPosition();t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){return(0,gt.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let t=this.currentIndex;do t++;while(t<this.states.length&&!this.isMajorState(t));do t++;while(t<this.states.length&&!this.isMajorState(t));return this.previousExistingPosition(t)}previousExistingPosition(t){let o=t;do o--;while(o>0&&!this.hasState(o));return o}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}isMajorState(t){var o,n;return this.hasState(t)&&((n=(o=this.states[t])===null||o===void 0?void 0:o.majorState)!==null&&n!==void 0?n:!0)}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=So.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)});(0,el.customElement)("ft-app-context")(Q);var al=v(ee());var Wd=v(L());function tl(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Hd=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=Symbol("i18nAttributes"),ol=Symbol("i18nListAttributes"),il=Symbol("i18nProperties"),Oo=Symbol("i18nContexts"),Lr=Symbol("i18nUnsubs");function wo(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?to:Yt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let l=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...l)}customI18n(i,c){if(tl(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,...m})}:g;(c=this[rl])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[ol])===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[il])===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[Oo].set(p,{isCustomContext:l}),this[Lr].has(p)||this[Lr].set(p,this.getI18nService(l).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(l).prepareContext(p,c)}hasI18nContext(i){return this[Oo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Oo].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lr].forEach(i=>i()),this[Lr].clear()}}return t=Oo,o=Lr,Hd([(0,al.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var nl=class extends wo(Eo.FtLitElement){},Co=class extends wo(Eo.FtLitElementRedux){};var _r=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},Ue=class extends Co{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ao.nothing:Ao.html`
1215
1215
  <span class="ft-i18n">
1216
1216
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1217
1217
  </span>
1218
- `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ue.elementDefinitions={};Ue.styles=vs;Lr([(0,Ao.redux)()],Ue.prototype,"editorMode",void 0);Lr([(0,Eo.property)()],Ue.prototype,"context",void 0);Lr([(0,Eo.property)()],Ue.prototype,"key",void 0);Lr([(0,Ao.jsonProperty)([])],Ue.prototype,"args",void 0);Lr([(0,Eo.property)()],Ue.prototype,"defaultMessage",void 0);var wo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Jr:Zt}constructor(r,o=!1){this.name=r,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)})}};(0,rl.customElement)("ft-i18n")(Ue);var gt=wo.build("designedReaderToc"),ol={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var F=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},M=class extends Oo(Lt){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Ee.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ee.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=xe.M,this.nodesToExpandExist=!1,this.addI18nContext(gt,ol)}update(r){var o,n,a;super.update(r),r.has("toc")&&(this.nodesToExpandExist=((o=this.toc)!==null&&o!==void 0?o:[]).some(i=>i.children.length>0)),r.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(r){var o,n;if(super.contentAvailableCallback(r),this.scrollCurrentTopicIntoView&&r.has("highlightedTocIds")&&this.highlightedTocIds&&((o=this.highlightedTocIds)===null||o===void 0?void 0:o.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&$e.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var r;let o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===xe.S,"ft-reader-toc-desktop":this.viewportSize!==xe.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return Oe.html`
1219
- <div class=${(0,nl.classMap)(o)}>
1218
+ `}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:""})}};Ue.elementDefinitions={};Ue.styles=Es;_r([(0,Ro.redux)()],Ue.prototype,"editorMode",void 0);_r([(0,No.property)()],Ue.prototype,"context",void 0);_r([(0,No.property)()],Ue.prototype,"key",void 0);_r([(0,Ro.jsonProperty)([])],Ue.prototype,"args",void 0);_r([(0,No.property)()],Ue.prototype,"defaultMessage",void 0);var To=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?to:Yt}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)})}};(0,sl.customElement)("ft-i18n")(Ue);var bt=To.build("designedReaderToc"),cl={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var F=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},M=class extends wo(_t){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Ee.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ee.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=xe.M,this.nodesToExpandExist=!1,this.addI18nContext(bt,cl)}update(t){var o,n,a;super.update(t),t.has("toc")&&(this.nodesToExpandExist=((o=this.toc)!==null&&o!==void 0?o:[]).some(i=>i.children.length>0)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(t){var o,n;if(super.contentAvailableCallback(t),this.scrollCurrentTopicIntoView&&t.has("highlightedTocIds")&&this.highlightedTocIds&&((o=this.highlightedTocIds)===null||o===void 0?void 0:o.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&$e.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var t;let o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===xe.S,"ft-reader-toc-desktop":this.viewportSize!==xe.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return Oe.html`
1219
+ <div class=${(0,ll.classMap)(o)}>
1220
1220
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
1221
1221
  ${this.renderExpandCollapseAll()}
1222
- ${(0,Dn.repeat)((r=this.toc)!==null&&r!==void 0?r:[],n=>n.tocId,n=>this.renderNode(n))}
1222
+ ${(0,Mn.repeat)((t=this.toc)!==null&&t!==void 0?t:[],n=>n.tocId,n=>this.renderNode(n))}
1223
1223
  </div>
1224
1224
  `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?Oe.html`
1225
1225
  <div part="expand-collapse-all-container"
@@ -1228,16 +1228,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1228
1228
  class="ft-reader-toc--expand-collapse-all-button"
1229
1229
  iconVariant="${this.expandCollapseAllIconVariant}"
1230
1230
  icon="${this.expandCollapseAllHideIcon?"":this.expandAll?this.collapseAllIcon||"ICON_COLLAPSE":this.expandAllIcon||"ICON_EXPAND"}"
1231
- label="${this.expandAll?gt.messages.collapseAllLong():gt.messages.expandAllLong()}"
1231
+ label="${this.expandAll?bt.messages.collapseAllLong():bt.messages.expandAllLong()}"
1232
1232
  tooltipPosition="${this.getExpandCollapseAllTooltipPosition()}"
1233
1233
  ?trailingIcon=${this.expandCollapseAllTrailingIcon}
1234
1234
  @click=${()=>this.toggleExpandCollapseAll()}>
1235
- ${this.expandCollapseAllHideLabel?"":this.expandAll?gt.messages.collapseAll():gt.messages.expandAll()}
1235
+ ${this.expandCollapseAllHideLabel?"":this.expandAll?bt.messages.collapseAll():bt.messages.expandAll()}
1236
1236
  </ft-button>
1237
1237
  </div>
1238
- `:Oe.nothing}renderNode(r){var o,n,a;let i=(o=this.highlightedTocIds)===null||o===void 0?void 0:o.includes(r.tocId),c=this.expanded||this.manuallyExpandedNodes.has(r.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(r.tocId))&&!this.manuallyCollapsedNodes.has(r.tocId),l=r.children.length>0,p=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,u=r.depth-1-p,m={"padding-left":`calc( ${ae.tabulationSize} * ${u} + 4px)`};return Oe.html`
1238
+ `:Oe.nothing}renderNode(t){var o,n,a;let i=(o=this.highlightedTocIds)===null||o===void 0?void 0:o.includes(t.tocId),c=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),l=t.children.length>0,p=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,u=t.depth-1-p,m={"padding-left":`calc( ${ae.tabulationSize} * ${u} + 4px)`};return Oe.html`
1239
1239
  <div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
1240
- <div class="ft-reader-toc--link-container" data-depth="${r.depth}" style=${(0,al.styleMap)(m)}>
1240
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,dl.styleMap)(m)}>
1241
1241
  ${this.nodesToExpandExist&&!this.expanded?Oe.html`
1242
1242
  <div class="ft-reader-toc--toggle-container">
1243
1243
  ${l?Oe.html`
@@ -1245,12 +1245,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1245
1245
  class="ft-reader-toc--tree-node-button"
1246
1246
  round hideTooltip
1247
1247
  ?dense=${this.viewportSize!==xe.S}
1248
- label="${c?gt.messages.collapse(r.title):gt.messages.expand(r.title)}"
1248
+ label="${c?bt.messages.collapse(t.title):bt.messages.expand(t.title)}"
1249
1249
  .iconVariant="${this.iconVariant}"
1250
1250
  icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
1251
- @click=${()=>this.manuallyToggle(r.tocId,c)}
1252
- data-expand-node="${r.tocId}"
1253
- aria-controls="${r.tocId}-children"
1251
+ @click=${()=>this.manuallyToggle(t.tocId,c)}
1252
+ data-expand-node="${t.tocId}"
1253
+ aria-controls="${t.tocId}-children"
1254
1254
  aria-expanded="${c}">
1255
1255
  </ft-button>
1256
1256
  `:this.getLeafNodeIcon()}
@@ -1259,26 +1259,26 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1259
1259
  ${this.translationLoading?Oe.html`
1260
1260
  <ft-skeleton></ft-skeleton>`:Oe.html`
1261
1261
  <ft-reader-internal-link part="node-link"
1262
- tocId="${r.tocId}"
1262
+ tocId="${t.tocId}"
1263
1263
  removeStyle>
1264
- <ft-typography part="node-label" variant="body2">${r.title}</ft-typography>
1264
+ <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
1265
1265
  </ft-reader-internal-link>
1266
1266
  `}
1267
1267
  </div>
1268
1268
  ${l?Oe.html`
1269
- <div id="${r.tocId}-children"
1269
+ <div id="${t.tocId}-children"
1270
1270
  class="ft-reader-toc--node-children"
1271
1271
  ?hidden=${!c}>
1272
- ${(0,Dn.repeat)(c?r.children:[],h=>h.tocId,h=>this.renderNode(h))}
1272
+ ${(0,Mn.repeat)(c?t.children:[],h=>h.tocId,h=>this.renderNode(h))}
1273
1273
  </div>
1274
1274
  `:Oe.nothing}
1275
1275
  </div>
1276
- `}buildAutomaticallyExpandedNodes(r){var o,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of r){let c=i;for(;c&&!a.has(c);)a.add(c),this.manuallyCollapsedNodes.delete(c),c=(n=(o=this.service)===null||o===void 0?void 0:o.getTocNodeNow(c))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(r,o){o?(this.manuallyCollapsedNodes.add(r),this.manuallyExpandedNodes.delete(r)):(this.manuallyExpandedNodes.add(r),this.manuallyCollapsedNodes.delete(r)),this.requestUpdate()}onViewportSizeChange(r){this.viewportSize=r.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return Oe.html`
1276
+ `}buildAutomaticallyExpandedNodes(t){var o,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let c=i;for(;c&&!a.has(c);)a.add(c),this.manuallyCollapsedNodes.delete(c),c=(n=(o=this.service)===null||o===void 0?void 0:o.getTocNodeNow(c))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return Oe.html`
1277
1277
  <ft-icon class="ft-reader-toc--leaf-node-icon"
1278
1278
  part="leaf-node-icon"
1279
1279
  .variant="${this.leafNodeIconVariant}"
1280
1280
  .value="${this.leafNodeIcon}"></ft-icon>
1281
- `}};M.elementDefinitions={"ft-button":Pe,"ft-icon":he,"ft-reader-internal-link":Le,"ft-size-watcher":we,"ft-typography":Ce,"ft-skeleton":lt};M.styles=fs;F([(0,G.property)({type:Boolean})],M.prototype,"expanded",void 0);F([(0,G.property)()],M.prototype,"iconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseIcon",void 0);F([(0,G.property)()],M.prototype,"expandIcon",void 0);F([(0,G.property)()],M.prototype,"leafNodeIconVariant",void 0);F([(0,G.property)()],M.prototype,"leafNodeIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAll",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideLabel",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllTrailingIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllAlignment",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllIconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseAllIcon",void 0);F([(0,G.property)()],M.prototype,"expandAllIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"autoCollapse",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"scrollCurrentTopicIntoView",void 0);F([(0,G.property)()],M.prototype,"scope",void 0);F([(0,G.property)({type:Boolean,reflect:!0})],M.prototype,"empty",void 0);F([(0,$e.redux)({selector:(e,r)=>{var o,n,a;return r.isCurrentPageToc?!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc?(n=e.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=e.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?e.pagesToc:e.toc}})],M.prototype,"toc",void 0);F([(0,$e.redux)()],M.prototype,"currentPage",void 0);F([(0,$e.redux)({selector:(e,r)=>{var o,n;return!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc&&!r.isCurrentPageToc?!((n=e.currentPage)===null||n===void 0)&&n.rootTocId?[e.currentPage.rootTocId]:[]:e.visibleTopics}})],M.prototype,"highlightedTocIds",void 0);F([(0,$e.redux)({selector:e=>e.translation.isLoading})],M.prototype,"translationLoading",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"automaticallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyCollapsedNodes",void 0);F([(0,G.state)()],M.prototype,"expandAll",void 0);F([(0,G.state)()],M.prototype,"viewportSize",void 0);(0,il.customElement)("ft-reader-toc")(M);})();
1281
+ `}};M.elementDefinitions={"ft-button":Pe,"ft-icon":he,"ft-reader-internal-link":Ie,"ft-size-watcher":Ae,"ft-typography":Ce,"ft-skeleton":lt};M.styles=gs;F([(0,G.property)({type:Boolean})],M.prototype,"expanded",void 0);F([(0,G.property)()],M.prototype,"iconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseIcon",void 0);F([(0,G.property)()],M.prototype,"expandIcon",void 0);F([(0,G.property)()],M.prototype,"leafNodeIconVariant",void 0);F([(0,G.property)()],M.prototype,"leafNodeIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAll",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideLabel",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllTrailingIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllAlignment",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllIconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseAllIcon",void 0);F([(0,G.property)()],M.prototype,"expandAllIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"autoCollapse",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"scrollCurrentTopicIntoView",void 0);F([(0,G.property)()],M.prototype,"scope",void 0);F([(0,G.property)({type:Boolean,reflect:!0})],M.prototype,"empty",void 0);F([(0,$e.redux)({selector:(e,t)=>{var o,n,a;return t.isCurrentPageToc?!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc?(n=e.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=e.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?e.pagesToc:e.toc}})],M.prototype,"toc",void 0);F([(0,$e.redux)()],M.prototype,"currentPage",void 0);F([(0,$e.redux)({selector:(e,t)=>{var o,n;return!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc&&!t.isCurrentPageToc?!((n=e.currentPage)===null||n===void 0)&&n.rootTocId?[e.currentPage.rootTocId]:[]:e.visibleTopics}})],M.prototype,"highlightedTocIds",void 0);F([(0,$e.redux)({selector:e=>e.translation.isLoading})],M.prototype,"translationLoading",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"automaticallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyCollapsedNodes",void 0);F([(0,G.state)()],M.prototype,"expandAll",void 0);F([(0,G.state)()],M.prototype,"viewportSize",void 0);(0,pl.customElement)("ft-reader-toc")(M);})();
1282
1282
  /*! Bundled license information:
1283
1283
 
1284
1284
  lit-html/lit-html.js: