@fluid-topics/ft-text-input 1.2.71

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.
@@ -0,0 +1,808 @@
1
+ "use strict";(()=>{var Ol=Object.create;var Cn=Object.defineProperty;var Cl=Object.getOwnPropertyDescriptor;var El=Object.getOwnPropertyNames;var wl=Object.getPrototypeOf,Al=Object.prototype.hasOwnProperty;var at=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Rl=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of El(r))!Al.call(e,a)&&a!==o&&Cn(e,a,{get:()=>r[a],enumerable:!(n=Cl(r,a))||n.enumerable});return e};var S=(e,r,o)=>(o=e!=null?Ol(wl(e)):{},Rl(r||!e||!e.__esModule?Cn(o,"default",{value:e,enumerable:!0}):o,e));var P=at((Xc,En)=>{En.exports=ftGlobals.wcUtils});var G=at((Jc,wn)=>{wn.exports=ftGlobals.lit});var te=at((Qc,An)=>{An.exports=ftGlobals.litDecorators});var Zt=at((jf,ea)=>{ea.exports=ftGlobals.litClassMap});var Wa=at((ng,Ha)=>{Ha.exports=ftGlobals.litUnsafeHTML});var Ya=at((Cg,qa)=>{qa.exports=ftGlobals.litRepeat});var Ji=at((tt,Xi)=>{var Wr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Fr=function(){function e(){this.fetch=!1,this.DOMException=Wr.DOMException}return e.prototype=Wr,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 s(f){return f&&DataView.prototype.isPrototypeOf(f)}if(a.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(f){return f&&l.indexOf(Object.prototype.toString.call(f))>-1};function u(f){if(typeof f!="string"&&(f=String(f)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function p(f){return typeof f!="string"&&(f=String(f)),f}function g(f){var m={next:function(){var I=f.shift();return{done:I===void 0,value:I}}};return a.iterable&&(m[Symbol.iterator]=function(){return m}),m}function h(f){this.map={},f instanceof h?f.forEach(function(m,I){this.append(I,m)},this):Array.isArray(f)?f.forEach(function(m){if(m.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+m.length);this.append(m[0],m[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(m){this.append(m,f[m])},this)}h.prototype.append=function(f,m){f=u(f),m=p(m);var I=this.map[f];this.map[f]=I?I+", "+m:m},h.prototype.delete=function(f){delete this.map[u(f)]},h.prototype.get=function(f){return f=u(f),this.has(f)?this.map[f]:null},h.prototype.has=function(f){return this.map.hasOwnProperty(u(f))},h.prototype.set=function(f,m){this.map[u(f)]=p(m)},h.prototype.forEach=function(f,m){for(var I in this.map)this.map.hasOwnProperty(I)&&f.call(m,this.map[I],I,this)},h.prototype.keys=function(){var f=[];return this.forEach(function(m,I){f.push(I)}),g(f)},h.prototype.values=function(){var f=[];return this.forEach(function(m){f.push(m)}),g(f)},h.prototype.entries=function(){var f=[];return this.forEach(function(m,I){f.push([I,m])}),g(f)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function y(f){if(!f._noBody){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}}function x(f){return new Promise(function(m,I){f.onload=function(){m(f.result)},f.onerror=function(){I(f.error)}})}function b(f){var m=new FileReader,I=x(m);return m.readAsArrayBuffer(f),I}function v(f){var m=new FileReader,I=x(m),M=/charset=([A-Za-z0-9_-]+)/.exec(f.type),$=M?M[1]:"utf-8";return m.readAsText(f,$),I}function R(f){for(var m=new Uint8Array(f),I=new Array(m.length),M=0;M<m.length;M++)I[M]=String.fromCharCode(m[M]);return I.join("")}function w(f){if(f.slice)return f.slice(0);var m=new Uint8Array(f.byteLength);return m.set(new Uint8Array(f)),m.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:a.blob&&Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:a.formData&&FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():a.arrayBuffer&&a.blob&&s(f)?(this._bodyArrayBuffer=w(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(f)||d(f))?this._bodyArrayBuffer=w(f):this._bodyText=f=Object.prototype.toString.call(f):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof f=="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(f)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var f=y(this);if(f)return f;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 f=y(this);return f||(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(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var f=y(this);if(f)return f;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(R(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(se)}),this.json=function(){return this.text().then(JSON.parse)},this}var _=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(f){var m=f.toUpperCase();return _.indexOf(m)>-1?m:f}function D(f,m){if(!(this instanceof D))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');m=m||{};var I=m.body;if(f instanceof D){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,m.headers||(this.headers=new h(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!I&&f._bodyInit!=null&&(I=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new h(m.headers)),this.method=k(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal||function(){if("AbortController"in n){var B=new AbortController;return B.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")&&(m.cache==="no-store"||m.cache==="no-cache")){var M=/([?&])_=[^&]*/;if(M.test(this.url))this.url=this.url.replace(M,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}D.prototype.clone=function(){return new D(this,{body:this._bodyInit})};function se(f){var m=new FormData;return f.trim().split("&").forEach(function(I){if(I){var M=I.split("="),$=M.shift().replace(/\+/g," "),B=M.join("=").replace(/\+/g," ");m.append(decodeURIComponent($),decodeURIComponent(B))}}),m}function we(f){var m=new h,I=f.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(M){return M.indexOf(`
2
+ `)===0?M.substr(1,M.length):M}).forEach(function(M){var $=M.split(":"),B=$.shift().trim();if(B){var br=$.join(":").trim();try{m.append(B,br)}catch(uo){console.warn("Response "+uo.message)}}}),m}A.call(D.prototype);function ie(f,m){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(m||(m={}),this.type="default",this.status=m.status===void 0?200:m.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=m.statusText===void 0?"":""+m.statusText,this.headers=new h(m.headers),this.url=m.url||"",this._initBody(f)}A.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ie.error=function(){var f=new ie(null,{status:200,statusText:""});return f.ok=!1,f.status=0,f.type="error",f};var Ae=[301,302,303,307,308];ie.redirect=function(f,m){if(Ae.indexOf(m)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:m,headers:{location:f}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(m,I){this.message=m,this.name=I;var M=Error(m);this.stack=M.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function X(f,m){return new Promise(function(I,M){var $=new D(f,m);if($.signal&&$.signal.aborted)return M(new o.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function br(){B.abort()}B.onload=function(){var J={statusText:B.statusText,headers:we(B.getAllResponseHeaders()||"")};$.url.indexOf("file://")===0&&(B.status<200||B.status>599)?J.status=200:J.status=B.status,J.url="responseURL"in B?B.responseURL:J.headers.get("X-Request-URL");var nt="response"in B?B.response:B.responseText;setTimeout(function(){I(new ie(nt,J))},0)},B.onerror=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},B.ontimeout=function(){setTimeout(function(){M(new TypeError("Network request timed out"))},0)},B.onabort=function(){setTimeout(function(){M(new o.DOMException("Aborted","AbortError"))},0)};function uo(J){try{return J===""&&n.location.href?n.location.href:J}catch{return J}}if(B.open($.method,uo($.url),!0),$.credentials==="include"?B.withCredentials=!0:$.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&(a.blob?B.responseType="blob":a.arrayBuffer&&(B.responseType="arraybuffer")),m&&typeof m.headers=="object"&&!(m.headers instanceof h||n.Headers&&m.headers instanceof n.Headers)){var On=[];Object.getOwnPropertyNames(m.headers).forEach(function(J){On.push(u(J)),B.setRequestHeader(J,p(m.headers[J]))}),$.headers.forEach(function(J,nt){On.indexOf(nt)===-1&&B.setRequestHeader(nt,J)})}else $.headers.forEach(function(J,nt){B.setRequestHeader(nt,J)});$.signal&&($.signal.addEventListener("abort",br),B.onreadystatechange=function(){B.readyState===4&&$.signal.removeEventListener("abort",br)}),B.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return X.polyfill=!0,n.fetch||(n.fetch=X,n.Headers=h,n.Request=D,n.Response=ie),o.Headers=h,o.Request=D,o.Response=ie,o.fetch=X,o}({})})(Fr);Fr.fetch.ponyfill=!0;delete Fr.fetch.polyfill;var Ht=Wr.fetch?Wr:Fr;tt=Ht.fetch;tt.default=Ht.fetch;tt.fetch=Ht.fetch;tt.Headers=Ht.Headers;tt.Request=Ht.Request;tt.Response=Ht.Response;Xi.exports=tt});var Sl=S(P());var xl=S(G()),Vt=S(te());var ye;(function(e){e.text="text",e.password="password",e.email="email",e.url="url",e.number="number",e.date="date",e.time="time"})(ye||(ye={}));var Jn=S(G());var _e=S(G(),1),je=e=>typeof e=="string"?(0,_e.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let s=d=>je(d??a),l=_e.css`var(${je(r)}, ${s(a)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=a,l.defaultCssValue=s,l.get=d=>_e.css`var(${je(r)}, ${s(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(r,o,n,a){let s=d=>n.get(d??a),l=_e.css`var(${je(r)}, ${s(a)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=s,l.get=d=>_e.css`var(${je(r)}, ${s(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(r,o){let n=s=>r.fallbackVariable?r.fallbackVariable.get(s??r.defaultValue):je(s??r.lastResortDefaultValue()),a=_e.css`var(${je(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=s=>_e.css`var(${je(r.name)}, ${n(s)})`,a.breadcrumb=()=>r.fallbackVariable?[r.fallbackVariable.name,...r.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};var i={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)")},Rn={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","1.2"),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")},Nn={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","1.2"),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")},In={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","1.2"),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")},Tn={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","1.2"),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")},Ln={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","1.35"),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")},_n={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","1.35"),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")},Pn={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","1.35"),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")},kn={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","1.35"),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")},Re={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","1.35"),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")},Nl={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","1.35"),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")},Dn={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","1.35"),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")},Bn={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")},Un={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")},Mn={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")},zn={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")},Hn={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")},Wn={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")},Fn={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","1.3"),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")},$n={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","1.3"),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")},Gn={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","1.3"),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")},it={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","1.3"),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")},jn={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","1.3"),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")},Kn={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","1.3"),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")},Vn={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","1.3"),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")},Zn={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","1.3"),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")},qn={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","1.3"),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")},xr={display:Rn,"title-1":Nn,"title-2":In,"title-3":Tn,"body-1-regular":Ln,"body-1-medium":_n,"body-1-semibold":Pn,"body-2-regular":kn,"body-2-medium":Re,"body-2-medium-underline":Nl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Mn,"label-2-medium":zn,"label-2-semibold":Hn,"label-2-bold":Wn,"caption-1-medium":Fn,"caption-1-semibold":$n,"caption-1-bold":Gn,"caption-2-medium":it,"caption-2-semibold":jn,"caption-2-bold":Kn,"caption-3-medium":Vn,"caption-3-semibold":Zn,"caption-3-bold":qn};var c={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
3
+ Also for action icons.`,i.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var dd={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",i.spacing4),largeGap:t.extend("--ft-button-large-gap","",i.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",i.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",i.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","",i.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",i.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",i.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","",i.spacing2),smallGap:t.extend("--ft-button-small-gap","",i.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",i.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",i.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","",i.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","",i.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",i.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","",c.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",i.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","",c.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",i.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","",c.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",i.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","",c.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",i.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","",c.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var gd={iconSize:t.extend("--ft-checkbox-icon-size","",i.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","",c.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",c.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","",i.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",i.spacing2)};var vd={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",i.spacing1)};var wd={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",i.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","",i.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",i.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","",i.iconSize2)};var Td={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",i.spacing1),largeGap:t.extend("--ft-chip-large-gap","",i.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","",i.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",i.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",i.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","",i.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",i.spacing05),smallGap:t.extend("--ft-chip-small-gap","",i.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","",i.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Dd={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",i.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",i.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",i.colorBrand100)};var Hd={iconSize:t.extend("--ft-banner-icon-size","",i.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",i.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",i.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",i.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var jd={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",i.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",i.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",i.borderRadiusPill),color:t.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",c.contentActionPrimary)};var Yd={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var tu={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",i.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",i.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",i.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var iu={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",i.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",i.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",i.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",i.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",i.spacing4)};var du={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",i.spacing6)};var gu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",i.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",i.opacity40),shadow:t.extend("--ft-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",i.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",i.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",i.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",i.spacing6),headerGap:t.extend("--ft-modal-header-gap","",i.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",i.borderRadiusM)};var vu={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",i.opacity40),shadow:t.extend("--ft-drawer-shadow","",i.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",i.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",i.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",i.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","",i.colorGray700)};var wu={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",i.opacity40),offColor:t.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",i.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:t.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",i.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Il={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",i.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",i.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",i.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),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","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",i.opacity40)};var ku={backgroundColor:t.extend("--ft-text-area-background-color","",i.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",c.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","",i.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",i.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",i.borderRadiusS)};var zu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",i.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",i.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",i.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",i.shadowElevation02)};var Gu={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",i.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",i.opacity40)};var qu={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",i.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.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","",i.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",i.borderRadiusS)};var ep={backgroundColor:t.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",i.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",i.spacing6),titleColor:t.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",c.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",i.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",i.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",i.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",i.spacing6)};var ap={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",i.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",i.spacing3),color:t.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",i.iconSize3)};var dp={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",i.spacing1),groupGap:t.extend("--ft-switch-group-gap","",i.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",i.opacity40),offColor:t.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",i.opacity40),onColor:t.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",i.borderRadiusS)};var hp={color1Light:t.extend("--ft-chart-1-light","for area color charts",i.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",i.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",i.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",i.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",i.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",i.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",i.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",i.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",i.colorRed40),color5Base:t.extend("--ft-chart-5-base","",i.colorRed60),color6Light:t.extend("--ft-chart-6-light","",i.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",i.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",i.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",i.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",i.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",i.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",i.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",i.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",i.colorGray50),color10Base:t.extend("--ft-chart-10-base","",i.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",i.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",i.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",i.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",i.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",i.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var bp={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var Cp={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",i.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",i.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",i.borderRadiusS),gap:t.extend("--ft-notice-gap","",i.spacing2),iconSize:t.extend("--ft-notice-icon-size","",i.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",c.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","",i.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Np={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:t.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",i.spacing3)};var Pp={color:t.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",c.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","",i.spacing3)};var Mp={iconSize:t.extend("--ft-notification-icon-size","",i.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",i.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",i.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",i.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",i.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",i.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",i.spacing8)};var $p={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",i.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",i.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",i.borderRadiusS),color:t.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",i.opacity80),shadow:t.extend("--ft-tooltip-shadow","",i.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",i.spacing05)};var Zp={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",i.spacing4),gap:t.extend("--ft-reorderable-list-gap","",i.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",i.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",i.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var Qp={nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",c.contentInfoPrimary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",c.contentInfoPrimary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",c.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",c.contentInfoPrimary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",c.borderGlobalSubtle),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary)};var Yn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Yn||(Yn={}));var Xn;(function(e){e.large="large",e.medium="medium",e.small="small"})(Xn||(Xn={}));var Qn=Jn.css`
4
+
5
+ /* TODO override toutes les variables de base-input */
6
+
7
+ input {
8
+ background-color: transparent; /* so it doesn't grey out when disabled */
9
+ }
10
+
11
+ input[type="number"]::-webkit-outer-spin-button,
12
+ input[type="number"]::-webkit-inner-spin-button {
13
+ -webkit-appearance: none;
14
+ margin: 0;
15
+ }
16
+
17
+ input[type="number"] {
18
+ -moz-appearance: textfield;
19
+ appearance: textfield;
20
+ }
21
+
22
+ input[type="date"]::-webkit-inner-spin-button,
23
+ input[type="time"]::-webkit-inner-spin-button,
24
+ input[type="date"]::-webkit-calendar-picker-indicator,
25
+ input[type="time"]::-webkit-calendar-picker-indicator{
26
+ display: none;
27
+ -webkit-appearance: none;
28
+ }
29
+ /* We didn't found a way to remove the calendar icon from Firefox yet, sad.png */
30
+
31
+
32
+ input[type="date"], input[type="time"] {
33
+ font-family: ${Re.fontFamily};
34
+ font-size: ${Re.fontSize};
35
+ font-weight: ${Re.fontWeight};
36
+ }
37
+
38
+ `;var vl=S(Zt());var bo=globalThis,vr=bo.trustedTypes,ta=vr?vr.createPolicy("lit-html",{createHTML:e=>e}):void 0,sa="$lit$",Ke=`lit$${Math.random().toFixed(9).slice(2)}$`,la="?"+Ke,Tl=`<${la}>`,ct=document,Sr=()=>ct.createComment(""),Yt=e=>e===null||typeof e!="object"&&typeof e!="function",xo=Array.isArray,Ll=e=>xo(e)||typeof e?.[Symbol.iterator]=="function",po=`[
39
+ \f\r]`,qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ra=/-->/g,oa=/>/g,st=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^
40
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),na=/'/g,aa=/"/g,ca=/^(?:script|style|textarea|title)$/i,vo=e=>(r,...o)=>({_$litType$:e,strings:r,values:o}),da=vo(1),ua=vo(2),pa=vo(3),Xt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),ia=new WeakMap,lt=ct.createTreeWalker(ct,129);function fa(e,r){if(!xo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ta!==void 0?ta.createHTML(r):r}var _l=(e,r)=>{let o=e.length-1,n=[],a,s=r===2?"<svg>":r===3?"<math>":"",l=qt;for(let d=0;d<o;d++){let u=e[d],p,g,h=-1,y=0;for(;y<u.length&&(l.lastIndex=y,g=l.exec(u),g!==null);)y=l.lastIndex,l===qt?g[1]==="!--"?l=ra:g[1]!==void 0?l=oa:g[2]!==void 0?(ca.test(g[2])&&(a=RegExp("</"+g[2],"g")),l=st):g[3]!==void 0&&(l=st):l===st?g[0]===">"?(l=a??qt,h=-1):g[1]===void 0?h=-2:(h=l.lastIndex-g[2].length,p=g[1],l=g[3]===void 0?st:g[3]==='"'?aa:na):l===aa||l===na?l=st:l===ra||l===oa?l=qt:(l=st,a=void 0);let x=l===st&&e[d+1].startsWith("/>")?" ":"";s+=l===qt?u+Tl:h>=0?(n.push(p),u.slice(0,h)+sa+u.slice(h)+Ke+x):u+Ke+(h===-2?d:x)}return[fa(e,s+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},Jt=class e{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let s=0,l=0,d=r.length-1,u=this.parts,[p,g]=_l(r,o);if(this.el=e.createElement(p,n),lt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=lt.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(sa)){let y=g[l++],x=a.getAttribute(h).split(Ke),b=/([.?@])?(.*)/.exec(y);u.push({type:1,index:s,name:b[2],strings:x,ctor:b[1]==="."?ho:b[1]==="?"?go:b[1]==="@"?yo:St}),a.removeAttribute(h)}else h.startsWith(Ke)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(ca.test(a.tagName)){let h=a.textContent.split(Ke),y=h.length-1;if(y>0){a.textContent=vr?vr.emptyScript:"";for(let x=0;x<y;x++)a.append(h[x],Sr()),lt.nextNode(),u.push({type:2,index:++s});a.append(h[y],Sr())}}}else if(a.nodeType===8)if(a.data===la)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(Ke,h+1))!==-1;)u.push({type:7,index:s}),h+=Ke.length-1}s++}}static createElement(r,o){let n=ct.createElement("template");return n.innerHTML=r,n}};function vt(e,r,o=e,n){if(r===Xt)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=Yt(r)?void 0:r._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(r=vt(e,a._$AS(e,r.values),a,n)),r}var fo=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??ct).importNode(o,!0);lt.currentNode=a;let s=lt.nextNode(),l=0,d=0,u=n[0];for(;u!==void 0;){if(l===u.index){let p;u.type===2?p=new Or(s,s.nextSibling,this,r):u.type===1?p=new u.ctor(s,u.name,u.strings,this,r):u.type===6&&(p=new mo(s,this,r)),this._$AV.push(p),u=n[++d]}l!==u?.index&&(s=lt.nextNode(),l++)}return lt.currentNode=ct,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++}},Or=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=K,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=vt(this,r,o),Yt(r)?r===K||r==null||r===""?(this._$AH!==K&&this._$AR(),this._$AH=K):r!==this._$AH&&r!==Xt&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Ll(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!==K&&Yt(this._$AH)?this._$AA.nextSibling.data=r:this.T(ct.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=Jt.createElement(fa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new fo(a,this),l=s.u(this.options);s.p(o),this.T(l),this._$AH=s}}_$AC(r){let o=ia.get(r.strings);return o===void 0&&ia.set(r.strings,o=new Jt(r)),o}k(r){xo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of r)a===o.length?o.push(n=new e(this.O(Sr()),this.O(Sr()),this,this.options)):n=o[a],n._$AI(s),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))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=r,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(r,o=this,n,a){let s=this.strings,l=!1;if(s===void 0)r=vt(this,r,o,0),l=!Yt(r)||r!==this._$AH&&r!==Xt,l&&(this._$AH=r);else{let d=r,u,p;for(r=s[0],u=0;u<s.length-1;u++)p=vt(this,d[n+u],o,u),p===Xt&&(p=this._$AH[u]),l||=!Yt(p)||p!==this._$AH[u],p===K?r=K:r!==K&&(r+=(p??"")+s[u+1]),this._$AH[u]=p}l&&!a&&this.j(r)}j(r){r===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},ho=class extends St{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===K?void 0:r}},go=class extends St{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==K)}},yo=class extends St{constructor(r,o,n,a,s){super(r,o,n,a,s),this.type=5}_$AI(r,o=this){if((r=vt(this,r,o,0)??K)===Xt)return;let n=this._$AH,a=r===K&&n!==K||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,s=r!==K&&(n===K||a);a&&this.element.removeEventListener(this.name,this,n),s&&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)}},mo=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){vt(this,r)}};var Pl=bo.litHtmlPolyfillSupport;Pl?.(Jt,Or),(bo.litHtmlVersions??=[]).push("3.3.0");var So=e=>e??K;var xt=S(P());var Oo=S(G()),Co=S(te());function dt(e,r,o){return e?r(e):o?.(e)}var ga=S(Zt()),ya=S(P()),ha=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Pe=class extends ya.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Oo.html`
41
+ <div class="${(0,ga.classMap)(this.inputLabelClasses)}">
42
+ ${dt(this.text,()=>Oo.html`
43
+ <div class="ft-input-label--text ft-typography--caption">
44
+ <label class="ft-input-label--floating-text">${this.text}</label>
45
+ <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
46
+ </div>
47
+ `)}
48
+ </div>
49
+ `}};Pe.elementDefinitions={};ha([(0,Co.property)({type:String})],Pe.prototype,"text",void 0);ha([(0,Co.property)({type:Boolean})],Pe.prototype,"raised",void 0);var za=S(P());var _a=S(G());var he=S(G()),E=S(P());var Cr=S(G());function ma(e){let r=xr[e];return Cr.css`
50
+ .ft-typography--${(0,Cr.unsafeCSS)(e)} {
51
+ font-family: ${r.fontFamily};
52
+ font-size: ${r.fontSize};
53
+ font-weight: ${r.fontWeight};
54
+ letter-spacing: ${r.letterSpacing};
55
+ line-height: ${r.lineHeight};
56
+ text-transform: ${r.textCase};
57
+ }
58
+ `}var ba=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),ke=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),N={fontFamily:ke,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ot={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ba),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},Ct={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ba),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},Et={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},wt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},At={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Rt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},re={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Nt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},It={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},Tt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ke),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},xa=he.css`
59
+ .ft-typography--title {
60
+ font-family: ${Ot.fontFamily};
61
+ font-size: ${Ot.fontSize};
62
+ font-weight: ${Ot.fontWeight};
63
+ letter-spacing: ${Ot.letterSpacing};
64
+ line-height: ${Ot.lineHeight};
65
+ text-transform: ${Ot.textTransform};
66
+ }
67
+ `,va=he.css`
68
+ .ft-typography--title-dense {
69
+ font-family: ${Ct.fontFamily};
70
+ font-size: ${Ct.fontSize};
71
+ font-weight: ${Ct.fontWeight};
72
+ letter-spacing: ${Ct.letterSpacing};
73
+ line-height: ${Ct.lineHeight};
74
+ text-transform: ${Ct.textTransform};
75
+ }
76
+ `,Sa=he.css`
77
+ .ft-typography--subtitle1 {
78
+ font-family: ${Et.fontFamily};
79
+ font-size: ${Et.fontSize};
80
+ font-weight: ${Et.fontWeight};
81
+ letter-spacing: ${Et.letterSpacing};
82
+ line-height: ${Et.lineHeight};
83
+ text-transform: ${Et.textTransform};
84
+ }
85
+ `,Oa=he.css`
86
+ .ft-typography--subtitle2 {
87
+ font-family: ${wt.fontFamily};
88
+ font-size: ${wt.fontSize};
89
+ font-weight: ${wt.fontWeight};
90
+ letter-spacing: ${wt.letterSpacing};
91
+ line-height: ${wt.lineHeight};
92
+ text-transform: ${wt.textTransform};
93
+ }
94
+
95
+ `,Ca=he.css`
96
+ .ft-typography--body1 {
97
+ font-family: ${At.fontFamily};
98
+ font-size: ${At.fontSize};
99
+ font-weight: ${At.fontWeight};
100
+ letter-spacing: ${At.letterSpacing};
101
+ line-height: ${At.lineHeight};
102
+ text-transform: ${At.textTransform};
103
+ }
104
+ `,Ea=he.css`
105
+ .ft-typography--body2 {
106
+ font-family: ${Rt.fontFamily};
107
+ font-size: ${Rt.fontSize};
108
+ font-weight: ${Rt.fontWeight};
109
+ letter-spacing: ${Rt.letterSpacing};
110
+ line-height: ${Rt.lineHeight};
111
+ text-transform: ${Rt.textTransform};
112
+ }
113
+ `,Lt=he.css`
114
+ .ft-typography--caption {
115
+ font-family: ${re.fontFamily};
116
+ font-size: ${re.fontSize};
117
+ font-weight: ${re.fontWeight};
118
+ letter-spacing: ${re.letterSpacing};
119
+ line-height: ${re.lineHeight};
120
+ text-transform: ${re.textTransform};
121
+ }
122
+ `,wa=he.css`
123
+ .ft-typography--breadcrumb {
124
+ font-family: ${Nt.fontFamily};
125
+ font-size: ${Nt.fontSize};
126
+ font-weight: ${Nt.fontWeight};
127
+ letter-spacing: ${Nt.letterSpacing};
128
+ line-height: ${Nt.lineHeight};
129
+ text-transform: ${Nt.textTransform};
130
+ }
131
+ `,Aa=he.css`
132
+ .ft-typography--overline {
133
+ font-family: ${It.fontFamily};
134
+ font-size: ${It.fontSize};
135
+ font-weight: ${It.fontWeight};
136
+ letter-spacing: ${It.letterSpacing};
137
+ line-height: ${It.lineHeight};
138
+ text-transform: ${It.textTransform};
139
+ }
140
+ `,Ra=he.css`
141
+ .ft-typography--button {
142
+ font-family: ${Tt.fontFamily};
143
+ font-size: ${Tt.fontSize};
144
+ font-weight: ${Tt.fontWeight};
145
+ letter-spacing: ${Tt.letterSpacing};
146
+ line-height: ${Tt.lineHeight};
147
+ text-transform: ${Tt.textTransform};
148
+ }
149
+ `,Na=he.css`
150
+ .ft-typography {
151
+ vertical-align: inherit;
152
+ }
153
+ `,Ia=[Object.keys(xr).map(e=>ma(e))];var Ta=S(G()),z=S(P());var U={fontSize:z.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:z.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:z.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:z.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:z.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:z.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:z.FtCssVariableFactory.extend("--ft-input-label-border-color","",z.designSystemVariables.colorOutline),textColor:z.FtCssVariableFactory.extend("--ft-input-label-text-color","",z.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:z.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",z.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:z.FtCssVariableFactory.extend("--ft-input-label-background-color","",z.designSystemVariables.colorSurface),borderRadius:z.FtCssVariableFactory.extend("--ft-input-label-border-radius","",z.designSystemVariables.borderRadiusS),colorError:z.FtCssVariableFactory.external(z.designSystemVariables.colorError,"Design system")},La=Ta.css`
154
+ .ft-input-label {
155
+ position: absolute;
156
+ inset: 0;
157
+ display: flex;
158
+ background-color: ${U.backgroundColor};
159
+ border-radius: ${U.borderRadius} ${U.borderRadius} 0 0;
160
+ }
161
+
162
+ .ft-input-label--outlined {
163
+ border-radius: ${U.borderRadius};
164
+ }
165
+
166
+ .ft-input-label {
167
+ border-color: ${U.borderColor};
168
+ }
169
+
170
+ .ft-input-label.ft-input-label--in-error {
171
+ border-color: ${U.colorError}
172
+ }
173
+
174
+ .ft-input-label:before,
175
+ .ft-input-label:after {
176
+ content: "";
177
+ display: flex;
178
+ border-bottom-width: 1px;
179
+ border-bottom-style: solid;
180
+ border-color: inherit;
181
+ }
182
+
183
+ .ft-input-label:before {
184
+ width: calc(${U.horizontalSpacing} - 4px);
185
+ flex-shrink: 0;
186
+ }
187
+
188
+ .ft-input-label:after {
189
+ flex-grow: 1;
190
+ flex-shrink: 1;
191
+ }
192
+
193
+ .ft-input-label--text {
194
+ display: flex;
195
+ flex-shrink: 1;
196
+ position: relative;
197
+ border-bottom-width: 1px;
198
+ border-bottom-style: solid;
199
+ border-color: inherit;
200
+ color: ${U.textColor};
201
+ transition: font-size 250ms, line-height 250ms, color 250ms;
202
+ max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
203
+ text-overflow: ellipsis;
204
+ ${(0,z.setVariable)(re.fontSize,U.fontSize)};
205
+ ${(0,z.setVariable)(re.lineHeight,U.fontSize)};
206
+ }
207
+
208
+ .ft-input-label--in-error .ft-input-label--text {
209
+ color: ${U.colorError}
210
+ }
211
+
212
+ .ft-input-label--disabled .ft-input-label--text {
213
+ color: ${U.disabledTextColor};
214
+ }
215
+
216
+ .ft-input-label--hidden-text {
217
+ padding: 0 4px;
218
+ opacity: 0;
219
+ max-width: 100%;
220
+ box-sizing: border-box;
221
+ }
222
+
223
+ .ft-input-label--floating-text {
224
+ position: absolute;
225
+ top: calc(50% - var(--ft-typography-caption-line-height) / 2);
226
+ transition: top 250ms;
227
+ overflow: hidden;
228
+ white-space: nowrap;
229
+ text-overflow: ellipsis;
230
+ padding: ${U.verticalSpacing} 4px;
231
+ margin: calc(${U.verticalSpacing} * -1) 0;
232
+ max-width: 100%;
233
+ box-sizing: border-box;
234
+ }
235
+
236
+ .ft-input-label--raised .ft-input-label--text {
237
+ ${(0,z.setVariable)(re.fontSize,U.raisedFontSize)};
238
+ ${(0,z.setVariable)(re.lineHeight,U.raisedFontSize)};
239
+ }
240
+
241
+ .ft-input-label--raised .ft-input-label--floating-text {
242
+ top: ${U.verticalSpacing};
243
+ }
244
+
245
+ .ft-input-label--outlined .ft-input-label--text,
246
+ .ft-input-label--outlined:before,
247
+ .ft-input-label--outlined:after {
248
+ border-top-width: 1px;
249
+ border-top-style: solid;
250
+ }
251
+
252
+ .ft-input-label--outlined:before {
253
+ border-left-width: 1px;
254
+ border-left-style: solid;
255
+ border-radius: ${U.borderRadius} 0 0 ${U.borderRadius};
256
+ }
257
+
258
+ .ft-input-label--outlined:after {
259
+ border-right-width: 1px;
260
+ border-right-style: solid;
261
+ border-radius: 0 ${U.borderRadius} ${U.borderRadius} 0;
262
+ }
263
+
264
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
265
+ padding: 2px 4px;
266
+ z-index: ${U.raisedZIndex};
267
+ background-color: ${U.backgroundColor};
268
+ border-radius: ${U.borderRadius};
269
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
270
+ }
271
+
272
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
273
+ border-top: none;
274
+ }
275
+ `;var V=S(P()),oe={fontSize:V.FtCssVariableFactory.extend("--ft-input-label-font-size","",Re.fontSize),fontSizeRaised:V.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",it.fontSize),lineHeight:V.FtCssVariableFactory.extend("--ft-input-label-line-height","",it.lineHeight),color:V.FtCssVariableFactory.extend("--ft-input-label-color","",V.semantic.contentGlobalSubtle),largeFieldHeight:V.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:V.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",i.spacing05),largeFieldHorizontalPadding:V.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",i.spacing4),mediumFieldHeight:V.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:V.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:V.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",i.spacing4),additionalPaddingLeft:V.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:V.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Pa=[_a.css`
276
+
277
+ :root {
278
+ --field-height: ${oe.largeFieldHeight};
279
+ --field-vertical-gap: ${oe.largeFieldVerticalGap};
280
+ --field-horizontal-padding: ${oe.largeFieldHorizontalPadding};
281
+
282
+ --typo-caption-height: calc(${it.lineHeight} * ${it.fontSize});
283
+ --typo-body-height: calc(${Re.lineHeight} * ${Re.fontSize});
284
+ --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
285
+ --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
286
+ }
287
+
288
+ .ft-input-label {
289
+ position: absolute;
290
+ inset: 0;
291
+ display: flex;
292
+ flex-direction: column;
293
+ align-items: center;
294
+ pointer-events: none;
295
+ }
296
+
297
+ .ft-input-label.ftds--size-large {
298
+ --field-height: ${oe.largeFieldHeight};
299
+ --field-vertical-gap: ${oe.largeFieldVerticalGap};
300
+ --field-horizontal-padding: ${oe.largeFieldHorizontalPadding};
301
+ }
302
+
303
+ .ft-input-label.ftds--size-medium {
304
+ --field-height: ${oe.mediumFieldHeight};
305
+ --field-vertical-gap: ${oe.mediumFieldVerticalGap};
306
+ --field-horizontal-padding: ${oe.mediumFieldHorizontalPadding};
307
+ }
308
+
309
+ .ft-input-label--text {
310
+ display: flex;
311
+ flex-shrink: 1;
312
+ position: relative;
313
+ text-overflow: ellipsis;
314
+ z-index: 10;
315
+ width: 100%;
316
+ transition: font-size 250ms, line-height 250ms, color 250ms;
317
+ ${(0,V.setVariable)(re.fontSize,oe.fontSize)};
318
+ ${(0,V.setVariable)(re.lineHeight,oe.lineHeight)};
319
+ }
320
+
321
+ .ft-input-label--hidden-text {
322
+ padding: 0 4px;
323
+ opacity: 0;
324
+ max-width: 100%;
325
+ box-sizing: border-box;
326
+ }
327
+
328
+ .ft-input-label--floating-text {
329
+ position: absolute;
330
+ box-sizing: border-box;
331
+ transition: top 250ms;
332
+ width: 100%;
333
+
334
+ top: calc((var(--field-height) - var(--typo-body-height)) / 2);
335
+ overflow: hidden;
336
+ white-space: nowrap;
337
+ text-overflow: ellipsis;
338
+
339
+ padding-top: ${U.verticalSpacing};
340
+ padding-bottom: ${U.verticalSpacing};
341
+ padding-left: calc(var(--field-horizontal-padding) + ${oe.additionalPaddingLeft});
342
+ padding-right: calc(var(--field-horizontal-padding) + ${oe.additionalPaddingRight});
343
+
344
+ margin: calc(${U.verticalSpacing} * -1) 0;
345
+ color: ${oe.color};
346
+ }
347
+
348
+ .ft-input-label--raised .ft-input-label--text {
349
+ ${(0,V.setVariable)(re.fontSize,oe.fontSizeRaised)};
350
+ ${(0,V.setVariable)(re.lineHeight,oe.lineHeight)};
351
+ }
352
+
353
+ .ft-input-label--raised .ft-input-label--floating-text {
354
+ top: var(--input-content-vertical-padding);
355
+ }
356
+
357
+ `];var Ma=S(P());var Da=Symbol.for(""),kl=e=>{if(e?.r===Da)return e?._$litStatic$},Eo=e=>({_$litStatic$:e,r:Da});var ka=new Map,wo=e=>(r,...o)=>{let n=o.length,a,s,l=[],d=[],u,p=0,g=!1;for(;p<n;){for(u=r[p];p<n&&(s=o[p],(a=kl(s))!==void 0);)u+=a+r[++p],g=!0;p!==n&&d.push(s),l.push(u),p++}if(p===n&&l.push(r[n]),g){let h=l.join("$$lit$$");(r=ka.get(h))===void 0&&(l.raw=l,ka.set(h,r=l)),o=d}return e(r,...o)},Ao=wo(da),zh=wo(ua),Hh=wo(pa);var Ro=S(te()),Ua=S(P());var _t;(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"})(_t||(_t={}));var Ba=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},me=class extends Ua.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Ao`
358
+ <${Eo(this.element)}
359
+ part="text"
360
+ class="ft-typography ft-typography--${this.variant}">
361
+ <slot></slot>
362
+ </${Eo(this.element)}>
363
+ `:Ao`
364
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
365
+ `}};me.styles=[xa,va,Sa,Oa,Ca,Ea,Lt,wa,Aa,Ra,Na,...Ia];Ba([(0,Ro.property)()],me.prototype,"element",void 0);Ba([(0,Ro.property)()],me.prototype,"variant",void 0);(0,Ma.customElement)("ft-typography")(me);var De=class extends(0,za.toFtdsBase)(Pe){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};De.styles=[Lt,Pa];var Ja=S(P());var Er=S(G()),wr=S(te()),Be=S(P());var Va=S(G());var ve=S(P());var Ka=S(P());var Qt=S(G()),Ze=S(te()),Ga=S(P()),ja=S(Wa());var Ne;(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;"})(Ne||(Ne={}));var O;(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;"})(O||(O={}));var ag=new Map([...["abw"].map(e=>[e,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var ig={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var Fa=S(G()),xe=S(P()),be={size:xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$a=[Fa.css`
366
+ :host, i.ft-icon {
367
+ display: inline-flex;
368
+ align-items: center;
369
+ flex-shrink: 0;
370
+ flex-grow: 0;
371
+ }
372
+
373
+ :host {
374
+ width: ${be.size};
375
+ height: ${be.size};
376
+ }
377
+
378
+ i.ft-icon {
379
+ width: 100%;
380
+ height: 100%;
381
+ font-size: ${be.size};
382
+ line-height: 1;
383
+ font-weight: normal;
384
+ text-transform: none;
385
+ font-style: normal;
386
+ font-variant: normal;
387
+ speak: none;
388
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
389
+ text-rendering: auto;
390
+ -webkit-font-smoothing: antialiased;
391
+ -moz-osx-font-smoothing: grayscale;
392
+ vertical-align: ${be.verticalAlign};
393
+ }
394
+
395
+ i.ft-icon.ft-icon--fluid-topics {
396
+ font-family: ${be.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
397
+
398
+ /* Ugly fix because font is broken */
399
+ font-size: calc(0.75 * ${be.size});
400
+ line-height: ${be.size};
401
+ position: relative;
402
+ top: -4%;
403
+ justify-content: center;
404
+ }
405
+
406
+ .ft-icon--file-format {
407
+ font-family: ${be.fileFormatFontFamily}, ft-mime, sans-serif;
408
+ }
409
+
410
+ .ft-icon--material {
411
+ font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
412
+ }
413
+ `,xe.noTextSelect];var Ve;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ve||(Ve={}));var er=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Q=class extends Ga.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Qt.nothing}render(){let r=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,o=r!==Ve.material||!!this.value;return Qt.html`
414
+ <i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
415
+ ${(0,ja.unsafeHTML)(this.resolvedIcon)}
416
+ <slot ?hidden=${o}></slot>
417
+ </i>
418
+ `}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 Ve.file_format:this.resolvedIcon=(r=O[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Ve.material:this.resolvedIcon=this.value||Qt.nothing;break;default:this.resolvedIcon=(o=Ne[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};Q.elementDefinitions={};Q.styles=$a;er([(0,Ze.property)()],Q.prototype,"variant",void 0);er([(0,Ze.property)()],Q.prototype,"value",void 0);er([(0,Ze.property)({reflect:!0,attribute:"aria-hidden"})],Q.prototype,"ariaHidden",void 0);er([(0,Ze.state)()],Q.prototype,"resolvedIcon",void 0);er([(0,Ze.query)("slot")],Q.prototype,"slottedContent",void 0);(0,Ka.customElement)("ft-icon")(Q);var tr={color:ve.FtCssVariableFactory.extend("--ftds-helper-text-color","",c.contentGlobalSubtle),errorColor:ve.FtCssVariableFactory.extend("--ftds-helper-text-error-icon-color","",c.contentErrorPrimary),warningColor:ve.FtCssVariableFactory.extend("--ftds-helper-text-warning-icon-color","",c.contentWarningPrimary),iconSize:ve.FtCssVariableFactory.extend("--ftds-helper-text-icon-size","",ve.foundation.iconSize2),iconHorizontalGap:ve.FtCssVariableFactory.extend("--ftds-helper-text-icon-horizontal-gap","",ve.foundation.spacing1)},Za=Va.css`
419
+ .ftds-input-helper-text {
420
+ box-sizing: border-box;
421
+ list-style-type: none;
422
+ margin: 0;
423
+ padding: 0;
424
+ }
425
+
426
+ .ftds-input-helper-text--list-item {
427
+ position: relative;
428
+ text-decoration: none;
429
+ display: flex;
430
+ align-items: flex-end;
431
+ color: ${tr.color};
432
+ }
433
+
434
+ .ftds-input-helper-text--list-item.error {
435
+ color: ${tr.errorColor};
436
+ }
437
+
438
+ .ftds-input-helper-text--list-item.warning {
439
+ color: ${tr.warningColor};
440
+ }
441
+
442
+ .ftds-input-helper-text--list-item.hasIcon ft-typography {
443
+ padding-left: calc(${tr.iconHorizontalGap} - 2px);
444
+ }
445
+
446
+ .ftds-input-helper-text--list-item.hasIcon {
447
+ left: -2px;
448
+ }
449
+
450
+ ft-icon {
451
+ ${(0,ve.setVariable)(be.size,tr.iconSize)};
452
+ }
453
+ `;var No=S(Ya());var Xa=S(Zt());var Io=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},ue=class extends Be.FtLitElement{constructor(){super(...arguments),this.errorMessages=[],this.warningMessages=[]}render(){return Er.html`
454
+ <ul class="ftds-input-helper-text" role="list">
455
+ ${(0,No.repeat)(this.errorMessages,r=>this.renderMessage(r,Be.Status.error))}
456
+ ${(0,No.repeat)(this.warningMessages,r=>this.renderMessage(r,Be.Status.warning))}
457
+ ${dt(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>this.renderMessage(this.helperText,Be.Status.default))}
458
+ </ul>
459
+ `}renderMessage(r,o){let n=this.toIconIdentifier(o),a={"ftds-input-helper-text--list-item":!0,hasIcon:!!n,[o]:!0};return Er.html`
460
+ <li class="${(0,Xa.classMap)(a)}">
461
+ ${dt(n,()=>Er.html`
462
+ <ft-icon class="icon" value="${n}" part="icon"></ft-icon>`)}
463
+ <ft-typography part="text" variant="${_t.caption1medium}">${r}</ft-typography>
464
+ </li>
465
+ `}toIconIdentifier(r){switch(r){case Be.Status.error:return Ne.OCTAGON_XMARK;case Be.Status.warning:return Ne.WARNING;case Be.Status.default:return}}};ue.elementDefinitions={"ft-typography":me,"ft-icon":Q};ue.styles=Za;Io([(0,wr.property)()],ue.prototype,"helperText",void 0);Io([(0,wr.property)({type:Array})],ue.prototype,"errorMessages",void 0);Io([(0,wr.property)({type:Array})],ue.prototype,"warningMessages",void 0);(0,Ja.customElement)("ftds-input-helper-text")(ue);var Ms=S(P());var Jr=S(G()),Qr=S(te()),eo=S(P());var Qa=S(G());var ei=Qa.css`
466
+ `;var Yr=S(P());var Ls=S(P());var ni=S(G()),le=S(te()),Se=S(P());var ti=S(G());var ri=ti.css`
467
+ `;var Ar=S(P()),Dl="ft-app-info",To=class extends CustomEvent{constructor(r){super("authentication-change",{detail:r})}},Bl={session:(e,r)=>{(0,Ar.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>L.dispatchEvent(new To(r.payload)),0))}},L=Ar.FtReduxStore.get({name:Dl,reducers:Bl,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 Ie=S(P());var Lo=S(P());var ut=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=L.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=L.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var rr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:ut.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ut.await()}};var qe=class extends rr{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Lo.CacheRegistry,this.cache=r?a.commonCache:new Lo.CacheRegistry}clearCache(){this.cache.clearAll()}};var oi,Ul=Symbol("clearAfterUnitTest"),Rr=class extends qe{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[oi]=()=>{this.defaultMessages={},this.cache=new Ie.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=L.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,Ie.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 s=r.toLowerCase(),l=this.resolveContext(s);return new Ie.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},l).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 Ie.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,Ie.delay)(0).then(()=>o()).catch(()=>null)))}};oi=Ul;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Rr{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Rr{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Pt=window.FluidTopicsI18nService,Nr=window.FluidTopicsCustomI18nService;var ne=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},j=class extends Se.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=()=>ut.get(),this.messageContexts=[],this.cache=new Se.CacheRegistry,this.cleanSessionDebouncer=new Se.Debouncer}render(){return ni.html`
468
+ <slot></slot>
469
+ `}update(r){var o,n,a,s,l;super.update(r),r.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&L.actions.noCustom(this.noCustom),r.has("editorMode")&&L.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&L.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>Pt.addContext(d)),r.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((l=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&l!==void 0?l:!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())}};j.elementDefinitions={};j.styles=ri;ne([(0,le.property)()],j.prototype,"baseUrl",void 0);ne([(0,le.property)()],j.prototype,"apiIntegrationIdentifier",void 0);ne([(0,le.property)()],j.prototype,"uiLocale",void 0);ne([(0,Se.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);ne([(0,Se.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"editorMode",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"noCustom",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);ne([(0,le.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],j.prototype,"noCustomComponent",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"withManualResources",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);ne([(0,le.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);ne([(0,le.property)({type:Object})],j.prototype,"apiProvider",void 0);ne([(0,Se.jsonProperty)([])],j.prototype,"messageContexts",void 0);ne([(0,Se.jsonProperty)(void 0)],j.prototype,"session",void 0);ne([(0,le.state)()],j.prototype,"localesConfiguration",void 0);var Ec=S(te());function Ml(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(!Ir(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(!Ir(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 s=l=>Object.keys(l).filter(d=>l[d]!=null);if(a=s(e),o=a.length,o!==s(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 l=a[n];if(!Ir(e[l],r[l]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function Ir(e,r){try{return Ml(e,r)}catch{return!1}}function Tr(e,r){return!Ir(e,r)}var zl=S(te(),1);var Lr=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 kt=S(te(),1);var ai=S(te(),1);function ii(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,ai.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:Tr,...r??{}})}var _r=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,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var li=S(G(),1);var Pr=globalThis,Hl=Pr.ShadowRoot&&(Pr.ShadyCSS===void 0||Pr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,iy=Symbol();var si=(e,r)=>{if(Hl)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=Pr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var kr=class extends li.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,s])=>r.registry.define(a,s)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return si(n,r.elementStyles),n}};function ci(e,r,...o){var n;let a=e.querySelector(r);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var or=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},fi,di=Symbol("constructorPrototype"),ui=Symbol("constructorName"),hi=Symbol("exportpartsDebouncer"),pi=Symbol("dynamicDependenciesLoaded"),Ue=class extends kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fi]=new _r(5),this[ui]=this.constructor.name,this[di]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ui]&&Object.setPrototypeOf(this,this[di])}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[pi]||(r[pi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=ci(this.shadowRoot,...s)}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(s=>s.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}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[hi].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,a,s,l,d;let u=y=>y!=null&&y.trim().length>0,p=r.filter(u).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(s=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],b=(d=(l=y.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...x,...b).filter(u).map(v=>v.trim()).forEach(v=>g.add(v))}if(g.size===0){this.removeAttribute("exportparts");return}let h=[...g.values()].flatMap(y=>p.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};fi=hi;or([(0,kt.property)()],Ue.prototype,"exportpartsPrefix",void 0);or([ii([])],Ue.prototype,"exportpartsPrefixes",void 0);or([(0,kt.property)()],Ue.prototype,"customStylesheet",void 0);or([(0,kt.property)()],Ue.prototype,"elementToFocus",void 0);or([(0,kt.state)()],Ue.prototype,"useAdoptedStyleSheets",void 0);function nr(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var gi,yi,mi,ar=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),pt=Symbol("internalStores"),ir=class extends Ue{constructor(){super(...arguments),this[gi]=new Map,this[yi]=new Map,this[mi]=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[pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[pt].get(r)}addStore(r,o){var n;o=(n=o??(nr(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[pt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[pt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[pt].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[Ye].has(r.store):this[Ye].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[Ye].set(r,o.subscribe(()=>this.updateFromStores())),this[ar].set(r,[]),nr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,s)=>{if(typeof this[s]=="function"&&(!a.store||o.name===a.store)){let l=d=>this[s](d);o.addEventListener(a.eventName,l),this[ar].get(r).push(()=>o.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[Ye].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[Ye].has(r)&&this[Ye].get(r)(),this[Ye].delete(r),(o=this[ar].get(r))===null||o===void 0||o.forEach(n=>n()),this[ar].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gi=Ye,yi=pt,mi=ar;ir.reduxProperties=new Map;ir.reduxReactiveProperties=new Set;ir.reduxEventListeners=new Map;function ge(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,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Me(e){return!!e&&!!e[W]}function Oe(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)===Zl}(e)||Array.isArray(e)||!!e[Ei]||!!(!((r=e.constructor)===null||r===void 0)&&r[Ei])||Ho(e)||Wo(e))}function ft(e,r,o){o===void 0&&(o=!1),Ut(e)===0?(o?Object.keys:Bt)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function Ut(e){var r=e[W];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:Ho(e)?2:Wo(e)?3:0}function Dt(e,r){return Ut(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Wl(e,r){return Ut(e)===2?e.get(r):e[r]}function wi(e,r,o){var n=Ut(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Ai(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function Ho(e){return Kl&&e instanceof Map}function Wo(e){return Vl&&e instanceof Set}function Xe(e){return e.o||e.t}function Fo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Ii(e);delete r[W];for(var o=Bt(r),n=0;n<o.length;n++){var a=o[n],s=r[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function $o(e,r){return r===void 0&&(r=!1),Go(e)||Me(e)||!Oe(e)||(Ut(e)>1&&(e.set=e.add=e.clear=e.delete=Fl),Object.freeze(e),r&&ft(e,function(o,n){return $o(n,!0)},!0)),e}function Fl(){ge(2)}function Go(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Te(e){var r=zo[e];return r||ge(18,e),r}function $l(e,r){zo[e]||(zo[e]=r)}function Bo(){return lr}function _o(e,r){r&&(Te("Patches"),e.u=[],e.s=[],e.v=r)}function Dr(e){Uo(e),e.p.forEach(Gl),e.p=null}function Uo(e){e===lr&&(lr=e.l)}function bi(e){return lr={p:[],l:lr,h:e,m:!0,_:0}}function Gl(e){var r=e[W];r.i===0||r.i===1?r.j():r.g=!0}function Po(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||Te("ES5").S(r,e,n),n?(o[W].P&&(Dr(r),ge(4)),Oe(e)&&(e=Br(r,e),r.l||Ur(r,e)),r.u&&Te("Patches").M(o[W].t,e,r.u,r.s)):e=Br(r,o,[]),Dr(r),r.u&&r.v(r.u,r.s),e!==Ni?e:void 0}function Br(e,r,o){if(Go(r))return r;var n=r[W];if(!n)return ft(r,function(d,u){return xi(e,n,r,d,u,o)},!0),r;if(n.A!==e)return r;if(!n.P)return Ur(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Fo(n.k):n.o,s=a,l=!1;n.i===3&&(s=new Set(a),a.clear(),l=!0),ft(s,function(d,u){return xi(e,n,a,d,u,o,l)}),Ur(e,a,!1),o&&e.u&&Te("Patches").N(n,o,e.u,e.s)}return n.o}function xi(e,r,o,n,a,s,l){if(Me(a)){var d=Br(e,a,s&&r&&r.i!==3&&!Dt(r.R,n)?s.concat(n):void 0);if(wi(o,n,d),!Me(d))return;e.m=!1}else l&&o.add(a);if(Oe(a)&&!Go(a)){if(!e.h.D&&e._<1)return;Br(e,a),r&&r.A.l||Ur(e,a)}}function Ur(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&$o(r,o)}function ko(e,r){var o=e[W];return(o?Xe(o):e)[r]}function vi(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 Je(e){e.P||(e.P=!0,e.l&&Je(e.l))}function Do(e){e.o||(e.o=Fo(e.t))}function Mo(e,r,o){var n=Ho(r)?Te("MapSet").F(r,o):Wo(r)?Te("MapSet").T(r,o):e.O?function(a,s){var l=Array.isArray(a),d={i:l?1:0,A:s?s.A:Bo(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=cr;l&&(u=[d],p=sr);var g=Proxy.revocable(u,p),h=g.revoke,y=g.proxy;return d.k=y,d.j=h,y}(r,o):Te("ES5").J(r,o);return(o?o.A:Bo()).p.push(n),n}function jl(e){return Me(e)||ge(22,e),function r(o){if(!Oe(o))return o;var n,a=o[W],s=Ut(o);if(a){if(!a.P&&(a.i<4||!Te("ES5").K(a)))return a.t;a.I=!0,n=Si(o,s),a.I=!1}else n=Si(o,s);return ft(n,function(l,d){a&&Wl(a.t,l)===d||wi(n,l,r(d))}),s===3?new Set(n):n}(e)}function Si(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return Fo(e)}function Ri(){function e(l,d){var u=s[l];return u?u.enumerable=d:s[l]=u={configurable:!0,enumerable:d,get:function(){var p=this[W];return cr.get(p,l)},set:function(p){var g=this[W];cr.set(g,l,p)}},u}function r(l){for(var d=l.length-1;d>=0;d--){var u=l[d][W];if(!u.P)switch(u.i){case 5:n(u)&&Je(u);break;case 4:o(u)&&Je(u)}}}function o(l){for(var d=l.t,u=l.k,p=Bt(u),g=p.length-1;g>=0;g--){var h=p[g];if(h!==W){var y=d[h];if(y===void 0&&!Dt(d,h))return!0;var x=u[h],b=x&&x[W];if(b?b.t!==y:!Ai(x,y))return!0}}var v=!!d[W];return p.length!==Bt(d).length+(v?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(l){l.g&&ge(3,JSON.stringify(Xe(l)))}var s={};$l("ES5",{J:function(l,d){var u=Array.isArray(l),p=function(h,y){if(h){for(var x=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var v=Ii(y);delete v[W];for(var R=Bt(v),w=0;w<R.length;w++){var A=R[w];v[A]=e(A,h||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(y),v)}(u,l),g={i:u?5:4,A:d?d.A:Bo(),P:!1,I:!1,R:{},l:d,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,W,{value:g,writable:!0}),p},S:function(l,d,u){u?Me(d)&&d[W].A===l&&r(l.p):(l.u&&function p(g){if(g&&typeof g=="object"){var h=g[W];if(h){var y=h.t,x=h.k,b=h.R,v=h.i;if(v===4)ft(x,function(k){k!==W&&(y[k]!==void 0||Dt(y,k)?b[k]||p(x[k]):(b[k]=!0,Je(h)))}),ft(y,function(k){x[k]!==void 0||Dt(x,k)||(b[k]=!1,Je(h))});else if(v===5){if(n(h)&&(Je(h),b.length=!0),x.length<y.length)for(var R=x.length;R<y.length;R++)b[R]=!1;else for(var w=y.length;w<x.length;w++)b[w]=!0;for(var A=Math.min(x.length,y.length),_=0;_<A;_++)x.hasOwnProperty(_)||(b[_]=!0),b[_]===void 0&&p(x[_])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Oi,lr,jo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kl=typeof Map<"u",Vl=typeof Set<"u",Ci=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ni=jo?Symbol.for("immer-nothing"):((Oi={})["immer-nothing"]=!0,Oi),Ei=jo?Symbol.for("immer-draftable"):"__$immer_draftable",W=jo?Symbol.for("immer-state"):"__$immer_state";var Zl=""+Object.prototype.constructor,Bt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ii=Object.getOwnPropertyDescriptors||function(e){var r={};return Bt(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},zo={},cr={get:function(e,r){if(r===W)return e;var o=Xe(e);if(!Dt(o,r))return function(a,s,l){var d,u=vi(s,l);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!Oe(n)?n:n===ko(e.t,r)?(Do(e),e.o[r]=Mo(e.A.h,n,e)):n},has:function(e,r){return r in Xe(e)},ownKeys:function(e){return Reflect.ownKeys(Xe(e))},set:function(e,r,o){var n=vi(Xe(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ko(Xe(e),r),s=a?.[W];if(s&&s.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Ai(o,a)&&(o!==void 0||Dt(e.t,r)))return!0;Do(e),Je(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 ko(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,Do(e),Je(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=Xe(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){ge(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ge(12)}},sr={};ft(cr,function(e,r){sr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),sr.deleteProperty=function(e,r){return sr.set.call(this,e,r,void 0)},sr.set=function(e,r,o){return cr.set.call(this,e[0],r,o,e[0])};var ql=function(){function e(o){var n=this;this.O=Ci,this.D=!0,this.produce=function(a,s,l){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(v){var R=this;v===void 0&&(v=d);for(var w=arguments.length,A=Array(w>1?w-1:0),_=1;_<w;_++)A[_-1]=arguments[_];return u.produce(v,function(k){var D;return(D=s).call.apply(D,[R,k].concat(A))})}}var p;if(typeof s!="function"&&ge(6),l!==void 0&&typeof l!="function"&&ge(7),Oe(a)){var g=bi(n),h=Mo(n,a,void 0),y=!0;try{p=s(h),y=!1}finally{y?Dr(g):Uo(g)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return _o(g,l),Po(v,g)},function(v){throw Dr(g),v}):(_o(g,l),Po(p,g))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===Ni&&(p=void 0),n.D&&$o(p,!0),l){var x=[],b=[];Te("Patches").M(a,p,x,b),l(x,b)}return p}ge(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var g=arguments.length,h=Array(g>1?g-1:0),y=1;y<g;y++)h[y-1]=arguments[y];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(h))})};var l,d,u=n.produce(a,s,function(p,g){l=p,d=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,l,d]}):[u,l,d]},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){Oe(o)||ge(8),Me(o)&&(o=jl(o));var n=bi(this),a=Mo(this,o,void 0);return a[W].C=!0,Uo(n),a},r.finishDraft=function(o,n){var a=o&&o[W],s=a.A;return _o(s,n),Po(void 0,s)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Ci&&ge(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var l=Te("Patches").$;return Me(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},e}(),pe=new ql,Yl=pe.produce,vy=pe.produceWithPatches.bind(pe),Sy=pe.setAutoFreeze.bind(pe),Oy=pe.setUseProxies.bind(pe),Cy=pe.applyPatches.bind(pe),Ey=pe.createDraft.bind(pe),wy=pe.finishDraft.bind(pe),Mr=Yl;function ht(e){"@babel/helpers - typeof";return ht=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},ht(e)}function Ti(e,r){if(ht(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(ht(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Li(e){var r=Ti(e,"string");return ht(r)=="symbol"?r:r+""}function _i(e,r,o){return(r=Li(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Pi(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 Ko(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Pi(Object(o),!0).forEach(function(n){_i(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pi(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ae(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 ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vo=function(){return Math.random().toString(36).substring(7).split("").join(".")},zr={INIT:"@@redux/INIT"+Vo(),REPLACE:"@@redux/REPLACE"+Vo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vo()}};function Xl(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 Zo(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ae(1));return o(Zo)(e,r)}if(typeof e!="function")throw new Error(ae(2));var a=e,s=r,l=[],d=l,u=!1;function p(){d===l&&(d=l.slice())}function g(){if(u)throw new Error(ae(3));return s}function h(v){if(typeof v!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));var R=!0;return p(),d.push(v),function(){if(R){if(u)throw new Error(ae(6));R=!1,p();var A=d.indexOf(v);d.splice(A,1),l=null}}}function y(v){if(!Xl(v))throw new Error(ae(7));if(typeof v.type>"u")throw new Error(ae(8));if(u)throw new Error(ae(9));try{u=!0,s=a(s,v)}finally{u=!1}for(var R=l=d,w=0;w<R.length;w++){var A=R[w];A()}return v}function x(v){if(typeof v!="function")throw new Error(ae(10));a=v,y({type:zr.REPLACE})}function b(){var v,R=h;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(ae(11));function _(){A.next&&A.next(g())}_();var k=R(_);return{unsubscribe:k}}},v[ki]=function(){return this},v}return y({type:zr.INIT}),n={dispatch:y,subscribe:h,getState:g,replaceReducer:x},n[ki]=b,n}function Jl(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:zr.INIT});if(typeof n>"u")throw new Error(ae(12));if(typeof o(void 0,{type:zr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function Di(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 s=Object.keys(o),l,d;try{Jl(o)}catch(u){d=u}return function(p,g){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var y=!1,x={},b=0;b<s.length;b++){var v=s[b],R=o[v],w=p[v],A=R(w,g);if(typeof A>"u"){var _=g&&g.type;throw new Error(ae(14))}x[v]=A,y=y||A!==w}return y=y||s.length!==Object.keys(p).length,y?x:p}}function Mt(){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 Bi(){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),s=function(){throw new Error(ae(15))},l={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=r.map(function(u){return u(l)});return s=Mt.apply(void 0,d)(a.dispatch),Ko(Ko({},a),{},{dispatch:s})}}}function Ui(e){var r=function(n){var a=n.dispatch,s=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,s,e):l(d)}}};return r}var Mi=Ui();Mi.withExtraArgument=Ui;var qo=Mi;var $i=function(){var e=function(r,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},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)}}(),Ql=function(e,r){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(p){return function(g){return u([p,g])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=r.call(e,o)}catch(g){p=[6,g],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},zt=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},ec=Object.defineProperty,tc=Object.defineProperties,rc=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,oc=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,Hi=function(e,r,o){return r in e?ec(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},Qe=function(e,r){for(var o in r||(r={}))oc.call(r,o)&&Hi(e,o,r[o]);if(zi)for(var n=0,a=zi(r);n<a.length;n++){var o=a[n];nc.call(r,o)&&Hi(e,o,r[o])}return e},Yo=function(e,r){return tc(e,rc(r))},ac=function(e,r,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},l=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,l)};d((o=o.apply(e,r)).next())})};var ic=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Mt:Mt.apply(null,arguments)},$y=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function sc(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 lc=function(e){$i(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,zt([void 0],o[0].concat(this)))):new(r.bind.apply(r,zt([void 0],o.concat(this))))},r}(Array),cc=function(e){$i(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,zt([void 0],o[0].concat(this)))):new(r.bind.apply(r,zt([void 0],o.concat(this))))},r}(Array);function Qo(e){return Oe(e)?Mr(e,function(){}):e}function dc(e){return typeof e=="boolean"}function uc(){return function(r){return pc(r)}}function pc(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,l=s===void 0?!0:s,d=new lc;if(o&&(dc(o)?d.push(qo):d.push(qo.withExtraArgument(o.extraArgument))),0){if(a)var u;if(l)var p}return d}var Xo=!0;function Gi(e){var r=uc(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,l=s===void 0?r():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,g=p===void 0?void 0:p,h=o.enhancers,y=h===void 0?void 0:h,x;if(typeof a=="function")x=a;else if(sc(a))x=Di(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 b=l;if(typeof b=="function"&&(b=b(r),!Xo&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Xo&&b.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Bi.apply(void 0,b),R=Mt;u&&(R=ic(Qe({trace:!Xo},typeof u=="object"&&u)));var w=new cc(v),A=w;Array.isArray(y)?A=zt([v],y):typeof y=="function"&&(A=y(w));var _=R.apply(void 0,A);return Zo(x,g,_)}function et(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var s=r.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Qe(Qe({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.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 ji(e){var r={},o=[],n,a={addCase:function(s,l){var d=typeof s=="string"?s:s.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,a},addMatcher:function(s,l){return o.push({matcher:s,reducer:l}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[r,o,n]}function fc(e){return typeof e=="function"}function hc(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?ji(r):[r,o,n],s=a[0],l=a[1],d=a[2],u;if(fc(e))u=function(){return Qo(e())};else{var p=Qo(e);u=function(){return p}}function g(h,y){h===void 0&&(h=u());var x=zt([s[y.type]],l.filter(function(b){var v=b.matcher;return v(y)}).map(function(b){var v=b.reducer;return v}));return x.filter(function(b){return!!b}).length===0&&(x=[d]),x.reduce(function(b,v){if(v)if(Me(b)){var R=b,w=v(R,y);return w===void 0?b:w}else{if(Oe(b))return Mr(b,function(A){return v(A,y)});var w=v(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},h)}return g.getInitialState=u,g}function gc(e,r){return e+"/"+r}function Ki(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:Qo(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},l={},d={};a.forEach(function(g){var h=n[g],y=gc(r,g),x,b;"reducer"in h?(x=h.reducer,b=h.prepare):x=h,s[g]=x,l[y]=x,d[g]=b?et(y,b):et(y)});function u(){var g=typeof e.extraReducers=="function"?ji(e.extraReducers):[e.extraReducers],h=g[0],y=h===void 0?{}:h,x=g[1],b=x===void 0?[]:x,v=g[2],R=v===void 0?void 0:v,w=Qe(Qe({},y),l);return hc(o,function(A){for(var _ in w)A.addCase(_,w[_]);for(var k=0,D=b;k<D.length;k++){var se=D[k];A.addMatcher(se.matcher,se.reducer)}R&&A.addDefaultCase(R)})}var p;return{name:r,reducer:function(g,h){return p||(p=u()),p(g,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var yc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",mc=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=yc[Math.random()*64|0];return r},bc=["name","message","stack","code"],Jo=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Wi=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),xc=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=bc;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Vy=function(){function e(r,o,n){var a=et(r+"/fulfilled",function(g,h,y,x){return{payload:g,meta:Yo(Qe({},x||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),s=et(r+"/pending",function(g,h,y){return{payload:void 0,meta:Yo(Qe({},y||{}),{arg:h,requestId:g,requestStatus:"pending"})}}),l=et(r+"/rejected",function(g,h,y,x,b){return{payload:x,error:(n&&n.serializeError||xc)(g||"Rejected"),meta:Yo(Qe({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function p(g){return function(h,y,x){var b=n?.idGenerator?n.idGenerator(g):mc(),v=new u,R,w=!1;function A(k){R=k,v.abort()}var _=function(){return ac(this,null,function(){var k,D,se,we,ie,Ae,X;return Ql(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),we=(k=n?.condition)==null?void 0:k.call(n,g,{getState:y,extra:x}),Sc(we)?[4,we]:[3,2];case 1:we=f.sent(),f.label=2;case 2:if(we===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,ie=new Promise(function(m,I){return v.signal.addEventListener("abort",function(){return I({name:"AbortError",message:R||"Aborted"})})}),h(s(b,g,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:b,arg:g},{getState:y,extra:x}))),[4,Promise.race([ie,Promise.resolve(o(g,{dispatch:h,getState:y,extra:x,requestId:b,signal:v.signal,abort:A,rejectWithValue:function(m,I){return new Jo(m,I)},fulfillWithValue:function(m,I){return new Wi(m,I)}})).then(function(m){if(m instanceof Jo)throw m;return m instanceof Wi?a(m.payload,b,g,m.meta):a(m,b,g)})])];case 3:return se=f.sent(),[3,5];case 4:return Ae=f.sent(),se=Ae instanceof Jo?l(null,b,g,Ae.payload,Ae.meta):l(Ae,b,g),[3,5];case 5:return X=n&&!n.dispatchConditionRejection&&l.match(se)&&se.meta.condition,X||h(se),[2,se]}})})}();return Object.assign(_,{abort:A,requestId:b,arg:g,unwrap:function(){return _.then(vc)}})}}return Object.assign(p,{pending:s,rejected:l,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function vc(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Sc(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Vi="listener",Zi="completed",qi="cancelled",Zy="task-"+qi,qy="task-"+Zi,Yy=Vi+"-"+qi,Xy=Vi+"-"+Zi;var en="listenerMiddleware";var Jy=et(en+"/add"),Qy=et(en+"/removeAll"),em=et(en+"/remove");var Fi,tm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Fi||(Fi=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Oc=function(e){return function(r){setTimeout(r,e)}},rm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Oc(10);Ri();function Cc(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 Hr=class extends Cc(Object){};window.ftReduxStores||(window.ftReduxStores={});var Yi=class e extends Hr{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,s=window.ftReduxStores[n];if(nr(s))return s;if(a==null)return;let l=Ki({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Gi({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:l.reducer(u,p)});return window.ftReduxStores[a.name]=new e(l,d,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Lr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let u=l,p=s[u];return p?(...g)=>{let h=p(...g.map(a));return this.reduxStore.dispatch(h),h}:g=>{this.setState({[u]:a(g)})}}}),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 Kr=S(P());var Ac=S(Ji(),1);var Qi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Qi||(Qi={}));var es;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(es||(es={}));var ts;(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"})(ts||(ts={}));var rs;(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"})(rs||(rs={}));var os;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(os||(os={}));var ns;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ns||(ns={}));var as;(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_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(as||(as={}));var is;(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"})(is||(is={}));var ss;(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"})(ss||(ss={}));var ls;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ls||(ls={}));var cs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(cs||(cs={}));var ds;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ds||(ds={}));var us;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(us||(us={}));var ps;(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"})(ps||(ps={}));var fs;(function(e){e.ASC="ASC",e.DESC="DESC"})(fs||(fs={}));var hs;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(hs||(hs={}));var gs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(gs||(gs={}));var ys;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ys||(ys={}));var ms;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ms||(ms={}));var bs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(bs||(bs={}));var xs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(xs||(xs={}));var vs;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(vs||(vs={}));var Ss;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ss||(Ss={}));var q;(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"})(q||(q={}));var Os;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Os||(Os={}));var Cs;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Cs||(Cs={}));var Es;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Es||(Es={}));var wc={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN],[q.GENERATIVE_AI_EXPORT_USER]:[q.GENERATIVE_AI_USER]};function ws(e,r){return e===r||(wc[e]??[]).some(o=>ws(o,r))}function As(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=>ws(n,r))}var $r=class extends qe{async listMySearches(){let{session:r}=L.getState();return As(r,q.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var Gr=class extends qe{async listMyBookmarks(){let r=L.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var Rc="ft-user-assets",jr=Kr.FtReduxStore.get({name:Rc,initialState:{savedSearches:void 0,bookmarks:void 0}}),tn=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Gr,this.savedSearchesService=new $r,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=L.getState();(0,Kr.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(),jr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),jr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();jr.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;jr.actions.bookmarks(o)}}},Jm=new tn;var rn=class{addCommand(r,o=!1){L.commands.add(r,o)}consumeCommand(r){return L.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new rn;var Rs=S(P()),on=class{highlightHtml(r,o,n){(0,Rs.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new on;var Ns=S(P());var nn=class{isDate(r){var o,n,a,s;return(s=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(r,o){var n,a,s;return Ns.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new nn;var Is=S(P());var dr=class{static get(r,o){var n,a,s,l;let d=L.getState(),{lang:u,region:p}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Is.SearchPlaceConverter(d.baseUrl,(l=(s=window.FluidTopicsClientConfiguration)===null||s===void 0?void 0:s.predefinedSorts)!==null&&l!==void 0?l:{},r??20,d.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var an=class{urlToSearchRequest(r){return dr.get().parse(r)}searchRequestToUrl(r){return dr.get().serialize(r)}};window.FluidTopicsUrlService=new an;var rt=S(P());var gt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};gt.eventName="change";var sn=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},Ts=new sn;var Vr=class e extends rt.WithEventBus{static build(){return new e(window.history,Ts,()=>window.location,!1)}constructor(r,o,n,a){var s,l;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(l=(s=r.state)===null||s===void 0?void 0:s.index)!==null&&l!==void 0?l:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},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,rt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new gt(this.currentItem())),0)}installProxies(){let r=o=>(n,a,[s,l,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,l,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.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(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r,o=!1){var n,a,s;let l={...this.buildCurrentState(),...r,index:this.currentIndex,title:(n=r?.title)!==null&&n!==void 0?n:this.currentState.title},d=o?(a=r?.majorState)!==null&&a!==void 0?a:this.currentState.majorState:(s=this.currentState.majorState)!==null&&s!==void 0?s:r?.majorState;d!=null&&(l.majorState=d),this.setCurrentState(l)}addHistoryChangeListener(r){this.addEventListener(gt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(gt.eventName,r)}currentItem(){return(0,rt.deepCopy)(this.currentState)}back(){let r=this.previousMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,rt.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let r=this.currentIndex;for(;r>0&&!this.isMajorState(r);)r--;return this.previousExistingPosition(r)}forward(){let r=this.nextMajorPosition();r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){return(0,rt.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let r=this.currentIndex;do r++;while(r<this.states.length&&!this.isMajorState(r));do r++;while(r<this.states.length&&!this.isMajorState(r));return this.previousExistingPosition(r)}previousExistingPosition(r){let o=r;do o--;while(o>0&&!this.hasState(o));return o}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isMajorState(r){var o,n;return this.hasState(r)&&((n=(o=this.states[r])===null||o===void 0?void 0:o.majorState)!==null&&n!==void 0?n:!0)}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Vr.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,Ls.customElement)("ft-app-context")(j);var Bs=S(te());var Nc=S(P());function _s(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Ic=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Ps=Symbol("i18nAttributes"),ks=Symbol("i18nListAttributes"),Us=Symbol("i18nProperties"),Zr=Symbol("i18nContexts"),ur=Symbol("i18nUnsubs");function Xr(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Nr:Pt}i18n(s){var l;this.hasI18nContext(s.context)||this.addI18nContext(s.context,void 0,s.custom);let d=(l=s.args)!==null&&l!==void 0?l:s.argsProvider?s.argsProvider(this):[];return this.getI18nService(s.custom).resolveMessage(s.context,s.key,...d)}customI18n(s,l){if(_s(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...l})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((l,d,u)=>s.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((l,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(l=>l.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var l,d;let u=this,p=(g,h,y)=>y?.context&&y.key&&s(g,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,...g})}:y;(l=this[Ps])===null||l===void 0||l.forEach((g,h)=>u[h]=p(g,h,u[h])),(d=this[ks])===null||d===void 0||d.forEach((g,h)=>{var y;return u[h]=(y=u[h])===null||y===void 0?void 0:y.map(x=>p(g,h,x))})}updateI18nProperties(s){var l;(l=this[Us])===null||l===void 0||l.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,l,d)}addI18nContext(s,l,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Zr].set(u,{isCustomContext:d}),this[ur].has(u)||this[ur].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,l)}hasI18nContext(s){return this[Zr].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Zr].forEach((s,l)=>this.addI18nContext(l,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ur].forEach(s=>s()),this[ur].clear()}}return r=Zr,o=ur,Ic([(0,Bs.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Ds=class extends Xr(Yr.FtLitElement){},qr=class extends Xr(Yr.FtLitElementRedux){};var pr=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Ce=class extends qr{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Jr.nothing:Jr.html`
470
+ <span class="ft-i18n">
471
+ ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
472
+ </span>
473
+ `}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:""})}};Ce.elementDefinitions={};Ce.styles=ei;pr([(0,eo.redux)()],Ce.prototype,"editorMode",void 0);pr([(0,Qr.property)()],Ce.prototype,"context",void 0);pr([(0,Qr.property)()],Ce.prototype,"key",void 0);pr([(0,eo.jsonProperty)([])],Ce.prototype,"args",void 0);pr([(0,Qr.property)()],Ce.prototype,"defaultMessage",void 0);var to=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?Nr:Pt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let s=a;return l=>({context:this.name,key:s,custom:this.custom,args:typeof l=="function"?void 0:l,argsProvider:typeof l=="function"?l:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...s)=>this.service.resolveMessage(this.name,a,...s)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,Ms.customElement)("ft-i18n")(Ce);var Wt=to.build("textInput"),zs={hidePassword:"Hide password",showPassword:"Show password",invalidEmail:"Invalid email format.",invalidUrl:"Invalid URL format."};var hl=S(P());var fl=S(G()),Y=S(te()),mr=S(P());var Hs=S(G()),ze=S(P()),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")},Ws=Hs.css`
474
+ .ft-tooltip--container {
475
+ display: block;
476
+ }
477
+
478
+ .ft-tooltip--inline {
479
+ display: inline-block;
480
+ max-width: 100%;
481
+ }
482
+
483
+ .ft-tooltip {
484
+ position: fixed;
485
+ box-sizing: border-box;
486
+ overflow: hidden;
487
+ width: max-content;
488
+ max-width: ${Ft.maxWidth};
489
+ text-align: center;
490
+ padding: ${Ft.distance};
491
+ z-index: ${Ft.zIndex};
492
+ }
493
+
494
+ .ft-tooltip--content {
495
+ padding: 4px 8px;
496
+ border-radius: ${Ft.borderRadiusS};
497
+ background-color: ${Ft.backgroundColor};
498
+ color: ${Ft.color};
499
+ position: relative;
500
+ word-break: break-word;
501
+ }
502
+ `;var $s=["top","right","bottom","left"],Fs=["start","end"],cn=$s.reduce((e,r)=>e.concat(r,r+"-"+Fs[0],r+"-"+Fs[1]),[]),Gs=Math.min,js=Math.max;var Tc={left:"right",right:"left",bottom:"top",top:"bottom"},Lc={start:"end",end:"start"};function dn(e,r,o){return js(e,Gs(r,o))}function ro(e,r){return typeof e=="function"?e(r):e}function $t(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function pn(e){return e==="y"?"height":"width"}function oo(e){return["top","bottom"].includes($t(e))?"y":"x"}function fn(e){return un(oo(e))}function Ks(e,r,o){o===void 0&&(o=!1);let n=ot(e),a=fn(e),s=pn(a),l=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[s]>r.floating[s]&&(l=ln(l)),[l,ln(l)]}function Vs(e){return e.replace(/start|end/g,r=>Lc[r])}function ln(e){return e.replace(/left|right|bottom|top/g,r=>Tc[r])}function _c(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zs(e){return typeof e!="number"?_c(e):{top:e,right:e,bottom:e,left:e}}function yt(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 qs(e,r,o){let{reference:n,floating:a}=e,s=oo(r),l=fn(r),d=pn(l),u=$t(r),p=s==="y",g=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,y=n[d]/2-a[d]/2,x;switch(u){case"top":x={x:g,y:n.y-a.height};break;case"bottom":x={x:g,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-a.width,y:h};break;default:x={x:n.x,y:n.y}}switch(ot(r)){case"start":x[l]-=y*(o&&p?-1:1);break;case"end":x[l]+=y*(o&&p?-1:1);break}return x}var Ys=async(e,r,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:l}=o,d=s.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(r)),p=await l.getElementRects({reference:e,floating:r,strategy:a}),{x:g,y:h}=qs(p,n,u),y=n,x={},b=0;for(let v=0;v<d.length;v++){let{name:R,fn:w}=d[v],{x:A,y:_,data:k,reset:D}=await w({x:g,y:h,initialPlacement:n,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:r}});g=A??g,h=_??h,x={...x,[R]:{...x[R],...k}},D&&b<=50&&(b++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(p=D.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:a}):D.rects),{x:g,y:h}=qs(p,y,u)),v=-1)}return{x:g,y:h,placement:y,strategy:a,middlewareData:x}};async function hn(e,r){var o;r===void 0&&(r={});let{x:n,y:a,platform:s,rects:l,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:h="floating",altBoundary:y=!1,padding:x=0}=ro(r,e),b=Zs(x),R=d[y?h==="floating"?"reference":"floating":h],w=yt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(R)))==null||o?R:R.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:g,strategy:u})),A=h==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),k=await(s.isElement==null?void 0:s.isElement(_))?await(s.getScale==null?void 0:s.getScale(_))||{x:1,y:1}:{x:1,y:1},D=yt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:A,offsetParent:_,strategy:u}):A);return{top:(w.top-D.top+b.top)/k.y,bottom:(D.bottom-w.bottom+b.bottom)/k.y,left:(w.left-D.left+b.left)/k.x,right:(D.right-w.right+b.right)/k.x}}function Pc(e,r,o){return(e?[...o.filter(a=>ot(a)===e),...o.filter(a=>ot(a)!==e)]:o.filter(a=>$t(a)===a)).filter(a=>e?ot(a)===e||(r?Vs(a)!==a:!1):!0)}var gn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:s,middlewareData:l,placement:d,platform:u,elements:p}=r,{crossAxis:g=!1,alignment:h,allowedPlacements:y=cn,autoAlignment:x=!0,...b}=ro(e,r),v=h!==void 0||y===cn?Pc(h||null,x,y):y,R=await hn(r,b),w=((o=l.autoPlacement)==null?void 0:o.index)||0,A=v[w];if(A==null)return{};let _=Ks(A,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==A)return{reset:{placement:v[0]}};let k=[R[$t(A)],R[_[0]],R[_[1]]],D=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:k}],se=v[w+1];if(se)return{data:{index:w+1,overflows:D},reset:{placement:se}};let we=D.map(X=>{let f=ot(X.placement);return[X.placement,f&&g?X.overflows.slice(0,2).reduce((m,I)=>m+I,0):X.overflows[0],X.overflows]}).sort((X,f)=>X[1]-f[1]),Ae=((a=we.filter(X=>X[2].slice(0,ot(X[0])?2:3).every(f=>f<=0))[0])==null?void 0:a[0])||we[0][0];return Ae!==d?{data:{index:w+1,overflows:D},reset:{placement:Ae}}:{}}}};var yn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...u}=ro(e,r),p={x:o,y:n},g=await hn(r,u),h=oo($t(a)),y=un(h),x=p[y],b=p[h];if(s){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+g[R],_=x-g[w];x=dn(A,x,_)}if(l){let R=h==="y"?"top":"left",w=h==="y"?"bottom":"right",A=b+g[R],_=b-g[w];b=dn(A,b,_)}let v=d.fn({...r,[y]:x,[h]:b});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[y]:s,[h]:l}}}}}};var mn=Math.min,Gt=Math.max,fr=Math.round;var He=e=>({x:e,y:e});function We(e){return Js(e)?(e.nodeName||"").toLowerCase():"#document"}function ce(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Fe(e){var r;return(r=(Js(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Js(e){return e instanceof Node||e instanceof ce(e).Node}function Le(e){return e instanceof Element||e instanceof ce(e).Element}function Ee(e){return e instanceof HTMLElement||e instanceof ce(e).HTMLElement}function Xs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ce(e).ShadowRoot}function jt(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=fe(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function Qs(e){return["table","td","th"].includes(We(e))}function ao(e){let r=io(),o=fe(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 el(e){let r=mt(e);for(;Ee(r)&&!hr(r);){if(ao(r))return r;r=mt(r)}return null}function io(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function hr(e){return["html","body","#document"].includes(We(e))}function fe(e){return ce(e).getComputedStyle(e)}function gr(e){return Le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mt(e){if(We(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Xs(e)&&e.host||Fe(e);return Xs(r)?r.host:r}function tl(e){let r=mt(e);return hr(r)?e.ownerDocument?e.ownerDocument.body:e.body:Ee(r)&&jt(r)?r:tl(r)}function no(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=tl(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),l=ce(a);return s?r.concat(l,l.visualViewport||[],jt(a)?a:[],l.frameElement&&o?no(l.frameElement):[]):r.concat(a,no(a,[],o))}function nl(e){let r=fe(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=Ee(e),s=a?e.offsetWidth:o,l=a?e.offsetHeight:n,d=fr(o)!==s||fr(n)!==l;return d&&(o=s,n=l),{width:o,height:n,$:d}}function al(e){return Le(e)?e:e.contextElement}function Kt(e){let r=al(e);if(!Ee(r))return He(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:s}=nl(r),l=(s?fr(o.width):o.width)/n,d=(s?fr(o.height):o.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Bc=He(0);function il(e){let r=ce(e);return!io()||!r.visualViewport?Bc:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Uc(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==ce(e)?!1:r}function yr(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=al(e),l=He(1);r&&(n?Le(n)&&(l=Kt(n)):l=Kt(e));let d=Uc(s,o,n)?il(s):He(0),u=(a.left+d.x)/l.x,p=(a.top+d.y)/l.y,g=a.width/l.x,h=a.height/l.y;if(s){let y=ce(s),x=n&&Le(n)?ce(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let v=Kt(b),R=b.getBoundingClientRect(),w=fe(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*v.x,_=R.top+(b.clientTop+parseFloat(w.paddingTop))*v.y;u*=v.x,p*=v.y,g*=v.x,h*=v.y,u+=A,p+=_,b=ce(b).frameElement}}return yt({width:g,height:h,x:u,y:p})}function Mc(e){let{rect:r,offsetParent:o,strategy:n}=e,a=Ee(o),s=Fe(o);if(o===s)return r;let l={scrollLeft:0,scrollTop:0},d=He(1),u=He(0);if((a||!a&&n!=="fixed")&&((We(o)!=="body"||jt(s))&&(l=gr(o)),Ee(o))){let p=yr(o);d=Kt(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+u.x,y:r.y*d.y-l.scrollTop*d.y+u.y}}function zc(e){return Array.from(e.getClientRects())}function sl(e){return yr(Fe(e)).left+gr(e).scrollLeft}function Hc(e){let r=Fe(e),o=gr(e),n=e.ownerDocument.body,a=Gt(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),s=Gt(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),l=-o.scrollLeft+sl(e),d=-o.scrollTop;return fe(n).direction==="rtl"&&(l+=Gt(r.clientWidth,n.clientWidth)-a),{width:a,height:s,x:l,y:d}}function Wc(e,r){let o=ce(e),n=Fe(e),a=o.visualViewport,s=n.clientWidth,l=n.clientHeight,d=0,u=0;if(a){s=a.width,l=a.height;let p=io();(!p||p&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:s,height:l,x:d,y:u}}function Fc(e,r){let o=yr(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Ee(e)?Kt(e):He(1),l=e.clientWidth*s.x,d=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:l,height:d,x:u,y:p}}function rl(e,r,o){let n;if(r==="viewport")n=Wc(e,o);else if(r==="document")n=Hc(Fe(e));else if(Le(r))n=Fc(r,o);else{let a=il(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return yt(n)}function ll(e,r){let o=mt(e);return o===r||!Le(o)||hr(o)?!1:fe(o).position==="fixed"||ll(o,r)}function $c(e,r){let o=r.get(e);if(o)return o;let n=no(e,[],!1).filter(d=>Le(d)&&We(d)!=="body"),a=null,s=fe(e).position==="fixed",l=s?mt(e):e;for(;Le(l)&&!hr(l);){let d=fe(l),u=ao(l);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||jt(l)&&!u&&ll(e,l))?n=n.filter(g=>g!==l):a=d,l=mt(l)}return r.set(e,n),n}function Gc(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,l=[...o==="clippingAncestors"?$c(r,this._c):[].concat(o),n],d=l[0],u=l.reduce((p,g)=>{let h=rl(r,g,a);return p.top=Gt(h.top,p.top),p.right=mn(h.right,p.right),p.bottom=mn(h.bottom,p.bottom),p.left=Gt(h.left,p.left),p},rl(r,d,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function jc(e){return nl(e)}function Kc(e,r,o){let n=Ee(r),a=Fe(r),s=o==="fixed",l=yr(e,!0,s,r),d={scrollLeft:0,scrollTop:0},u=He(0);if(n||!n&&!s)if((We(r)!=="body"||jt(a))&&(d=gr(r)),n){let p=yr(r,!0,s,r);u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}else a&&(u.x=sl(a));return{x:l.left+d.scrollLeft-u.x,y:l.top+d.scrollTop-u.y,width:l.width,height:l.height}}function ol(e,r){return!Ee(e)||fe(e).position==="fixed"?null:r?r(e):e.offsetParent}function cl(e,r){let o=ce(e);if(!Ee(e))return o;let n=ol(e,r);for(;n&&Qs(n)&&fe(n).position==="static";)n=ol(n,r);return n&&(We(n)==="html"||We(n)==="body"&&fe(n).position==="static"&&!ao(n))?o:n||el(e)||o}var Vc=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||cl,s=this.getDimensions;return{reference:Kc(r,await a(o),n),floating:{x:0,y:0,...await s(o)}}};function Zc(e){return fe(e).direction==="rtl"}var so={convertOffsetParentRelativeRectToViewportRelativeRect:Mc,getDocumentElement:Fe,getClippingRect:Gc,getOffsetParent:cl,getElementRects:Vc,getClientRects:zc,getDimensions:jc,getScale:Kt,isElement:Le,isRTL:Zc};var dl=(e,r,o)=>{let n=new Map,a={platform:so,...o},s={...a.platform,_c:n};return Ys(e,r,{...a,platform:s})};function ul(e){return qc(e)}function bn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function qc(e){for(let r=e;r;r=bn(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=bn(e);r;r=bn(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 pl(e,r,o){return dl(e,r,{platform:{...so,getOffsetParent:n=>so.getOffsetParent(n,ul)},middleware:[yn({crossAxis:!0}),gn({allowedPlacements:[o]})]})}var de=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},F=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 fl.html`
503
+ <div part="container"
504
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
505
+ @mouseenter=${this.onHover}
506
+ @mouseleave=${this.onOut}
507
+ @focusin=${this.onHover}
508
+ @focusout=${this.onOut}
509
+ @touchstart=${this.onTouch}>
510
+ <slot part="slot" @click=${this.onClick}></slot>
511
+ <div part="tooltip" role="tooltip" inert
512
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
513
+ ?hidden=${!this.visible}>
514
+ <div part="tooltip-content" class="ft-tooltip--content">
515
+ <slot name="text"></slot>
516
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
517
+ </div>
518
+ </div>
519
+ </div>
520
+ `}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="",pl(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))}};F.elementDefinitions={"ft-typography":me};F.styles=Ws;de([(0,Y.property)()],F.prototype,"text",void 0);de([(0,Y.property)({type:Boolean})],F.prototype,"manual",void 0);de([(0,Y.property)({type:Boolean})],F.prototype,"inline",void 0);de([(0,Y.property)({type:Number})],F.prototype,"delay",void 0);de([(0,Y.property)()],F.prototype,"position",void 0);de([(0,Y.queryAssignedNodes)()],F.prototype,"slotNodes",void 0);de([(0,Y.query)(".ft-tooltip--container")],F.prototype,"container",void 0);de([(0,Y.query)(".ft-tooltip")],F.prototype,"tooltip",void 0);de([(0,Y.query)(".ft-tooltip--content")],F.prototype,"tooltipContent",void 0);de([(0,Y.state)()],F.prototype,"visible",void 0);de([(0,Y.eventOptions)({passive:!0})],F.prototype,"onTouch",null);de([(0,Y.eventOptions)({passive:!0})],F.prototype,"onHover",null);de([(0,Y.eventOptions)({passive:!0})],F.prototype,"onOut",null);de([(0,Y.eventOptions)({passive:!0})],F.prototype,"onClick",null);(0,hl.customElement)("ft-tooltip")(F);var bl=S(P());var bt=S(G()),Z=S(te()),ml=S(Zt());var co=S(P());var gl=S(G()),C=S(P()),T={defaultInputFontSize:C.FtCssVariableFactory.create("--ftds-base-input-default-input-font-size","","SIZE",C.typographyBody2Medium.fontSize),defaultInputLineHeight:C.FtCssVariableFactory.create("--ftds-base-input-default-input-line-height","","NUMBER",C.typographyBody2Medium.lineHeight),labelColor:C.FtCssVariableFactory.create("--ftds-base-input-label-color","","COLOR",C.textInput.labelColor),largeFieldHeight:C.FtCssVariableFactory.create("--ftds-base-input-large-field-height","","SIZE",C.textInput.largeFieldHeight),largeFieldVerticalGap:C.FtCssVariableFactory.create("--ftds-base-input-large-field-vertical-gap","","SIZE",C.textInput.largeFieldVerticalGap),largeFieldHorizontalGap:C.FtCssVariableFactory.create("--ftds-base-input-large-field-horizontal-gap","","SIZE",C.textInput.largeFieldHorizontalGap),largeFieldHorizontalPadding:C.FtCssVariableFactory.create("--ftds-base-input-large-field-horizontal-padding","","SIZE",C.textInput.largeFieldHorizontalPadding),largeFieldIconSize:C.FtCssVariableFactory.create("--ftds-base-input-large-icon-size","","SIZE",C.textInput.largeFieldIconSize),mediumFieldHeight:C.FtCssVariableFactory.create("--ftds-base-input-medium-field-height","","SIZE",C.textInput.mediumFieldHeight),mediumFieldVerticalGap:C.FtCssVariableFactory.create("--ftds-base-input-medium-field-vertical-gap","","SIZE",C.textInput.mediumFieldVerticalGap),mediumFieldHorizontalGap:C.FtCssVariableFactory.create("--ftds-base-input-medium-field-horizontal-gap","","SIZE",C.textInput.mediumFieldHorizontalGap),mediumFieldHorizontalPadding:C.FtCssVariableFactory.create("--ftds-base-input-medium-field-horizontal-padding","","SIZE",C.textInput.mediumFieldHorizontalPadding),mediumFieldIconSize:C.FtCssVariableFactory.create("--ftds-base-input-medium-icon-size","","SIZE",C.textInput.mediumFieldIconSize),disabledComponentOpacity:C.FtCssVariableFactory.create("--ftds-base-input-disabled-component-opacity","","NUMBER",C.textInput.disabledComponentOpacity),defaultBorderWidth:C.FtCssVariableFactory.create("--ftds-base-input-default-border-width","","SIZE",C.textInput.defaultBorderWidth),defaultBorderColor:C.FtCssVariableFactory.create("--ftds-base-input-default-border-color","","COLOR",C.textInput.defaultBorderColor),errorBorderWidth:C.FtCssVariableFactory.create("--ftds-base-input-error-border-width","","SIZE",C.textInput.errorBorderWidth),errorBorderColor:C.FtCssVariableFactory.create("--ftds-base-input-error-border-color","","COLOR",C.textInput.errorBorderColor),warningBorderWidth:C.FtCssVariableFactory.create("--ftds-base-input-warning-border-width","","SIZE",C.textInput.warningBorderWidth),warningBorderColor:C.FtCssVariableFactory.create("--ftds-base-input-warning-border-color","","COLOR",C.textInput.warningBorderColor),borderRadius:C.FtCssVariableFactory.create("--ftds-base-input-border-radius","","COLOR",C.textInput.borderRadius),focusOutlineOffset:C.FtCssVariableFactory.create("--ftds-base-input-focus-outline-offset","","SIZE",C.textInput.focusOutlineOffset),focusOutlineWidth:C.FtCssVariableFactory.create("--ftds-base-input-focus-outline-width","","SIZE",C.textInput.focusOutlineWidth),focusFocusRingColor:C.FtCssVariableFactory.create("--ftds-base-input-focus-ring-color","","COLOR",C.textInput.focusFocusRingColor),appendIconColor:C.FtCssVariableFactory.create("--ftds-base-input-append-icon-color","","COLOR",C.textInput.trailingIconColor),prependIconColor:C.FtCssVariableFactory.create("--ftds-base-input-prepend-icon-color","","COLOR",C.textInput.trailingIconColor),helperHorizontalPadding:C.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-padding","","COLOR",C.textInput.helperHorizontalPadding),helperHorizontalGap:C.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-gap","","COLOR",C.textInput.helperHorizontalGap),helperIconSize:C.FtCssVariableFactory.create("--ftds-base-input-helper-icon-size","","COLOR",C.textInput.helperIconSize),helperIconHorizontalGap:C.FtCssVariableFactory.create("--ftds-base-input-helper-horizontal-gap","","COLOR",C.textInput.helperHorizontalGap),defaultHelperTextColor:C.FtCssVariableFactory.create("--ftds-base-input-helper-default-helper-text","","COLOR",C.textInput.defaultHelperTextColor),errorHelperIconColor:C.FtCssVariableFactory.create("--ftds-base-input-helper-error-helper-icon-color","","COLOR",C.textInput.errorHelperIconColor),warningHelperIconColor:C.FtCssVariableFactory.create("--ftds-base-input-helper-warning-helper-icon-color","","COLOR",C.textInput.warningHelperIconColor)},yl=gl.css`
521
+
522
+ *:focus {
523
+ outline: none;
524
+ }
525
+
526
+ slot::slotted(*) {
527
+ width: 100%;
528
+ height: 100%;
529
+ box-sizing: border-box;
530
+ border: none;
531
+ padding: 0;
532
+ }
533
+
534
+ slot::slotted(*:focus) {
535
+ outline: none;
536
+ }
537
+
538
+ slot:not([name])::slotted(*) { /* all elements inside of the default slot, in which will be the actual input */
539
+ font-size: ${T.defaultInputFontSize};
540
+ line-height: ${T.defaultInputLineHeight};
541
+ }
542
+
543
+ .ftds-input {
544
+ display: flex;
545
+ width: 100%;
546
+ flex-direction: column;
547
+ align-items: stretch;
548
+ position: relative;
549
+ height: var(--field-height);
550
+ }
551
+
552
+ .ftds-input.ftds--size-large {
553
+ --field-height: ${T.largeFieldHeight};
554
+ --field-vertical-gap: ${T.largeFieldVerticalGap};
555
+ --field-horizontal-gap: ${T.largeFieldHorizontalGap};
556
+ --field-horizontal-padding: ${T.largeFieldHorizontalPadding};
557
+ --icon-size: ${T.largeFieldIconSize};
558
+ }
559
+
560
+ .ftds-input.ftds--size-medium {
561
+ --field-height: ${T.mediumFieldHeight};
562
+ --field-vertical-gap: ${T.mediumFieldVerticalGap};
563
+ --field-horizontal-gap: ${T.mediumFieldHorizontalGap};
564
+ --field-horizontal-padding: ${T.mediumFieldHorizontalPadding};
565
+ --icon-size: ${T.mediumFieldIconSize};
566
+ }
567
+
568
+ .ftds-input.disabled {
569
+ opacity: ${T.disabledComponentOpacity};
570
+ }
571
+
572
+ .inside-structure {
573
+ width: 100%;
574
+ box-sizing: border-box;
575
+ font-size: ${T.defaultInputFontSize};
576
+ line-height: ${T.defaultInputLineHeight};
577
+ border: ${T.defaultBorderWidth} solid ${T.defaultBorderColor};
578
+ border-radius: ${T.borderRadius};
579
+ --current-border-width: ${T.defaultBorderWidth};
580
+ outline-offset: calc(${T.focusOutlineOffset} - ${T.defaultBorderWidth});
581
+
582
+ --typo-caption-height: calc(${C.typographyCaption2Medium.lineHeight} * ${C.typographyCaption2Medium.fontSize});
583
+ --typo-body-height: calc(${T.defaultInputLineHeight} * ${T.defaultInputFontSize});
584
+ --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
585
+
586
+ --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
587
+ --value-padding-bottom: calc(var(--input-content-vertical-padding) - var(--current-border-width));
588
+ --value-padding-top: calc(var(--input-content-vertical-padding) + var(--field-vertical-gap) + var(--typo-caption-height) - var(--current-border-width));
589
+ padding: var(--value-padding-top) var(--field-horizontal-padding) var(--value-padding-bottom);
590
+ }
591
+
592
+ .ftds-input.no-label .inside-structure {
593
+ --value-padding-bottom: calc(((var(--field-height) - var(--typo-body-height)) / 2) - var(--current-border-width));
594
+ --value-padding-top: calc(((var(--field-height) - var(--typo-body-height)) / 2) - var(--current-border-width));
595
+ }
596
+
597
+ .ftds-input.with-prepend-icon .inside-structure {
598
+ padding-left: calc(var(--icon-size) + var(--field-horizontal-padding) + var(--field-horizontal-gap));
599
+ }
600
+
601
+ .ftds-input.with-append-icon .inside-structure {
602
+ padding-right: calc(var(--icon-size) + var(--field-horizontal-padding) + var(--field-horizontal-gap));
603
+ }
604
+
605
+ .ftds-input.error .inside-structure {
606
+ border: ${T.errorBorderWidth} solid ${T.errorBorderColor};
607
+ --current-border-width: ${T.errorBorderWidth};
608
+ }
609
+
610
+ .ftds-input.warning .inside-structure {
611
+ border: ${T.warningBorderWidth} solid ${T.warningBorderColor};
612
+ --current-border-width: ${T.warningBorderWidth};
613
+ }
614
+
615
+ .ftds-input.focused .inside-structure {
616
+ outline: ${T.focusOutlineWidth} solid ${T.focusFocusRingColor};
617
+ }
618
+
619
+ .inside-structure .inside-structure--icon {
620
+ position: absolute;
621
+ top: calc((var(--field-height) - var(--icon-size)) / 2);
622
+ height: var(--icon-size);
623
+ display: flex;
624
+ align-items: center;
625
+ }
626
+
627
+ .inside-structure .inside-structure--icon {
628
+ position: absolute;
629
+ top: calc((var(--field-height) - var(--icon-size)) / 2);
630
+ right: var(--field-horizontal-padding);
631
+ height: var(--icon-size);
632
+ }
633
+
634
+ .inside-structure .inside-structure--icon.append {
635
+ right: var(--field-horizontal-padding);
636
+ color: ${T.appendIconColor};
637
+ }
638
+
639
+ .inside-structure .inside-structure--icon.prepend {
640
+ left: var(--field-horizontal-padding);
641
+ color: ${T.prependIconColor};
642
+ }
643
+
644
+ .inside-structure .inside-structure--icon.append button {
645
+ color: ${T.appendIconColor};
646
+ }
647
+
648
+ .inside-structure .inside-structure--icon.prepend button {
649
+ color: ${T.prependIconColor};
650
+ }
651
+
652
+ .inside-structure .inside-structure--icon button {
653
+ border: none;
654
+ padding: 0;
655
+ background: none;
656
+ cursor: pointer;
657
+ }
658
+
659
+ .inside-structure .inside-structure--icon button:focus-visible {
660
+ outline: ${T.focusOutlineWidth} solid ${T.focusFocusRingColor};
661
+ border-radius: ${T.borderRadius};
662
+ }
663
+
664
+ ftds-input-label {
665
+ --ft-input-label-color: ${T.labelColor};
666
+ }
667
+
668
+ .ftds-input.with-prepend-icon ftds-input-label {
669
+ --ft-input-label-additional-padding-left: calc(var(--icon-size) + var(--field-horizontal-gap));
670
+ }
671
+
672
+ .ftds-input.with-append-icon ftds-input-label {
673
+ --ft-input-label-additional-padding-right: calc(var(--icon-size) + var(--field-horizontal-gap));
674
+ }
675
+
676
+ ftds-input-helper-text {
677
+ margin-top: ${T.helperHorizontalGap};
678
+ padding-left: ${T.helperHorizontalPadding};
679
+ --ftds-helper-text-icon-size: ${T.helperIconSize};
680
+ --ftds-helper-text-icon-horizontal-gap:${T.helperIconHorizontalGap};
681
+ --ftds-helper-text-color: ${T.defaultHelperTextColor};
682
+ --ftds-helper-text-error-icon-color: ${T.errorHelperIconColor};
683
+ --ftds-helper-text-warning-icon-color: ${T.warningHelperIconColor};
684
+ }
685
+
686
+ `;var vn=S(P());var lo=S(te());var xn=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},$e=class extends Pe{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};$e.elementDefinitions={};$e.styles=[Lt,La];xn([(0,lo.property)({type:Boolean})],$e.prototype,"outlined",void 0);xn([(0,lo.property)({type:Boolean})],$e.prototype,"error",void 0);xn([(0,lo.property)({type:Boolean})],$e.prototype,"disabled",void 0);(0,vn.customElement)("ft-input-label")($e);(0,vn.customElement)("ftds-input-label")(De);var ee=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},H=class extends co.FtdsBase{constructor(){super(...arguments),this.status=co.Status.default,this.disabled=!1,this.label="",this.hideLabel=!1,this.raiseLabel=!1,this.appendIconIsClickable=!1,this.prependIconIsClickable=!1,this.errorMessages=[],this.warningMessages=[],this.hasFocus=!1}setFocusState(r){this.hasFocus=r,this.toggleAttribute("focused",r)}focusSlottedInput(){let o=this.mainSlot.assignedElements({flatten:!0}).find(n=>n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement);o?.focus()}get shouldShowLabel(){return!this.hideLabel&&this.label}render(){let r={"ftds-input":!0,disabled:this.disabled,"no-label":!this.shouldShowLabel,focused:this.hasFocus,"with-prepend-icon":!!this.prependIcon,"with-append-icon":!!this.appendIcon,[this.status]:!0,...this.getDesignSystemBaseClasses()};return bt.html`
687
+ <div class="${(0,ml.classMap)(r)}">
688
+
689
+ <div class="inside-structure" @click=${()=>this.focusSlottedInput()}>
690
+ <slot part="label" name="label">
691
+ ${dt(this.shouldShowLabel,()=>bt.html`
692
+ <ftds-input-label
693
+ aria-hidden="true"
694
+ text="${this.label}"
695
+ ?raised=${this.raiseLabel}
696
+ .size="${this.size}"
697
+ ></ftds-input-label>
698
+ `)}
699
+ </slot>
700
+ <div class="inside-structure--icon prepend">
701
+ <slot part="prepend-icon" name="prepend-icon">
702
+ ${this.renderIcon("prepend")}
703
+ </slot>
704
+ </div>
705
+ <div class="inside-structure--input">
706
+ <slot
707
+ @focusin=${()=>this.setFocusState(!0)}
708
+ @focusout=${()=>this.setFocusState(!1)}
709
+ ></slot>
710
+ </div>
711
+ <div class="inside-structure--icon append">
712
+ <slot part="append-icon" name="append-icon">
713
+ ${this.renderIcon("append")}
714
+ </slot>
715
+ </div>
716
+ </div>
717
+
718
+ <slot part="helper-text" name="helper-text">
719
+ <ftds-input-helper-text
720
+ .helperText="${this.helperText}"
721
+ .errorMessages="${this.errorMessages}"
722
+ .warningMessages="${this.warningMessages}"
723
+ ></ftds-input-helper-text>
724
+ </slot>
725
+
726
+ </div>
727
+ `}renderIcon(r){let o=r==="append"?this.appendIcon:this.prependIcon,n=r==="append"?"append-icon-click":"prepend-icon-click",a=r==="append"?this.appendIconIsClickable:this.prependIconIsClickable,s=r==="append"?this.appendIconLabel:this.prependIconLabel;return!o||o===!0?bt.nothing:a?bt.html`
728
+ <ft-tooltip .text=${s}>
729
+ <button
730
+ .aria-label=${s}
731
+ @click=${l=>{l.stopPropagation(),this.dispatchEvent(new CustomEvent(n,l))}}
732
+ >
733
+ <ft-icon .value=${o}></ft-icon>
734
+ </button>
735
+ </ft-tooltip>
736
+ `:bt.html`
737
+ <ft-icon .value=${o}></ft-icon>`}};H.elementDefinitions={"ftds-input-helper-text":ue,"ftds-input-label":De,"ft-icon":Q,"ft-tooltip":F};H.styles=[yl];ee([(0,Z.property)()],H.prototype,"status",void 0);ee([(0,Z.property)({type:Boolean})],H.prototype,"disabled",void 0);ee([(0,Z.property)()],H.prototype,"label",void 0);ee([(0,Z.property)({type:Boolean})],H.prototype,"hideLabel",void 0);ee([(0,Z.property)({type:Boolean})],H.prototype,"raiseLabel",void 0);ee([(0,Z.property)()],H.prototype,"helperText",void 0);ee([(0,Z.property)()],H.prototype,"appendIcon",void 0);ee([(0,Z.property)()],H.prototype,"appendIconLabel",void 0);ee([(0,Z.property)({type:Boolean})],H.prototype,"appendIconIsClickable",void 0);ee([(0,Z.property)()],H.prototype,"prependIcon",void 0);ee([(0,Z.property)()],H.prototype,"prependIconLabel",void 0);ee([(0,Z.property)({type:Boolean})],H.prototype,"prependIconIsClickable",void 0);ee([(0,Z.state)()],H.prototype,"errorMessages",void 0);ee([(0,Z.state)()],H.prototype,"warningMessages",void 0);ee([(0,Z.state)()],H.prototype,"hasFocus",void 0);ee([(0,Z.query)(".ft-base-input")],H.prototype,"container",void 0);ee([(0,Z.query)("slot:not([name])")],H.prototype,"mainSlot",void 0);(0,bl.customElement)("ftds-base-input")(H);var Sn=function(e,r,o,n){var a=arguments.length,s=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(l=e[d])&&(s=(a<3?l(s):a>3?l(r,o,s):l(r,o))||s);return a>3&&s&&Object.defineProperty(r,o,s),s},Ge=class extends Xr((0,xt.toFtInput)(xt.FtdsBase,String)){constructor(){var r;super(),this.type=ye.text,this.showClearPassword=!1,this.value=(r=this.value)!==null&&r!==void 0?r:"",this.addI18nContext(Wt,zs)}get inputType(){return this.type===ye.password&&this.showClearPassword?ye.text:this.type}onInput(){var r;this.value=((r=this.input)===null||r===void 0?void 0:r.value)||"",super.onInput()}connectedCallback(){this.updateTypeBasedAdditionalRules(this.type),super.connectedCallback()}willUpdate(r){super.willUpdate(r),r.has("type")&&this.updateTypeBasedAdditionalRules(this.type)}get showLabel(){return!this.hideLabel&&this.label}get passwordIconForCurrentState(){return this.type===ye.password&&!this.disabled?this.showClearPassword?Ne.EYE_SLASH:Ne.EYE:void 0}render(){let r=(0,vl.classMap)({"ftds-input":!0,...this.getDesignSystemBaseClasses()});return xl.html`
738
+ <ftds-base-input
739
+
740
+ .status=${this.status}
741
+ .size=${this.size}
742
+ ?disabled="${this.disabled}"
743
+
744
+ .errorMessages=${this.errorMessages}
745
+ .warningMessages=${this.warningMessages}
746
+ .helperText=${this.helperText}
747
+
748
+ .label=${So(this.label)}
749
+ ?hideLabel=${this.hideLabel}
750
+ ?raiseLabel=${this.type==ye.date||this.type==ye.time||this.focused||this.value!=""}
751
+
752
+ .appendIcon=${this.passwordIconForCurrentState}
753
+ .appendIconLabel=${this.showClearPassword?Wt.messages.hidePassword():Wt.messages.showPassword()}
754
+ appendIconIsClickable
755
+ @append-icon-click=${()=>this.showClearPassword=!this.showClearPassword}
756
+
757
+ >
758
+
759
+ <input class=${r}
760
+ name="${this.name}"
761
+ .value="${this.value}"
762
+ .type="${this.inputType}"
763
+ ?disabled=${this.disabled}
764
+ @input=${this.onInput}
765
+ @focus=${this.onFocus}
766
+ @blur=${this.onBlur}
767
+ aria-label="${So(this.label)}"
768
+ />
769
+
770
+ </ftds-base-input>
771
+ `}updateTypeBasedAdditionalRules(r){this.additionalErrorRules=(()=>{switch(r){case ye.email:return[xt.ValidationRules.email(Wt.messages.invalidEmail())];case ye.url:return[xt.ValidationRules.url(Wt.messages.invalidUrl())];default:return[]}})(),this.additionalWarningRules=(()=>{switch(r){default:return[]}})()}};Ge.elementDefinitions={"ftds-input-helper-text":ue,"ftds-input-label":De,"ftds-base-input":H,"ft-icon":Q,"ft-tooltip":F};Ge.styles=[Qn];Sn([(0,Vt.property)()],Ge.prototype,"type",void 0);Sn([(0,Vt.state)()],Ge.prototype,"showClearPassword",void 0);Sn([(0,Vt.query)("input")],Ge.prototype,"input",void 0);(0,Sl.customElement)("ftds-text-input")(Ge);})();
772
+ /*! Bundled license information:
773
+
774
+ lit-html/lit-html.js:
775
+ (**
776
+ * @license
777
+ * Copyright 2017 Google LLC
778
+ * SPDX-License-Identifier: BSD-3-Clause
779
+ *)
780
+
781
+ lit-html/directives/if-defined.js:
782
+ (**
783
+ * @license
784
+ * Copyright 2018 Google LLC
785
+ * SPDX-License-Identifier: BSD-3-Clause
786
+ *)
787
+
788
+ lit-html/directives/when.js:
789
+ (**
790
+ * @license
791
+ * Copyright 2021 Google LLC
792
+ * SPDX-License-Identifier: BSD-3-Clause
793
+ *)
794
+
795
+ lit-html/static.js:
796
+ (**
797
+ * @license
798
+ * Copyright 2020 Google LLC
799
+ * SPDX-License-Identifier: BSD-3-Clause
800
+ *)
801
+
802
+ @lit/reactive-element/css-tag.js:
803
+ (**
804
+ * @license
805
+ * Copyright 2019 Google LLC
806
+ * SPDX-License-Identifier: BSD-3-Clause
807
+ *)
808
+ */