@fluid-topics/ft-search-selected-facets 1.1.116 → 1.1.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
- "use strict";(()=>{var Td=Object.create;var Yi=Object.defineProperty;var Pd=Object.getOwnPropertyDescriptor;var kd=Object.getOwnPropertyNames;var _d=Object.getPrototypeOf,$d=Object.prototype.hasOwnProperty;var tr=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Dd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kd(e))!$d.call(t,i)&&i!==o&&Yi(t,i,{get:()=>e[i],enumerable:!(n=Pd(e,i))||n.enumerable});return t};var y=(t,e,o)=>(o=t!=null?Td(_d(t)):{},Dd(e||!t||!t.__esModule?Yi(o,"default",{value:t,enumerable:!0}):o,t));var R=tr((lf,Xi)=>{Xi.exports=ftGlobals.wcUtils});var k=tr((cf,Qi)=>{Qi.exports=ftGlobals.lit});var Pn=tr((df,Ji)=>{Ji.exports=ftGlobals.litRepeat});var j=tr((ff,oa)=>{oa.exports=ftGlobals.litDecorators});var sa=tr((_t,aa)=>{var wo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ao=function(){function t(){this.fetch=!1,this.DOMException=wo.DOMException}return t.prototype=wo,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(h){return h&&DataView.prototype.isPrototypeOf(h)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(h){return h&&s.indexOf(Object.prototype.toString.call(h))>-1};function p(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(h)||h==="")throw new TypeError('Invalid character in header field name: "'+h+'"');return h.toLowerCase()}function f(h){return typeof h!="string"&&(h=String(h)),h}function m(h){var x={next:function(){var P=h.shift();return{done:P===void 0,value:P}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function g(h){this.map={},h instanceof g?h.forEach(function(x,P){this.append(P,x)},this):Array.isArray(h)?h.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(x){this.append(x,h[x])},this)}g.prototype.append=function(h,x){h=p(h),x=f(x);var P=this.map[h];this.map[h]=P?P+", "+x:x},g.prototype.delete=function(h){delete this.map[p(h)]},g.prototype.get=function(h){return h=p(h),this.has(h)?this.map[h]:null},g.prototype.has=function(h){return this.map.hasOwnProperty(p(h))},g.prototype.set=function(h,x){this.map[p(h)]=f(x)},g.prototype.forEach=function(h,x){for(var P in this.map)this.map.hasOwnProperty(P)&&h.call(x,this.map[P],P,this)},g.prototype.keys=function(){var h=[];return this.forEach(function(x,P){h.push(P)}),m(h)},g.prototype.values=function(){var h=[];return this.forEach(function(x){h.push(x)}),m(h)},g.prototype.entries=function(){var h=[];return this.forEach(function(x,P){h.push([P,x])}),m(h)},i.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(h){if(!h._noBody){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}}function S(h){return new Promise(function(x,P){h.onload=function(){x(h.result)},h.onerror=function(){P(h.error)}})}function v(h){var x=new FileReader,P=S(x);return x.readAsArrayBuffer(h),P}function O(h){var x=new FileReader,P=S(x),G=/charset=([A-Za-z0-9_-]+)/.exec(h.type),te=G?G[1]:"utf-8";return x.readAsText(h,te),P}function T(h){for(var x=new Uint8Array(h),P=new Array(x.length),G=0;G<x.length;G++)P[G]=String.fromCharCode(x[G]);return P.join("")}function L(h){if(h.slice)return h.slice(0);var x=new Uint8Array(h.byteLength);return x.set(new Uint8Array(h)),x.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(h){this.bodyUsed=this.bodyUsed,this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:i.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:i.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():i.arrayBuffer&&i.blob&&a(h)?(this._bodyArrayBuffer=L(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||c(h))?this._bodyArrayBuffer=L(h):this._bodyText=h=Object.prototype.toString.call(h):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof h=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var h=b(this);if(h)return h;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var h=b(this);return h||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var h=b(this);if(h)return h;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(h){var x=h.toUpperCase();return $.indexOf(x)>-1?x:h}function U(h,x){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var P=x.body;if(h instanceof U){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,x.headers||(this.headers=new g(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!P&&h._bodyInit!=null&&(P=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new g(x.headers)),this.method=B(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var te=/\?/;this.url+=(te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function Te(h){var x=new FormData;return h.trim().split("&").forEach(function(P){if(P){var G=P.split("="),te=G.shift().replace(/\+/g," "),z=G.join("=").replace(/\+/g," ");x.append(decodeURIComponent(te),decodeURIComponent(z))}}),x}function dt(h){var x=new g,P=h.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(G){return G.indexOf(`
2
- `)===0?G.substr(1,G.length):G}).forEach(function(G){var te=G.split(":"),z=te.shift().trim();if(z){var Eo=te.join(":").trim();try{x.append(z,Eo)}catch(Tn){console.warn("Response "+Tn.message)}}}),x}I.call(U.prototype);function Ee(h,x){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new g(x.headers),this.url=x.url||"",this._initBody(h)}I.call(Ee.prototype),Ee.prototype.clone=function(){return new Ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},Ee.error=function(){var h=new Ee(null,{status:200,statusText:""});return h.ok=!1,h.status=0,h.type="error",h};var pt=[301,302,303,307,308];Ee.redirect=function(h,x){if(pt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Ee(null,{status:x,headers:{location:h}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,P){this.message=x,this.name=P;var G=Error(x);this.stack=G.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function me(h,x){return new Promise(function(P,G){var te=new U(h,x);if(te.signal&&te.signal.aborted)return G(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Eo(){z.abort()}z.onload=function(){var ge={statusText:z.statusText,headers:dt(z.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(z.status<200||z.status>599)?ge.status=200:ge.status=z.status,ge.url="responseURL"in z?z.responseURL:ge.headers.get("X-Request-URL");var er="response"in z?z.response:z.responseText;setTimeout(function(){P(new Ee(er,ge))},0)},z.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){G(new o.DOMException("Aborted","AbortError"))},0)};function Tn(ge){try{return ge===""&&n.location.href?n.location.href:ge}catch{return ge}}if(z.open(te.method,Tn(te.url),!0),te.credentials==="include"?z.withCredentials=!0:te.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(i.blob?z.responseType="blob":i.arrayBuffer&&(z.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof g||n.Headers&&x.headers instanceof n.Headers)){var qi=[];Object.getOwnPropertyNames(x.headers).forEach(function(ge){qi.push(p(ge)),z.setRequestHeader(ge,f(x.headers[ge]))}),te.headers.forEach(function(ge,er){qi.indexOf(er)===-1&&z.setRequestHeader(er,ge)})}else te.headers.forEach(function(ge,er){z.setRequestHeader(er,ge)});te.signal&&(te.signal.addEventListener("abort",Eo),z.onreadystatechange=function(){z.readyState===4&&te.signal.removeEventListener("abort",Eo)}),z.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return me.polyfill=!0,n.fetch||(n.fetch=me,n.Headers=g,n.Request=U,n.Response=Ee),o.Headers=g,o.Request=U,o.Response=Ee,o.fetch=me,o}({})})(Ao);Ao.fetch.ponyfill=!0;delete Ao.fetch.polyfill;var Or=wo.fetch?wo:Ao;_t=Or.fetch;_t.default=Or.fetch;_t.fetch=Or.fetch;_t.Headers=Or.Headers;_t.Request=Or.Request;_t.Response=Or.Response;aa.exports=_t});var Vt=tr((Jh,Cs)=>{Cs.exports=ftGlobals.litClassMap});var Ml=tr((dx,Fl)=>{Fl.exports=ftGlobals.litUnsafeHTML});var Id=y(R());var xt=y(k()),In=y(Pn()),Yr=y(R());var ea=y(k()),ta=y(R()),Bd={spacing:ta.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ra=ea.css`
1
+ "use strict";(()=>{var Pd=Object.create;var Xi=Object.defineProperty;var kd=Object.getOwnPropertyDescriptor;var _d=Object.getOwnPropertyNames;var $d=Object.getPrototypeOf,Dd=Object.prototype.hasOwnProperty;var tr=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Bd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _d(e))!Dd.call(t,i)&&i!==o&&Xi(t,i,{get:()=>e[i],enumerable:!(n=kd(e,i))||n.enumerable});return t};var m=(t,e,o)=>(o=t!=null?Pd($d(t)):{},Bd(e||!t||!t.__esModule?Xi(o,"default",{value:t,enumerable:!0}):o,t));var R=tr((cf,Qi)=>{Qi.exports=ftGlobals.wcUtils});var k=tr((df,Ji)=>{Ji.exports=ftGlobals.lit});var Pn=tr((pf,ea)=>{ea.exports=ftGlobals.litRepeat});var j=tr((uf,na)=>{na.exports=ftGlobals.litDecorators});var la=tr((_t,sa)=>{var wo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ao=function(){function t(){this.fetch=!1,this.DOMException=wo.DOMException}return t.prototype=wo,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function p(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function f(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var x={next:function(){var P=y.shift();return{done:P===void 0,value:P}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function g(y){this.map={},y instanceof g?y.forEach(function(x,P){this.append(P,x)},this):Array.isArray(y)?y.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}g.prototype.append=function(y,x){y=p(y),x=f(x);var P=this.map[y];this.map[y]=P?P+", "+x:x},g.prototype.delete=function(y){delete this.map[p(y)]},g.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},g.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},g.prototype.set=function(y,x){this.map[p(y)]=f(x)},g.prototype.forEach=function(y,x){for(var P in this.map)this.map.hasOwnProperty(P)&&y.call(x,this.map[P],P,this)},g.prototype.keys=function(){var y=[];return this.forEach(function(x,P){y.push(P)}),h(y)},g.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},g.prototype.entries=function(){var y=[];return this.forEach(function(x,P){y.push([P,x])}),h(y)},i.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(x,P){y.onload=function(){x(y.result)},y.onerror=function(){P(y.error)}})}function v(y){var x=new FileReader,P=S(x);return x.readAsArrayBuffer(y),P}function O(y){var x=new FileReader,P=S(x),G=/charset=([A-Za-z0-9_-]+)/.exec(y.type),te=G?G[1]:"utf-8";return x.readAsText(y,te),P}function T(y){for(var x=new Uint8Array(y),P=new Array(x.length),G=0;G<x.length;G++)P[G]=String.fromCharCode(x[G]);return P.join("")}function L(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=L(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=L(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=b(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=b(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=b(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(y){var x=y.toUpperCase();return $.indexOf(x)>-1?x:y}function U(y,x){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var P=x.body;if(y instanceof U){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new g(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!P&&y._bodyInit!=null&&(P=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new g(x.headers)),this.method=B(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var te=/\?/;this.url+=(te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function Te(y){var x=new FormData;return y.trim().split("&").forEach(function(P){if(P){var G=P.split("="),te=G.shift().replace(/\+/g," "),z=G.join("=").replace(/\+/g," ");x.append(decodeURIComponent(te),decodeURIComponent(z))}}),x}function dt(y){var x=new g,P=y.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(G){return G.indexOf(`
2
+ `)===0?G.substr(1,G.length):G}).forEach(function(G){var te=G.split(":"),z=te.shift().trim();if(z){var Eo=te.join(":").trim();try{x.append(z,Eo)}catch(Tn){console.warn("Response "+Tn.message)}}}),x}I.call(U.prototype);function Ee(y,x){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new g(x.headers),this.url=x.url||"",this._initBody(y)}I.call(Ee.prototype),Ee.prototype.clone=function(){return new Ee(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},Ee.error=function(){var y=new Ee(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var pt=[301,302,303,307,308];Ee.redirect=function(y,x){if(pt.indexOf(x)===-1)throw new RangeError("Invalid status code");return new Ee(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,P){this.message=x,this.name=P;var G=Error(x);this.stack=G.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function me(y,x){return new Promise(function(P,G){var te=new U(y,x);if(te.signal&&te.signal.aborted)return G(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Eo(){z.abort()}z.onload=function(){var ge={statusText:z.statusText,headers:dt(z.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(z.status<200||z.status>599)?ge.status=200:ge.status=z.status,ge.url="responseURL"in z?z.responseURL:ge.headers.get("X-Request-URL");var er="response"in z?z.response:z.responseText;setTimeout(function(){P(new Ee(er,ge))},0)},z.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){G(new o.DOMException("Aborted","AbortError"))},0)};function Tn(ge){try{return ge===""&&n.location.href?n.location.href:ge}catch{return ge}}if(z.open(te.method,Tn(te.url),!0),te.credentials==="include"?z.withCredentials=!0:te.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(i.blob?z.responseType="blob":i.arrayBuffer&&(z.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof g||n.Headers&&x.headers instanceof n.Headers)){var Yi=[];Object.getOwnPropertyNames(x.headers).forEach(function(ge){Yi.push(p(ge)),z.setRequestHeader(ge,f(x.headers[ge]))}),te.headers.forEach(function(ge,er){Yi.indexOf(er)===-1&&z.setRequestHeader(er,ge)})}else te.headers.forEach(function(ge,er){z.setRequestHeader(er,ge)});te.signal&&(te.signal.addEventListener("abort",Eo),z.onreadystatechange=function(){z.readyState===4&&te.signal.removeEventListener("abort",Eo)}),z.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return me.polyfill=!0,n.fetch||(n.fetch=me,n.Headers=g,n.Request=U,n.Response=Ee),o.Headers=g,o.Request=U,o.Response=Ee,o.fetch=me,o}({})})(Ao);Ao.fetch.ponyfill=!0;delete Ao.fetch.polyfill;var Or=wo.fetch?wo:Ao;_t=Or.fetch;_t.default=Or.fetch;_t.fetch=Or.fetch;_t.Headers=Or.Headers;_t.Request=Or.Request;_t.Response=Or.Response;sa.exports=_t});var Vt=tr((ey,Es)=>{Es.exports=ftGlobals.litClassMap});var Ul=tr((px,Ml)=>{Ml.exports=ftGlobals.litUnsafeHTML});var Td=m(R());var xt=m(k()),In=m(Pn()),Yr=m(R());var ta=m(k()),ra=m(R()),Fd={spacing:ra.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},oa=ta.css`
3
3
  .ft-search-selected-facets--container {
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
- gap: ${Bd.spacing};
6
+ gap: ${Fd.spacing};
7
7
  }
8
8
 
9
9
  .ft-search-selected-facets--container > * {
10
10
  min-width: 0;
11
11
  }
12
- `;var Ss=y(R()),Os=y(j());var ht=y(R());var na=y(R()),Fd={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},ia=t=>na.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Fd});var Md=y(sa(),1);var la;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(la||(la={}));var ca;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ca||(ca={}));var da;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(da||(da={}));var pa;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(pa||(pa={}));var fa;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(fa||(fa={}));var ua;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ua||(ua={}));var ha;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ha||(ha={}));var ya;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ya||(ya={}));var ma;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ma||(ma={}));var ga;(function(t){t.ASC="ASC",t.DESC="DESC"})(ga||(ga={}));var ba;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ba||(ba={}));var Cr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Cr||(Cr={}));var xa;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(xa||(xa={}));var va;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(va||(va={}));var Sa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Sa||(Sa={}));var Ro;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ro||(Ro={}));var Oa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Oa||(Oa={}));var Er;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Er||(Er={}));var pe;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(pe||(pe={}));var Ca;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ca||(Ca={}));var bf={[pe.PERSONAL_BOOK_SHARE_USER]:[pe.PERSONAL_BOOK_USER],[pe.HTML_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.PDF_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.KHUB_ADMIN]:[pe.CONTENT_PUBLISHER],[pe.ADMIN]:[pe.KHUB_ADMIN,pe.USERS_ADMIN,pe.PORTAL_ADMIN],[pe.DEVELOPER]:[pe.BETA_USER,pe.DEBUG_USER]};var vs=y(R());var Na=y(k()),Ge=y(j()),Je=y(R());var Ea=y(k());var wa=Ea.css`
13
- `;var No=y(R()),Ud="ft-app-info",kn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},zd={session:(t,e)=>{(0,No.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.eventBus.dispatchEvent(new kn(e.payload)),0))}},_=No.FtReduxStore.get({name:Ud,reducers:zd,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var $t=y(R());var _n=y(R());var rr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=_.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=_.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var ft=class{constructor(e=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new _n.CacheRegistry,this.cache=e?i.commonCache:new _n.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rr.await()}clearCache(){this.cache.clearAll()}};var Aa,Wd=Symbol("clearAfterUnitTest"),Lo=class extends ft{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Aa]=()=>{this.defaultMessages={},this.cache=new $t.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,$t.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new $t.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,$t.delay)(0).then(()=>o()).catch(()=>null)))}};Aa=Wd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Lo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Lo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var or=window.FluidTopicsI18nService,Ra=window.FluidTopicsCustomI18nService;var we=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends Je.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=()=>rr.get(),this.messageContexts=[],this.cache=new Je.CacheRegistry,this.cleanSessionDebouncer=new Je.Debouncer}render(){return Na.html`
12
+ `;var Os=m(R()),Cs=m(j());var ht=m(R());var ia=m(R()),Md={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},aa=t=>ia.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Md});var Ud=m(la(),1);var ca;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ca||(ca={}));var da;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(da||(da={}));var pa;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(pa||(pa={}));var fa;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(fa||(fa={}));var ua;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ua||(ua={}));var ha;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ha||(ha={}));var ya;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ya||(ya={}));var ma;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ma||(ma={}));var ga;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ga||(ga={}));var ba;(function(t){t.ASC="ASC",t.DESC="DESC"})(ba||(ba={}));var xa;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(xa||(xa={}));var Cr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Cr||(Cr={}));var va;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(va||(va={}));var Sa;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Sa||(Sa={}));var Oa;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Oa||(Oa={}));var Ro;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ro||(Ro={}));var Ca;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ca||(Ca={}));var Er;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Er||(Er={}));var pe;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(pe||(pe={}));var Ea;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ea||(Ea={}));var xf={[pe.PERSONAL_BOOK_SHARE_USER]:[pe.PERSONAL_BOOK_USER],[pe.HTML_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.PDF_EXPORT_USER]:[pe.PERSONAL_BOOK_USER],[pe.KHUB_ADMIN]:[pe.CONTENT_PUBLISHER],[pe.ADMIN]:[pe.KHUB_ADMIN,pe.USERS_ADMIN,pe.PORTAL_ADMIN],[pe.DEVELOPER]:[pe.BETA_USER,pe.DEBUG_USER]};var Ss=m(R());var La=m(k()),Ge=m(j()),Je=m(R());var wa=m(k());var Aa=wa.css`
13
+ `;var No=m(R()),zd="ft-app-info",kn=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Wd={session:(t,e)=>{(0,No.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.eventBus.dispatchEvent(new kn(e.payload)),0))}},_=No.FtReduxStore.get({name:zd,reducers:Wd,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var $t=m(R());var _n=m(R());var rr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=_.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=_.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var ft=class{constructor(e=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new _n.CacheRegistry,this.cache=e?i.commonCache:new _n.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rr.await()}clearCache(){this.cache.clearAll()}};var Ra,Hd=Symbol("clearAfterUnitTest"),Lo=class extends ft{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ra]=()=>{this.defaultMessages={},this.cache=new $t.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,$t.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new $t.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,$t.delay)(0).then(()=>o()).catch(()=>null)))}};Ra=Hd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Lo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Lo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var or=window.FluidTopicsI18nService,Na=window.FluidTopicsCustomI18nService;var we=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends Je.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=()=>rr.get(),this.messageContexts=[],this.cache=new Je.CacheRegistry,this.cleanSessionDebouncer=new Je.Debouncer}render(){return La.html`
14
14
  <slot></slot>
15
- `}update(e){super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>or.addContext(o)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};re.elementDefinitions={};re.styles=wa;we([(0,Ge.property)()],re.prototype,"baseUrl",void 0);we([(0,Ge.property)()],re.prototype,"apiIntegrationIdentifier",void 0);we([(0,Ge.property)()],re.prototype,"uiLocale",void 0);we([(0,Je.jsonProperty)(null)],re.prototype,"availableUiLocales",void 0);we([(0,Je.jsonProperty)(null)],re.prototype,"metadataConfiguration",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"editorMode",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"noCustom",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"openExternalDocumentInNewTab",void 0);we([(0,Ge.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],re.prototype,"noCustomComponent",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"withManualResources",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"navigatorOnline",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"forcedOffline",void 0);we([(0,Ge.property)({type:Object})],re.prototype,"apiProvider",void 0);we([(0,Je.jsonProperty)([])],re.prototype,"messageContexts",void 0);we([(0,Je.jsonProperty)(void 0)],re.prototype,"session",void 0);var Np=y(j());function Hd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Io(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Io(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Io(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Io(t,e){try{return Hd(t,e)}catch{return!1}}function $n(t,e){return!Io(t,e)}var Vd=y(j(),1);var To=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var Xr=y(j(),1);var La=y(j(),1);function Ia(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,La.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:$n,...e??{}})}var Po=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Pa=y(k(),1);var ko=window,jd=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xf=Symbol();var Ta=(t,e)=>{jd?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})};var _o=class extends Pa.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ta(n,e.elementStyles),n}};var $o=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Da,ka=Symbol("constructorPrototype"),_a=Symbol("constructorName"),Ba=Symbol("exportpartsDebouncer"),$a=Symbol("dynamicDependenciesLoaded"),Dt=class extends _o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Da]=new Po(5),this[_a]=this.constructor.name,this[ka]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_a]&&Object.setPrototypeOf(this,this[ka])}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 e=this.constructor;e[$a]||(e[$a]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ba].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let p=b=>b!=null&&b.trim().length>0,f=e.filter(p).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let b of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...S,...v).filter(p).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let g=[...m.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Da=Ba;$o([(0,Xr.property)()],Dt.prototype,"exportpartsPrefix",void 0);$o([Ia([])],Dt.prototype,"exportpartsPrefixes",void 0);$o([(0,Xr.property)()],Dt.prototype,"customStylesheet",void 0);$o([(0,Xr.state)()],Dt.prototype,"useAdoptedStyleSheets",void 0);function Qr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Fa,Ma,Ua,Do=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),Jr=class extends Dt{constructor(){super(...arguments),this[Fa]=new Map,this[Ma]=new Map,this[Ua]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[nr].get(e)}addStore(e,o){var n;o=(n=o??(Qr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[nr].delete(o)}setupStore(e,o){this[nr].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[Bt].has(e.store):this[Bt].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[Bt].set(e,o.subscribe(()=>this.updateFromStores())),Qr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Do].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Do].forEach(e=>e()),this[Do]=[]}unsubscribeFromStore(e){this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Fa=Bt,Ma=nr,Ua=Do;Jr.reduxProperties=new Map;Jr.reduxReactiveProperties=new Set;Jr.reduxEventListeners=new Map;function Ke(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function vt(t){return!!t&&!!t[Y]}function et(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Jd}(t)||Array.isArray(t)||!!t[Ka]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ka])||Vn(t)||jn(t))}function ir(t,e,o){o===void 0&&(o=!1),Rr(t)===0?(o?Object.keys:Ar)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Rr(t){var e=t[Y];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Vn(t)?2:jn(t)?3:0}function wr(t,e){return Rr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Gd(t,e){return Rr(t)===2?t.get(e):t[e]}function Za(t,e,o){var n=Rr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function qa(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Vn(t){return Xd&&t instanceof Map}function jn(t){return Qd&&t instanceof Set}function Ft(t){return t.o||t.t}function Gn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Qa(t);delete e[Y];for(var o=Ar(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Kn(t,e){return e===void 0&&(e=!1),Zn(t)||vt(t)||!et(t)||(Rr(t)>1&&(t.set=t.add=t.clear=t.delete=Kd),Object.freeze(t),e&&ir(t,function(o,n){return Kn(n,!0)},!0)),t}function Kd(){Ke(2)}function Zn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=Hn[t];return e||Ke(18,t),e}function Zd(t,e){Hn[t]||(Hn[t]=e)}function Un(){return to}function Dn(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function Bo(t){zn(t),t.p.forEach(qd),t.p=null}function zn(t){t===to&&(to=t.l)}function za(t){return to={p:[],l:to,h:t,m:!0,_:0}}function qd(t){var e=t[Y];e.i===0||e.i===1?e.j():e.g=!0}function Bn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ut("ES5").S(e,t,n),n?(o[Y].P&&(Bo(e),Ke(4)),et(t)&&(t=Fo(e,t),e.l||Mo(e,t)),e.u&&ut("Patches").M(o[Y].t,t,e.u,e.s)):t=Fo(e,o,[]),Bo(e),e.u&&e.v(e.u,e.s),t!==Xa?t:void 0}function Fo(t,e,o){if(Zn(e))return e;var n=e[Y];if(!n)return ir(e,function(c,p){return Wa(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Mo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ir(a,function(c,p){return Wa(t,n,i,c,p,o,s)}),Mo(t,i,!1),o&&t.u&&ut("Patches").N(n,o,t.u,t.s)}return n.o}function Wa(t,e,o,n,i,a,s){if(vt(i)){var c=Fo(t,i,a&&e&&e.i!==3&&!wr(e.R,n)?a.concat(n):void 0);if(Za(o,n,c),!vt(c))return;t.m=!1}else s&&o.add(i);if(et(i)&&!Zn(i)){if(!t.h.D&&t._<1)return;Fo(t,i),e&&e.A.l||Mo(t,i)}}function Mo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Kn(e,o)}function Fn(t,e){var o=t[Y];return(o?Ft(o):t)[e]}function Ha(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Mt(t){t.P||(t.P=!0,t.l&&Mt(t.l))}function Mn(t){t.o||(t.o=Gn(t.t))}function Wn(t,e,o){var n=Vn(e)?ut("MapSet").F(e,o):jn(e)?ut("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Un(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=ro;s&&(p=[c],f=eo);var m=Proxy.revocable(p,f),g=m.revoke,b=m.proxy;return c.k=b,c.j=g,b}(e,o):ut("ES5").J(e,o);return(o?o.A:Un()).p.push(n),n}function Yd(t){return vt(t)||Ke(22,t),function e(o){if(!et(o))return o;var n,i=o[Y],a=Rr(o);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=Va(o,a),i.I=!1}else n=Va(o,a);return ir(n,function(s,c){i&&Gd(i.t,s)===c||Za(n,s,e(c))}),a===3?new Set(n):n}(t)}function Va(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Gn(t)}function Ya(){function t(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var f=this[Y];return ro.get(f,s)},set:function(f){var m=this[Y];ro.set(m,s,f)}},p}function e(s){for(var c=s.length-1;c>=0;c--){var p=s[c][Y];if(!p.P)switch(p.i){case 5:n(p)&&Mt(p);break;case 4:o(p)&&Mt(p)}}}function o(s){for(var c=s.t,p=s.k,f=Ar(p),m=f.length-1;m>=0;m--){var g=f[m];if(g!==Y){var b=c[g];if(b===void 0&&!wr(c,g))return!0;var S=p[g],v=S&&S[Y];if(v?v.t!==b:!qa(S,b))return!0}}var O=!!c[Y];return f.length!==Ar(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&Ke(3,JSON.stringify(Ft(s)))}var a={};Zd("ES5",{J:function(s,c){var p=Array.isArray(s),f=function(g,b){if(g){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=Qa(b);delete O[Y];for(var T=Ar(O),L=0;L<T.length;L++){var I=T[L];O[I]=t(I,g||!!O[I].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(p,s),m={i:p?5:4,A:c?c.A:Un(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Y,{value:m,writable:!0}),f},S:function(s,c,p){p?vt(c)&&c[Y].A===s&&e(s.p):(s.u&&function f(m){if(m&&typeof m=="object"){var g=m[Y];if(g){var b=g.t,S=g.k,v=g.R,O=g.i;if(O===4)ir(S,function(B){B!==Y&&(b[B]!==void 0||wr(b,B)?v[B]||f(S[B]):(v[B]=!0,Mt(g)))}),ir(b,function(B){S[B]!==void 0||wr(S,B)||(v[B]=!1,Mt(g))});else if(O===5){if(n(g)&&(Mt(g),v.length=!0),S.length<b.length)for(var T=S.length;T<b.length;T++)v[T]=!1;else for(var L=b.length;L<S.length;L++)v[L]=!0;for(var I=Math.min(S.length,b.length),$=0;$<I;$++)S.hasOwnProperty($)||(v[$]=!0),v[$]===void 0&&f(S[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ja,to,qn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Xd=typeof Map<"u",Qd=typeof Set<"u",Ga=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Xa=qn?Symbol.for("immer-nothing"):((ja={})["immer-nothing"]=!0,ja),Ka=qn?Symbol.for("immer-draftable"):"__$immer_draftable",Y=qn?Symbol.for("immer-state"):"__$immer_state";var Jd=""+Object.prototype.constructor,Ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qa=Object.getOwnPropertyDescriptors||function(t){var e={};return Ar(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Hn={},ro={get:function(t,e){if(e===Y)return t;var o=Ft(t);if(!wr(o,e))return function(i,a,s){var c,p=Ha(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!et(n)?n:n===Fn(t.t,e)?(Mn(t),t.o[e]=Wn(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,o){var n=Ha(Ft(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Fn(Ft(t),e),a=i?.[Y];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(qa(o,i)&&(o!==void 0||wr(t.t,e)))return!0;Mn(t),Mt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Mn(t),Mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Ft(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ke(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ke(12)}},eo={};ir(ro,function(t,e){eo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),eo.deleteProperty=function(t,e){return eo.set.call(this,t,e,void 0)},eo.set=function(t,e,o){return ro.set.call(this,t[0],e,o,t[0])};var ep=function(){function t(o){var n=this;this.O=Ga,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(O){var T=this;O===void 0&&(O=c);for(var L=arguments.length,I=Array(L>1?L-1:0),$=1;$<L;$++)I[$-1]=arguments[$];return p.produce(O,function(B){var U;return(U=a).call.apply(U,[T,B].concat(I))})}}var f;if(typeof a!="function"&&Ke(6),s!==void 0&&typeof s!="function"&&Ke(7),et(i)){var m=za(n),g=Wn(n,i,void 0),b=!0;try{f=a(g),b=!1}finally{b?Bo(m):zn(m)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Dn(m,s),Bn(O,m)},function(O){throw Bo(m),O}):(Dn(m,s),Bn(f,m))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Xa&&(f=void 0),n.D&&Kn(f,!0),s){var S=[],v=[];ut("Patches").M(i,f,S,v),s(S,v)}return f}Ke(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var m=arguments.length,g=Array(m>1?m-1:0),b=1;b<m;b++)g[b-1]=arguments[b];return n.produceWithPatches(f,function(S){return i.apply(void 0,[S].concat(g))})};var s,c,p=n.produce(i,a,function(f,m){s=f,c=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,s,c]}):[p,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){et(o)||Ke(8),vt(o)&&(o=Yd(o));var n=za(this),i=Wn(this,o,void 0);return i[Y].C=!0,zn(n),i},e.finishDraft=function(o,n){var i=o&&o[Y],a=i.A;return Dn(a,n),Bn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Ga&&Ke(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ut("Patches").$;return vt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Me=new ep,tp=Me.produce,cu=Me.produceWithPatches.bind(Me),du=Me.setAutoFreeze.bind(Me),pu=Me.setUseProxies.bind(Me),fu=Me.applyPatches.bind(Me),uu=Me.createDraft.bind(Me),hu=Me.finishDraft.bind(Me),Uo=tp;function Ut(t){"@babel/helpers - typeof";return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ut(t)}function Yn(t,e){if(Ut(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Ut(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Xn(t){var e=Yn(t,"string");return Ut(e)==="symbol"?e:String(e)}function Qn(t,e,o){return e=Xn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ja(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function zo(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ja(Object(o),!0).forEach(function(n){Qn(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ja(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Se(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wo={INIT:"@@redux/INIT"+Jn(),REPLACE:"@@redux/REPLACE"+Jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Jn()}};function rp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ei(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Se(1));return o(ei)(t,e)}if(typeof t!="function")throw new Error(Se(2));var i=t,a=e,s=[],c=s,p=!1;function f(){c===s&&(c=s.slice())}function m(){if(p)throw new Error(Se(3));return a}function g(O){if(typeof O!="function")throw new Error(Se(4));if(p)throw new Error(Se(5));var T=!0;return f(),c.push(O),function(){if(T){if(p)throw new Error(Se(6));T=!1,f();var I=c.indexOf(O);c.splice(I,1),s=null}}}function b(O){if(!rp(O))throw new Error(Se(7));if(typeof O.type>"u")throw new Error(Se(8));if(p)throw new Error(Se(9));try{p=!0,a=i(a,O)}finally{p=!1}for(var T=s=c,L=0;L<T.length;L++){var I=T[L];I()}return O}function S(O){if(typeof O!="function")throw new Error(Se(10));i=O,b({type:Wo.REPLACE})}function v(){var O,T=g;return O={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Se(11));function $(){I.next&&I.next(m())}$();var B=T($);return{unsubscribe:B}}},O[es]=function(){return this},O}return b({type:Wo.INIT}),n={dispatch:b,subscribe:g,getState:m,replaceReducer:S},n[es]=v,n}function op(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Wo.INIT});if(typeof n>"u")throw new Error(Se(12));if(typeof o(void 0,{type:Wo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function ts(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{op(o)}catch(p){c=p}return function(f,m){if(f===void 0&&(f={}),c)throw c;if(0)var g;for(var b=!1,S={},v=0;v<a.length;v++){var O=a[v],T=o[O],L=f[O],I=T(L,m);if(typeof I>"u"){var $=m&&m.type;throw new Error(Se(14))}S[O]=I,b=b||I!==L}return b=b||a.length!==Object.keys(f).length,b?S:f}}function Nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function rs(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Se(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(s)});return a=Nr.apply(void 0,c)(i.dispatch),zo(zo({},i),{},{dispatch:a})}}}function os(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var ns=os();ns.withExtraArgument=os;var ti=ns;var cs=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),np=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(m){return p([f,m])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(m){f=[6,m],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Lr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},ip=Object.defineProperty,ap=Object.defineProperties,sp=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,lp=Object.prototype.hasOwnProperty,cp=Object.prototype.propertyIsEnumerable,as=function(t,e,o){return e in t?ip(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},zt=function(t,e){for(var o in e||(e={}))lp.call(e,o)&&as(t,o,e[o]);if(is)for(var n=0,i=is(e);n<i.length;n++){var o=i[n];cp.call(e,o)&&as(t,o,e[o])}return t},ri=function(t,e){return ap(t,sp(e))},dp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(f){i(f)}},s=function(p){try{c(o.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(t,e)).next())})};var pp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nr:Nr.apply(null,arguments)},Pu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function fp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var up=function(t){cs(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array),hp=function(t){cs(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array);function ii(t){return et(t)?Uo(t,function(){}):t}function yp(t){return typeof t=="boolean"}function mp(){return function(e){return gp(e)}}function gp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new up;if(o&&(yp(o)?c.push(ti):c.push(ti.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var f}return c}var oi=!0;function ds(t){var e=mp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,f=o.preloadedState,m=f===void 0?void 0:f,g=o.enhancers,b=g===void 0?void 0:g,S;if(typeof i=="function")S=i;else if(fp(i))S=ts(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!oi&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!oi&&v.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=rs.apply(void 0,v),T=Nr;p&&(T=pp(zt({trace:!oi},typeof p=="object"&&p)));var L=new hp(O),I=L;Array.isArray(b)?I=Lr([O],b):typeof b=="function"&&(I=b(L));var $=T.apply(void 0,I);return ei(S,m,$)}function Wt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return zt(zt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function ps(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function bp(t){return typeof t=="function"}function xp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?ps(e):[e,o,n],a=i[0],s=i[1],c=i[2],p;if(bp(t))p=function(){return ii(t())};else{var f=ii(t);p=function(){return f}}function m(g,b){g===void 0&&(g=p());var S=Lr([a[b.type]],s.filter(function(v){var O=v.matcher;return O(b)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[c]),S.reduce(function(v,O){if(O)if(vt(v)){var T=v,L=O(T,b);return L===void 0?v:L}else{if(et(v))return Uo(v,function(I){return O(I,b)});var L=O(v,b);if(L===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return v},g)}return m.getInitialState=p,m}function vp(t,e){return t+"/"+e}function fs(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ii(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(m){var g=n[m],b=vp(e,m),S,v;"reducer"in g?(S=g.reducer,v=g.prepare):S=g,a[m]=S,s[b]=S,c[m]=v?Wt(b,v):Wt(b)});function p(){var m=typeof t.extraReducers=="function"?ps(t.extraReducers):[t.extraReducers],g=m[0],b=g===void 0?{}:g,S=m[1],v=S===void 0?[]:S,O=m[2],T=O===void 0?void 0:O,L=zt(zt({},b),s);return xp(o,function(I){for(var $ in L)I.addCase($,L[$]);for(var B=0,U=v;B<U.length;B++){var Te=U[B];I.addMatcher(Te.matcher,Te.reducer)}T&&I.addDefaultCase(T)})}var f;return{name:e,reducer:function(m,g){return f||(f=p()),f(m,g)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Op=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Sp[Math.random()*64|0];return e},Cp=["name","message","stack","code"],ni=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ss=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ep=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Cp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Du=function(){function t(e,o,n){var i=Wt(e+"/fulfilled",function(m,g,b,S){return{payload:m,meta:ri(zt({},S||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),a=Wt(e+"/pending",function(m,g,b){return{payload:void 0,meta:ri(zt({},b||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=Wt(e+"/rejected",function(m,g,b,S,v){return{payload:S,error:(n&&n.serializeError||Ep)(m||"Rejected"),meta:ri(zt({},v||{}),{arg:b,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function f(m){return function(g,b,S){var v=n?.idGenerator?n.idGenerator(m):Op(),O=new p,T,L=!1;function I(B){T=B,O.abort()}var $=function(){return dp(this,null,function(){var B,U,Te,dt,Ee,pt,me;return np(this,function(h){switch(h.label){case 0:return h.trys.push([0,4,,5]),dt=(B=n?.condition)==null?void 0:B.call(n,m,{getState:b,extra:S}),Ap(dt)?[4,dt]:[3,2];case 1:dt=h.sent(),h.label=2;case 2:if(dt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,Ee=new Promise(function(x,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:T||"Aborted"})})}),g(a(v,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:v,arg:m},{getState:b,extra:S}))),[4,Promise.race([Ee,Promise.resolve(o(m,{dispatch:g,getState:b,extra:S,requestId:v,signal:O.signal,abort:I,rejectWithValue:function(x,P){return new ni(x,P)},fulfillWithValue:function(x,P){return new ss(x,P)}})).then(function(x){if(x instanceof ni)throw x;return x instanceof ss?i(x.payload,v,m,x.meta):i(x,v,m)})])];case 3:return Te=h.sent(),[3,5];case 4:return pt=h.sent(),Te=pt instanceof ni?s(null,v,m,pt.payload,pt.meta):s(pt,v,m),[3,5];case 5:return me=n&&!n.dispatchConditionRejection&&s.match(Te)&&Te.meta.condition,me||g(Te),[2,Te]}})})}();return Object.assign($,{abort:I,requestId:v,arg:m,unwrap:function(){return $.then(wp)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function wp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ap(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var us="listener",hs="completed",ys="cancelled",Bu="task-"+ys,Fu="task-"+hs,Mu=us+"-"+ys,Uu=us+"-"+hs;var ai="listenerMiddleware";var zu=Wt(ai+"/add"),Wu=Wt(ai+"/removeAll"),Hu=Wt(ai+"/remove");var ls,Vu=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ls||(ls=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Rp=function(t){return function(e){setTimeout(e,t)}},ju=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Rp(10);Ya();window.ftReduxStores||(window.ftReduxStores={});var ms=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Qr(a))return a;if(i==null)return;let s=fs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=ds({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:s.reducer(p,f)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new To,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Go=y(R());var Ho=class extends ft{async listMySearches(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Vo=class extends ft{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Lp="ft-user-assets",jo=Go.FtReduxStore.get({name:Lp,initialState:{savedSearches:void 0,bookmarks:void 0}}),si=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=_.getState();(0,Go.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),jo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),jo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();jo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;jo.actions.bookmarks(o)}}},gs=new si;var li=class{addCommand(e,o=!1){_.commands.add(e,o)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new li;var bs=y(R()),ci=class{highlightHtml(e,o,n){(0,bs.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new ci;var xs=y(R());var di=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=_.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return xs.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new di;(0,vs.customElement)("ft-app-context")(re);var Ko=class extends ft{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}};var no=t=>t.request.virtualField===Cr.TITLE_ONLY&&t.request.scope===Er.DOCUMENTS,Zo=class t extends Event{constructor(){super(t.eventName)}};Zo.eventName="search-context-clear-all-filters";var oo=class t{static build(e,o){return new t(ia(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ht.Debouncer(10),this.searchDebouncer=new ht.Debouncer(100),this.suggestDebouncer=new ht.Debouncer(300),this.service=o??new Ko}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let i=a=>o.some(s=>s.lang==a);i(e)||(e=i(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Cr.TITLE_ONLY),this.store.actions.setRequestScope(Er.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Cr.EVERYWHERE),this.store.actions.setRequestScope(Er.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return no(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Zo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(i=>i!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:o,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:o}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(i=>!i.dateFilter),...o.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:o,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(i=>!i.rangeFilter),...o.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ht.cancelable)(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof ht.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,i={input:o.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,ht.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(o){!(o instanceof ht.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}};var Ip=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},fi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},pi=Symbol("registerInterval");function Tp(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[pi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[pi]):this.dispatchEvent(new fi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=pi,Ip([(0,Os.state)()],o.prototype,"stateManager",void 0),o}var Ht=class extends Tp(Ss.FtLitElementRedux){};var Fi=y(R());var hn=y(k()),Re=y(j()),$c=y(Vt()),mn=y(R());var ks=y(R());var Ts=y(k()),be=y(j()),Ps=y(Vt()),io=y(R());var Ls=y(k()),se=y(R()),Es=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorContent),E={color:Es,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",Es),opacityContentOnSurfacePressed:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:se.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ws=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorPrimary),As={color:ws,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",ws)},Rs=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorSecondary),Ns={color:Rs,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",Rs)},Is=Ls.css`
15
+ `}update(e){super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("availableUiLocales")&&_.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>or.addContext(o)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};re.elementDefinitions={};re.styles=Aa;we([(0,Ge.property)()],re.prototype,"baseUrl",void 0);we([(0,Ge.property)()],re.prototype,"apiIntegrationIdentifier",void 0);we([(0,Ge.property)()],re.prototype,"uiLocale",void 0);we([(0,Je.jsonProperty)(null)],re.prototype,"availableUiLocales",void 0);we([(0,Je.jsonProperty)(null)],re.prototype,"metadataConfiguration",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"editorMode",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"noCustom",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"openExternalDocumentInNewTab",void 0);we([(0,Ge.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],re.prototype,"noCustomComponent",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"withManualResources",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"navigatorOnline",void 0);we([(0,Ge.property)({type:Boolean})],re.prototype,"forcedOffline",void 0);we([(0,Ge.property)({type:Object})],re.prototype,"apiProvider",void 0);we([(0,Je.jsonProperty)([])],re.prototype,"messageContexts",void 0);we([(0,Je.jsonProperty)(void 0)],re.prototype,"session",void 0);var Lp=m(j());function Vd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Io(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Io(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Io(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Io(t,e){try{return Vd(t,e)}catch{return!1}}function $n(t,e){return!Io(t,e)}var jd=m(j(),1);var To=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var Xr=m(j(),1);var Ia=m(j(),1);function Ta(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Ia.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:$n,...e??{}})}var Po=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ka=m(k(),1);var ko=window,Gd=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qf=Symbol();var Pa=(t,e)=>{Gd?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})};var _o=class extends ka.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Pa(n,e.elementStyles),n}};var $o=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ba,_a=Symbol("constructorPrototype"),$a=Symbol("constructorName"),Fa=Symbol("exportpartsDebouncer"),Da=Symbol("dynamicDependenciesLoaded"),Dt=class extends _o{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ba]=new Po(5),this[$a]=this.constructor.name,this[_a]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$a]&&Object.setPrototypeOf(this,this[_a])}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 e=this.constructor;e[Da]||(e[Da]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Fa].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let p=b=>b!=null&&b.trim().length>0,f=e.filter(p).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...S,...v).filter(p).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let g=[...h.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Ba=Fa;$o([(0,Xr.property)()],Dt.prototype,"exportpartsPrefix",void 0);$o([Ta([])],Dt.prototype,"exportpartsPrefixes",void 0);$o([(0,Xr.property)()],Dt.prototype,"customStylesheet",void 0);$o([(0,Xr.state)()],Dt.prototype,"useAdoptedStyleSheets",void 0);function Qr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ma,Ua,za,Do=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),Jr=class extends Dt{constructor(){super(...arguments),this[Ma]=new Map,this[Ua]=new Map,this[za]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[nr].get(e)}addStore(e,o){var n;o=(n=o??(Qr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[nr].delete(o)}setupStore(e,o){this[nr].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[Bt].has(e.store):this[Bt].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[Bt].set(e,o.subscribe(()=>this.updateFromStores())),Qr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Do].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Do].forEach(e=>e()),this[Do]=[]}unsubscribeFromStore(e){this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ma=Bt,Ua=nr,za=Do;Jr.reduxProperties=new Map;Jr.reduxReactiveProperties=new Set;Jr.reduxEventListeners=new Map;function Ke(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function vt(t){return!!t&&!!t[Y]}function et(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ep}(t)||Array.isArray(t)||!!t[Za]||!!(!((e=t.constructor)===null||e===void 0)&&e[Za])||Vn(t)||jn(t))}function ir(t,e,o){o===void 0&&(o=!1),Rr(t)===0?(o?Object.keys:Ar)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Rr(t){var e=t[Y];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Vn(t)?2:jn(t)?3:0}function wr(t,e){return Rr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Kd(t,e){return Rr(t)===2?t.get(e):t[e]}function qa(t,e,o){var n=Rr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Ya(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Vn(t){return Qd&&t instanceof Map}function jn(t){return Jd&&t instanceof Set}function Ft(t){return t.o||t.t}function Gn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ja(t);delete e[Y];for(var o=Ar(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Kn(t,e){return e===void 0&&(e=!1),Zn(t)||vt(t)||!et(t)||(Rr(t)>1&&(t.set=t.add=t.clear=t.delete=Zd),Object.freeze(t),e&&ir(t,function(o,n){return Kn(n,!0)},!0)),t}function Zd(){Ke(2)}function Zn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=Hn[t];return e||Ke(18,t),e}function qd(t,e){Hn[t]||(Hn[t]=e)}function Un(){return to}function Dn(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function Bo(t){zn(t),t.p.forEach(Yd),t.p=null}function zn(t){t===to&&(to=t.l)}function Wa(t){return to={p:[],l:to,h:t,m:!0,_:0}}function Yd(t){var e=t[Y];e.i===0||e.i===1?e.j():e.g=!0}function Bn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ut("ES5").S(e,t,n),n?(o[Y].P&&(Bo(e),Ke(4)),et(t)&&(t=Fo(e,t),e.l||Mo(e,t)),e.u&&ut("Patches").M(o[Y].t,t,e.u,e.s)):t=Fo(e,o,[]),Bo(e),e.u&&e.v(e.u,e.s),t!==Qa?t:void 0}function Fo(t,e,o){if(Zn(e))return e;var n=e[Y];if(!n)return ir(e,function(c,p){return Ha(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Mo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ir(a,function(c,p){return Ha(t,n,i,c,p,o,s)}),Mo(t,i,!1),o&&t.u&&ut("Patches").N(n,o,t.u,t.s)}return n.o}function Ha(t,e,o,n,i,a,s){if(vt(i)){var c=Fo(t,i,a&&e&&e.i!==3&&!wr(e.R,n)?a.concat(n):void 0);if(qa(o,n,c),!vt(c))return;t.m=!1}else s&&o.add(i);if(et(i)&&!Zn(i)){if(!t.h.D&&t._<1)return;Fo(t,i),e&&e.A.l||Mo(t,i)}}function Mo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Kn(e,o)}function Fn(t,e){var o=t[Y];return(o?Ft(o):t)[e]}function Va(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Mt(t){t.P||(t.P=!0,t.l&&Mt(t.l))}function Mn(t){t.o||(t.o=Gn(t.t))}function Wn(t,e,o){var n=Vn(e)?ut("MapSet").F(e,o):jn(e)?ut("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Un(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,f=ro;s&&(p=[c],f=eo);var h=Proxy.revocable(p,f),g=h.revoke,b=h.proxy;return c.k=b,c.j=g,b}(e,o):ut("ES5").J(e,o);return(o?o.A:Un()).p.push(n),n}function Xd(t){return vt(t)||Ke(22,t),function e(o){if(!et(o))return o;var n,i=o[Y],a=Rr(o);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=ja(o,a),i.I=!1}else n=ja(o,a);return ir(n,function(s,c){i&&Kd(i.t,s)===c||qa(n,s,e(c))}),a===3?new Set(n):n}(t)}function ja(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Gn(t)}function Xa(){function t(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var f=this[Y];return ro.get(f,s)},set:function(f){var h=this[Y];ro.set(h,s,f)}},p}function e(s){for(var c=s.length-1;c>=0;c--){var p=s[c][Y];if(!p.P)switch(p.i){case 5:n(p)&&Mt(p);break;case 4:o(p)&&Mt(p)}}}function o(s){for(var c=s.t,p=s.k,f=Ar(p),h=f.length-1;h>=0;h--){var g=f[h];if(g!==Y){var b=c[g];if(b===void 0&&!wr(c,g))return!0;var S=p[g],v=S&&S[Y];if(v?v.t!==b:!Ya(S,b))return!0}}var O=!!c[Y];return f.length!==Ar(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&Ke(3,JSON.stringify(Ft(s)))}var a={};qd("ES5",{J:function(s,c){var p=Array.isArray(s),f=function(g,b){if(g){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var O=Ja(b);delete O[Y];for(var T=Ar(O),L=0;L<T.length;L++){var I=T[L];O[I]=t(I,g||!!O[I].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(p,s),h={i:p?5:4,A:c?c.A:Un(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Y,{value:h,writable:!0}),f},S:function(s,c,p){p?vt(c)&&c[Y].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var g=h[Y];if(g){var b=g.t,S=g.k,v=g.R,O=g.i;if(O===4)ir(S,function(B){B!==Y&&(b[B]!==void 0||wr(b,B)?v[B]||f(S[B]):(v[B]=!0,Mt(g)))}),ir(b,function(B){S[B]!==void 0||wr(S,B)||(v[B]=!1,Mt(g))});else if(O===5){if(n(g)&&(Mt(g),v.length=!0),S.length<b.length)for(var T=S.length;T<b.length;T++)v[T]=!1;else for(var L=b.length;L<S.length;L++)v[L]=!0;for(var I=Math.min(S.length,b.length),$=0;$<I;$++)S.hasOwnProperty($)||(v[$]=!0),v[$]===void 0&&f(S[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ga,to,qn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Qd=typeof Map<"u",Jd=typeof Set<"u",Ka=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Qa=qn?Symbol.for("immer-nothing"):((Ga={})["immer-nothing"]=!0,Ga),Za=qn?Symbol.for("immer-draftable"):"__$immer_draftable",Y=qn?Symbol.for("immer-state"):"__$immer_state";var ep=""+Object.prototype.constructor,Ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ja=Object.getOwnPropertyDescriptors||function(t){var e={};return Ar(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Hn={},ro={get:function(t,e){if(e===Y)return t;var o=Ft(t);if(!wr(o,e))return function(i,a,s){var c,p=Va(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!et(n)?n:n===Fn(t.t,e)?(Mn(t),t.o[e]=Wn(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,o){var n=Va(Ft(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Fn(Ft(t),e),a=i?.[Y];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Ya(o,i)&&(o!==void 0||wr(t.t,e)))return!0;Mn(t),Mt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Mn(t),Mt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Ft(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ke(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ke(12)}},eo={};ir(ro,function(t,e){eo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),eo.deleteProperty=function(t,e){return eo.set.call(this,t,e,void 0)},eo.set=function(t,e,o){return ro.set.call(this,t[0],e,o,t[0])};var tp=function(){function t(o){var n=this;this.O=Ka,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(O){var T=this;O===void 0&&(O=c);for(var L=arguments.length,I=Array(L>1?L-1:0),$=1;$<L;$++)I[$-1]=arguments[$];return p.produce(O,function(B){var U;return(U=a).call.apply(U,[T,B].concat(I))})}}var f;if(typeof a!="function"&&Ke(6),s!==void 0&&typeof s!="function"&&Ke(7),et(i)){var h=Wa(n),g=Wn(n,i,void 0),b=!0;try{f=a(g),b=!1}finally{b?Bo(h):zn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(O){return Dn(h,s),Bn(O,h)},function(O){throw Bo(h),O}):(Dn(h,s),Bn(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Qa&&(f=void 0),n.D&&Kn(f,!0),s){var S=[],v=[];ut("Patches").M(i,f,S,v),s(S,v)}return f}Ke(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,g=Array(h>1?h-1:0),b=1;b<h;b++)g[b-1]=arguments[b];return n.produceWithPatches(f,function(S){return i.apply(void 0,[S].concat(g))})};var s,c,p=n.produce(i,a,function(f,h){s=f,c=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,s,c]}):[p,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){et(o)||Ke(8),vt(o)&&(o=Xd(o));var n=Wa(this),i=Wn(this,o,void 0);return i[Y].C=!0,zn(n),i},e.finishDraft=function(o,n){var i=o&&o[Y],a=i.A;return Dn(a,n),Bn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Ka&&Ke(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ut("Patches").$;return vt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Me=new tp,rp=Me.produce,du=Me.produceWithPatches.bind(Me),pu=Me.setAutoFreeze.bind(Me),fu=Me.setUseProxies.bind(Me),uu=Me.applyPatches.bind(Me),hu=Me.createDraft.bind(Me),yu=Me.finishDraft.bind(Me),Uo=rp;function Ut(t){"@babel/helpers - typeof";return Ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ut(t)}function Yn(t,e){if(Ut(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Ut(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Xn(t){var e=Yn(t,"string");return Ut(e)==="symbol"?e:String(e)}function Qn(t,e,o){return e=Xn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function es(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function zo(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?es(Object(o),!0).forEach(function(n){Qn(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):es(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Se(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var ts=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wo={INIT:"@@redux/INIT"+Jn(),REPLACE:"@@redux/REPLACE"+Jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Jn()}};function op(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ei(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Se(1));return o(ei)(t,e)}if(typeof t!="function")throw new Error(Se(2));var i=t,a=e,s=[],c=s,p=!1;function f(){c===s&&(c=s.slice())}function h(){if(p)throw new Error(Se(3));return a}function g(O){if(typeof O!="function")throw new Error(Se(4));if(p)throw new Error(Se(5));var T=!0;return f(),c.push(O),function(){if(T){if(p)throw new Error(Se(6));T=!1,f();var I=c.indexOf(O);c.splice(I,1),s=null}}}function b(O){if(!op(O))throw new Error(Se(7));if(typeof O.type>"u")throw new Error(Se(8));if(p)throw new Error(Se(9));try{p=!0,a=i(a,O)}finally{p=!1}for(var T=s=c,L=0;L<T.length;L++){var I=T[L];I()}return O}function S(O){if(typeof O!="function")throw new Error(Se(10));i=O,b({type:Wo.REPLACE})}function v(){var O,T=g;return O={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Se(11));function $(){I.next&&I.next(h())}$();var B=T($);return{unsubscribe:B}}},O[ts]=function(){return this},O}return b({type:Wo.INIT}),n={dispatch:b,subscribe:g,getState:h,replaceReducer:S},n[ts]=v,n}function np(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Wo.INIT});if(typeof n>"u")throw new Error(Se(12));if(typeof o(void 0,{type:Wo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function rs(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{np(o)}catch(p){c=p}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var g;for(var b=!1,S={},v=0;v<a.length;v++){var O=a[v],T=o[O],L=f[O],I=T(L,h);if(typeof I>"u"){var $=h&&h.type;throw new Error(Se(14))}S[O]=I,b=b||I!==L}return b=b||a.length!==Object.keys(f).length,b?S:f}}function Nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function os(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Se(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(s)});return a=Nr.apply(void 0,c)(i.dispatch),zo(zo({},i),{},{dispatch:a})}}}function ns(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var is=ns();is.withExtraArgument=ns;var ti=is;var ds=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),ip=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Lr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},ap=Object.defineProperty,sp=Object.defineProperties,lp=Object.getOwnPropertyDescriptors,as=Object.getOwnPropertySymbols,cp=Object.prototype.hasOwnProperty,dp=Object.prototype.propertyIsEnumerable,ss=function(t,e,o){return e in t?ap(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},zt=function(t,e){for(var o in e||(e={}))cp.call(e,o)&&ss(t,o,e[o]);if(as)for(var n=0,i=as(e);n<i.length;n++){var o=i[n];dp.call(e,o)&&ss(t,o,e[o])}return t},ri=function(t,e){return sp(t,lp(e))},pp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(f){i(f)}},s=function(p){try{c(o.throw(p))}catch(f){i(f)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(t,e)).next())})};var fp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nr:Nr.apply(null,arguments)},ku=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function up(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var hp=function(t){ds(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array),yp=function(t){ds(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Lr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Lr([void 0],o.concat(this))))},e}(Array);function ii(t){return et(t)?Uo(t,function(){}):t}function mp(t){return typeof t=="boolean"}function gp(){return function(e){return bp(e)}}function bp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new hp;if(o&&(mp(o)?c.push(ti):c.push(ti.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var f}return c}var oi=!0;function ps(t){var e=gp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,f=o.preloadedState,h=f===void 0?void 0:f,g=o.enhancers,b=g===void 0?void 0:g,S;if(typeof i=="function")S=i;else if(up(i))S=rs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!oi&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!oi&&v.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=os.apply(void 0,v),T=Nr;p&&(T=fp(zt({trace:!oi},typeof p=="object"&&p)));var L=new yp(O),I=L;Array.isArray(b)?I=Lr([O],b):typeof b=="function"&&(I=b(L));var $=T.apply(void 0,I);return ei(S,h,$)}function Wt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return zt(zt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function fs(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function xp(t){return typeof t=="function"}function vp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?fs(e):[e,o,n],a=i[0],s=i[1],c=i[2],p;if(xp(t))p=function(){return ii(t())};else{var f=ii(t);p=function(){return f}}function h(g,b){g===void 0&&(g=p());var S=Lr([a[b.type]],s.filter(function(v){var O=v.matcher;return O(b)}).map(function(v){var O=v.reducer;return O}));return S.filter(function(v){return!!v}).length===0&&(S=[c]),S.reduce(function(v,O){if(O)if(vt(v)){var T=v,L=O(T,b);return L===void 0?v:L}else{if(et(v))return Uo(v,function(I){return O(I,b)});var L=O(v,b);if(L===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return v},g)}return h.getInitialState=p,h}function Sp(t,e){return t+"/"+e}function us(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:ii(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var g=n[h],b=Sp(e,h),S,v;"reducer"in g?(S=g.reducer,v=g.prepare):S=g,a[h]=S,s[b]=S,c[h]=v?Wt(b,v):Wt(b)});function p(){var h=typeof t.extraReducers=="function"?fs(t.extraReducers):[t.extraReducers],g=h[0],b=g===void 0?{}:g,S=h[1],v=S===void 0?[]:S,O=h[2],T=O===void 0?void 0:O,L=zt(zt({},b),s);return vp(o,function(I){for(var $ in L)I.addCase($,L[$]);for(var B=0,U=v;B<U.length;B++){var Te=U[B];I.addMatcher(Te.matcher,Te.reducer)}T&&I.addDefaultCase(T)})}var f;return{name:e,reducer:function(h,g){return f||(f=p()),f(h,g)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Op="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Cp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Op[Math.random()*64|0];return e},Ep=["name","message","stack","code"],ni=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ls=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),wp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Ep;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Bu=function(){function t(e,o,n){var i=Wt(e+"/fulfilled",function(h,g,b,S){return{payload:h,meta:ri(zt({},S||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),a=Wt(e+"/pending",function(h,g,b){return{payload:void 0,meta:ri(zt({},b||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=Wt(e+"/rejected",function(h,g,b,S,v){return{payload:S,error:(n&&n.serializeError||wp)(h||"Rejected"),meta:ri(zt({},v||{}),{arg:b,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(g,b,S){var v=n?.idGenerator?n.idGenerator(h):Cp(),O=new p,T,L=!1;function I(B){T=B,O.abort()}var $=function(){return pp(this,null,function(){var B,U,Te,dt,Ee,pt,me;return ip(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),dt=(B=n?.condition)==null?void 0:B.call(n,h,{getState:b,extra:S}),Rp(dt)?[4,dt]:[3,2];case 1:dt=y.sent(),y.label=2;case 2:if(dt===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,Ee=new Promise(function(x,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:T||"Aborted"})})}),g(a(v,h,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:v,arg:h},{getState:b,extra:S}))),[4,Promise.race([Ee,Promise.resolve(o(h,{dispatch:g,getState:b,extra:S,requestId:v,signal:O.signal,abort:I,rejectWithValue:function(x,P){return new ni(x,P)},fulfillWithValue:function(x,P){return new ls(x,P)}})).then(function(x){if(x instanceof ni)throw x;return x instanceof ls?i(x.payload,v,h,x.meta):i(x,v,h)})])];case 3:return Te=y.sent(),[3,5];case 4:return pt=y.sent(),Te=pt instanceof ni?s(null,v,h,pt.payload,pt.meta):s(pt,v,h),[3,5];case 5:return me=n&&!n.dispatchConditionRejection&&s.match(Te)&&Te.meta.condition,me||g(Te),[2,Te]}})})}();return Object.assign($,{abort:I,requestId:v,arg:h,unwrap:function(){return $.then(Ap)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Ap(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Rp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var hs="listener",ys="completed",ms="cancelled",Fu="task-"+ms,Mu="task-"+ys,Uu=hs+"-"+ms,zu=hs+"-"+ys;var ai="listenerMiddleware";var Wu=Wt(ai+"/add"),Hu=Wt(ai+"/removeAll"),Vu=Wt(ai+"/remove");var cs,ju=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(cs||(cs=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Np=function(t){return function(e){setTimeout(e,t)}},Gu=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Np(10);Xa();window.ftReduxStores||(window.ftReduxStores={});var gs=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Qr(a))return a;if(i==null)return;let s=us({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=ps({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:s.reducer(p,f)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new To,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let f=c(...p);return this.reduxStore.dispatch(f),f}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Go=m(R());var Ho=class extends ft{async listMySearches(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Vo=class extends ft{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ip="ft-user-assets",jo=Go.FtReduxStore.get({name:Ip,initialState:{savedSearches:void 0,bookmarks:void 0}}),si=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=_.getState();(0,Go.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),jo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),jo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();jo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;jo.actions.bookmarks(o)}}},bs=new si;var li=class{addCommand(e,o=!1){_.commands.add(e,o)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new li;var xs=m(R()),ci=class{highlightHtml(e,o,n){(0,xs.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new ci;var vs=m(R());var di=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=_.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return vs.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:_.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new di;(0,Ss.customElement)("ft-app-context")(re);var Ko=class extends ft{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}};var no=t=>t.request.virtualField===Cr.TITLE_ONLY&&t.request.scope===Er.DOCUMENTS,Zo=class t extends Event{constructor(){super(t.eventName)}};Zo.eventName="search-context-clear-all-filters";var oo=class t{static build(e,o){return new t(aa(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ht.Debouncer(10),this.searchDebouncer=new ht.Debouncer(100),this.suggestDebouncer=new ht.Debouncer(300),this.service=o??new Ko}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let i=a=>o.some(s=>s.lang==a);i(e)||(e=i(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Cr.TITLE_ONLY),this.store.actions.setRequestScope(Er.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Cr.EVERYWHERE),this.store.actions.setRequestScope(Er.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return no(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Zo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(i=>i!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:o,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:o}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(i=>!i.dateFilter),...o.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:o,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(i=>!i.rangeFilter),...o.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ht.cancelable)(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof ht.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,i={input:o.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,ht.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(o){!(o instanceof ht.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}};var Tp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},fi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},pi=Symbol("registerInterval");function Pp(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[pi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[pi]):this.dispatchEvent(new fi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=pi,Tp([(0,Cs.state)()],o.prototype,"stateManager",void 0),o}var Ht=class extends Pp(Os.FtLitElementRedux){};var Fi=m(R());var hn=m(k()),Re=m(j()),Dc=m(Vt()),mn=m(R());var _s=m(R());var Ps=m(k()),be=m(j()),ks=m(Vt()),io=m(R());var Is=m(k()),se=m(R()),ws=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorContent),E={color:ws,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",ws),opacityContentOnSurfacePressed:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:se.FtCssVariableFactory.external(se.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:se.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},As=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorPrimary),Rs={color:As,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",As)},Ns=se.FtCssVariableFactory.extend("--ft-ripple-color","",se.designSystemVariables.colorSecondary),Ls={color:Ns,backgroundColor:se.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ns)},Ts=Is.css`
16
16
  :host {
17
17
  display: contents;
18
18
  }
@@ -67,19 +67,19 @@
67
67
  }
68
68
 
69
69
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
70
- background-color: ${Ns.backgroundColor};
70
+ background-color: ${Ls.backgroundColor};
71
71
  }
72
72
 
73
73
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
74
- background-color: ${Ns.color};
74
+ background-color: ${Ls.color};
75
75
  }
76
76
 
77
77
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
78
- background-color: ${As.backgroundColor};
78
+ background-color: ${Rs.backgroundColor};
79
79
  }
80
80
 
81
81
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
82
- background-color: ${As.color};
82
+ background-color: ${Rs.color};
83
83
  }
84
84
 
85
85
  .ft-ripple .ft-ripple--background {
@@ -124,21 +124,21 @@
124
124
  opacity: ${E.opacityContentOnSurfacePressed};
125
125
  transform: translate(-50%, -50%) scale(1);
126
126
  }
127
- `;var Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},H=class extends io.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new io.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new io.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Ts.html`
127
+ `;var Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},H=class extends io.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new io.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new io.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Ps.html`
128
128
  <style>
129
129
  .ft-ripple .ft-ripple--effect {
130
130
  left: ${this.originX}px;
131
131
  top: ${this.originY}px;
132
132
  }
133
133
  </style>
134
- <div class="${(0,Ps.classMap)(e)}">
134
+ <div class="${(0,ks.classMap)(e)}">
135
135
  <div class="ft-ripple--background"></div>
136
136
  <div class="ft-ripple--effect"></div>
137
137
  </div>
138
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=Is;Pe([(0,be.property)({type:Boolean})],H.prototype,"primary",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"secondary",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"unbounded",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"activated",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"selected",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"disabled",void 0);Pe([(0,be.state)()],H.prototype,"hovered",void 0);Pe([(0,be.state)()],H.prototype,"focused",void 0);Pe([(0,be.state)()],H.prototype,"pressed",void 0);Pe([(0,be.state)()],H.prototype,"rippling",void 0);Pe([(0,be.state)()],H.prototype,"originX",void 0);Pe([(0,be.state)()],H.prototype,"originY",void 0);Pe([(0,be.query)(".ft-ripple")],H.prototype,"ripple",void 0);Pe([(0,be.query)(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);(0,ks.customElement)("ft-ripple")(H);var Bl=y(R());var xi=globalThis,qo=xi.trustedTypes,_s=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Us="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,zs="?"+jt,Pp=`<${zs}>`,lr=document,Yo=()=>lr.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",Ws=Array.isArray,kp=t=>Ws(t)||typeof t?.[Symbol.iterator]=="function",ui=`[
139
- \f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$s=/-->/g,Ds=/>/g,ar=RegExp(`>|${ui}(?:([^\\s"'>=/]+)(${ui}*=${ui}*(?:[^
140
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Bs=/'/g,Fs=/"/g,Hs=/^(?:script|style|textarea|title)$/i,Vs=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),js=Vs(1),Gs=Vs(2),lo=Symbol.for("lit-noChange"),fe=Symbol.for("lit-nothing"),Ms=new WeakMap,sr=lr.createTreeWalker(lr,129);function Ks(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return _s!==void 0?_s.createHTML(e):e}var _p=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ao;for(let c=0;c<o;c++){let p=t[c],f,m,g=-1,b=0;for(;b<p.length&&(s.lastIndex=b,m=s.exec(p),m!==null);)b=s.lastIndex,s===ao?m[1]==="!--"?s=$s:m[1]!==void 0?s=Ds:m[2]!==void 0?(Hs.test(m[2])&&(i=RegExp("</"+m[2],"g")),s=ar):m[3]!==void 0&&(s=ar):s===ar?m[0]===">"?(s=i??ao,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,f=m[1],s=m[3]===void 0?ar:m[3]==='"'?Fs:Bs):s===Fs||s===Bs?s=ar:s===$s||s===Ds?s=ao:(s=ar,i=void 0);let S=s===ar&&t[c+1].startsWith("/>")?" ":"";a+=s===ao?p+Pp:g>=0?(n.push(f),p.slice(0,g)+Us+p.slice(g)+jt+S):p+jt+(g===-2?c:S)}return[Ks(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},co=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,p=this.parts,[f,m]=_p(e,o);if(this.el=t.createElement(f,n),sr.currentNode=this.el.content,o===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=sr.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(Us)){let b=m[s++],S=i.getAttribute(g).split(jt),v=/([.?@])?(.*)/.exec(b);p.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?yi:v[1]==="?"?mi:v[1]==="@"?gi:Tr}),i.removeAttribute(g)}else g.startsWith(jt)&&(p.push({type:6,index:a}),i.removeAttribute(g));if(Hs.test(i.tagName)){let g=i.textContent.split(jt),b=g.length-1;if(b>0){i.textContent=qo?qo.emptyScript:"";for(let S=0;S<b;S++)i.append(g[S],Yo()),sr.nextNode(),p.push({type:2,index:++a});i.append(g[b],Yo())}}}else if(i.nodeType===8)if(i.data===zs)p.push({type:2,index:a});else{let g=-1;for(;(g=i.data.indexOf(jt,g+1))!==-1;)p.push({type:7,index:a}),g+=jt.length-1}a++}}static createElement(e,o){let n=lr.createElement("template");return n.innerHTML=e,n}};function Ir(t,e,o=t,n){if(e===lo)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=so(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ir(t,i._$AS(t,e.values),i,n)),e}var hi=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??lr).importNode(o,!0);sr.currentNode=i;let a=sr.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let f;p.type===2?f=new Xo(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new bi(a,this,e)),this._$AV.push(f),p=n[++c]}s!==p?.index&&(a=sr.nextNode(),s++)}return sr.currentNode=lr,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Xo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=fe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ir(this,e,o),so(e)?e===fe||e==null||e===""?(this._$AH!==fe&&this._$AR(),this._$AH=fe):e!==this._$AH&&e!==lo&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):kp(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==fe&&so(this._$AH)?this._$AA.nextSibling.data=e:this.$(lr.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=co.createElement(Ks(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new hi(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Ms.get(e.strings);return o===void 0&&Ms.set(e.strings,o=new co(e)),o}T(e){Ws(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(Yo()),this.k(Yo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=fe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=fe}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ir(this,e,o,0),s=!so(e)||e!==this._$AH&&e!==lo,s&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=Ir(this,c[n+p],o,p),f===lo&&(f=this._$AH[p]),s||=!so(f)||f!==this._$AH[p],f===fe?e=fe:e!==fe&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}s&&!i&&this.O(e)}O(e){e===fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},yi=class extends Tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===fe?void 0:e}},mi=class extends Tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==fe)}},gi=class extends Tr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ir(this,e,o,0)??fe)===lo)return;let n=this._$AH,i=e===fe&&n!==fe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==fe&&(n===fe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},bi=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ir(this,e)}};var $p=xi.litHtmlPolyfillSupport;$p?.(co,Xo),(xi.litHtmlVersions??=[]).push("3.1.0");var qs=Symbol.for(""),Dp=t=>{if(t?.r===qs)return t?._$litStatic$},vi=t=>({_$litStatic$:t,r:qs});var Zs=new Map,Ys=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],p,f=0,m=!1;for(;f<n;){for(p=e[f];f<n&&(a=o[f],(i=Dp(a))!==void 0);)p+=i+e[++f],m=!0;f!==n&&c.push(a),s.push(p),f++}if(f===n&&s.push(e[n]),m){let g=s.join("$$lit$$");(e=Zs.get(g))===void 0&&(s.raw=s,Zs.set(g,e=s)),o=c}return t(e,...o)},Si=Ys(js),dy=Ys(Gs);var Oi=y(j()),Dl=y(R());var Ze;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ze||(Ze={}));var qe=y(k()),A=y(R());var St=y(k(),1),Gt=t=>typeof t=="string"?(0,St.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Gt(c??i),s=St.css`var(${Gt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>St.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=St.css`var(${Gt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>St.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gt(a??e.lastResortDefaultValue()),i=St.css`var(${Gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>St.css`var(${Gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Xs={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Qs={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Js={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},el={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},tl={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},rl={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ol={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},nl={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},il={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},al={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},sl={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ll={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},cl={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},dl={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},pl={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},fl={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ul={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},hl={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},yl={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ml={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},gl={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},bl={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},xl={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},vl={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Sl={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Xs,"title-1":Qs,"title-2":Js,"title-3":el,"body-1-regular":tl,"body-1-medium":rl,"body-1-semibold":ol,"body-2-regular":nl,"body-2-medium":il,"body-2-medium-underline":Bp,"body-2-semibold":al,"label-1-medium":sl,"label-1-semibold":ll,"label-1-bold":cl,"label-2-medium":dl,"label-2-semibold":pl,"label-2-bold":fl,"caption-1-medium":ul,"caption-1-semibold":hl,"caption-1-bold":yl,"caption-2-medium":ml,"caption-2-semibold":gl,"caption-2-bold":bl,"caption-3-medium":xl,"caption-3-semibold":vl,"caption-3-bold":Sl};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
141
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var u={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Ny={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var By={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var Wy={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Ky={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Qy={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var om={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var lm={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var um={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var bm={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Cm={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Nm={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var km={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Fm={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Hm={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Zm={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Jm={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var ng={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var lg={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var fg={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var gg={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Og={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Rg={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Pg={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Bg={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Wg={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Jo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Jo||(Jo={}));var Ae;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ae||(Ae={}));var en=y(k());function Ol(t){let e=Qo[t];return en.css`
138
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>p=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=Ts;Pe([(0,be.property)({type:Boolean})],H.prototype,"primary",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"secondary",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"unbounded",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"activated",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"selected",void 0);Pe([(0,be.property)({type:Boolean})],H.prototype,"disabled",void 0);Pe([(0,be.state)()],H.prototype,"hovered",void 0);Pe([(0,be.state)()],H.prototype,"focused",void 0);Pe([(0,be.state)()],H.prototype,"pressed",void 0);Pe([(0,be.state)()],H.prototype,"rippling",void 0);Pe([(0,be.state)()],H.prototype,"originX",void 0);Pe([(0,be.state)()],H.prototype,"originY",void 0);Pe([(0,be.query)(".ft-ripple")],H.prototype,"ripple",void 0);Pe([(0,be.query)(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);(0,_s.customElement)("ft-ripple")(H);var Fl=m(R());var xi=globalThis,qo=xi.trustedTypes,$s=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,zs="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Ws="?"+jt,kp=`<${Ws}>`,lr=document,Yo=()=>lr.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",Hs=Array.isArray,_p=t=>Hs(t)||typeof t?.[Symbol.iterator]=="function",ui=`[
139
+ \f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ds=/-->/g,Bs=/>/g,ar=RegExp(`>|${ui}(?:([^\\s"'>=/]+)(${ui}*=${ui}*(?:[^
140
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Fs=/'/g,Ms=/"/g,Vs=/^(?:script|style|textarea|title)$/i,js=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Gs=js(1),Ks=js(2),lo=Symbol.for("lit-noChange"),fe=Symbol.for("lit-nothing"),Us=new WeakMap,sr=lr.createTreeWalker(lr,129);function Zs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $s!==void 0?$s.createHTML(e):e}var $p=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ao;for(let c=0;c<o;c++){let p=t[c],f,h,g=-1,b=0;for(;b<p.length&&(s.lastIndex=b,h=s.exec(p),h!==null);)b=s.lastIndex,s===ao?h[1]==="!--"?s=Ds:h[1]!==void 0?s=Bs:h[2]!==void 0?(Vs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ar):h[3]!==void 0&&(s=ar):s===ar?h[0]===">"?(s=i??ao,g=-1):h[1]===void 0?g=-2:(g=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ar:h[3]==='"'?Ms:Fs):s===Ms||s===Fs?s=ar:s===Ds||s===Bs?s=ao:(s=ar,i=void 0);let S=s===ar&&t[c+1].startsWith("/>")?" ":"";a+=s===ao?p+kp:g>=0?(n.push(f),p.slice(0,g)+zs+p.slice(g)+jt+S):p+jt+(g===-2?c:S)}return[Zs(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},co=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,p=this.parts,[f,h]=$p(e,o);if(this.el=t.createElement(f,n),sr.currentNode=this.el.content,o===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=sr.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(zs)){let b=h[s++],S=i.getAttribute(g).split(jt),v=/([.?@])?(.*)/.exec(b);p.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?yi:v[1]==="?"?mi:v[1]==="@"?gi:Tr}),i.removeAttribute(g)}else g.startsWith(jt)&&(p.push({type:6,index:a}),i.removeAttribute(g));if(Vs.test(i.tagName)){let g=i.textContent.split(jt),b=g.length-1;if(b>0){i.textContent=qo?qo.emptyScript:"";for(let S=0;S<b;S++)i.append(g[S],Yo()),sr.nextNode(),p.push({type:2,index:++a});i.append(g[b],Yo())}}}else if(i.nodeType===8)if(i.data===Ws)p.push({type:2,index:a});else{let g=-1;for(;(g=i.data.indexOf(jt,g+1))!==-1;)p.push({type:7,index:a}),g+=jt.length-1}a++}}static createElement(e,o){let n=lr.createElement("template");return n.innerHTML=e,n}};function Ir(t,e,o=t,n){if(e===lo)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=so(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ir(t,i._$AS(t,e.values),i,n)),e}var hi=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??lr).importNode(o,!0);sr.currentNode=i;let a=sr.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let f;p.type===2?f=new Xo(a,a.nextSibling,this,e):p.type===1?f=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(f=new bi(a,this,e)),this._$AV.push(f),p=n[++c]}s!==p?.index&&(a=sr.nextNode(),s++)}return sr.currentNode=lr,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Xo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=fe,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ir(this,e,o),so(e)?e===fe||e==null||e===""?(this._$AH!==fe&&this._$AR(),this._$AH=fe):e!==this._$AH&&e!==lo&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):_p(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==fe&&so(this._$AH)?this._$AA.nextSibling.data=e:this.$(lr.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=co.createElement(Zs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new hi(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Us.get(e.strings);return o===void 0&&Us.set(e.strings,o=new co(e)),o}T(e){Hs(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(Yo()),this.k(Yo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=fe,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=fe}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ir(this,e,o,0),s=!so(e)||e!==this._$AH&&e!==lo,s&&(this._$AH=e);else{let c=e,p,f;for(e=a[0],p=0;p<a.length-1;p++)f=Ir(this,c[n+p],o,p),f===lo&&(f=this._$AH[p]),s||=!so(f)||f!==this._$AH[p],f===fe?e=fe:e!==fe&&(e+=(f??"")+a[p+1]),this._$AH[p]=f}s&&!i&&this.O(e)}O(e){e===fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},yi=class extends Tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===fe?void 0:e}},mi=class extends Tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==fe)}},gi=class extends Tr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ir(this,e,o,0)??fe)===lo)return;let n=this._$AH,i=e===fe&&n!==fe||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==fe&&(n===fe||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},bi=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ir(this,e)}};var Dp=xi.litHtmlPolyfillSupport;Dp?.(co,Xo),(xi.litHtmlVersions??=[]).push("3.1.0");var Ys=Symbol.for(""),Bp=t=>{if(t?.r===Ys)return t?._$litStatic$},vi=t=>({_$litStatic$:t,r:Ys});var qs=new Map,Xs=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],p,f=0,h=!1;for(;f<n;){for(p=e[f];f<n&&(a=o[f],(i=Bp(a))!==void 0);)p+=i+e[++f],h=!0;f!==n&&c.push(a),s.push(p),f++}if(f===n&&s.push(e[n]),h){let g=s.join("$$lit$$");(e=qs.get(g))===void 0&&(s.raw=s,qs.set(g,e=s)),o=c}return t(e,...o)},Si=Xs(Gs),py=Xs(Ks);var Oi=m(j()),Bl=m(R());var Ze;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ze||(Ze={}));var qe=m(k()),A=m(R());var St=m(k(),1),Gt=t=>typeof t=="string"?(0,St.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Gt(c??i),s=St.css`var(${Gt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>St.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=St.css`var(${Gt(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>St.css`var(${Gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gt(a??e.lastResortDefaultValue()),i=St.css`var(${Gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>St.css`var(${Gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Qs={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Js={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},el={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},tl={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},rl={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ol={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},nl={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},il={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},al={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Fp={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},sl={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ll={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},cl={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},dl={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},pl={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},fl={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ul={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},hl={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},yl={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ml={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},gl={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},bl={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},xl={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},vl={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Sl={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ol={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Qs,"title-1":Js,"title-2":el,"title-3":tl,"body-1-regular":rl,"body-1-medium":ol,"body-1-semibold":nl,"body-2-regular":il,"body-2-medium":al,"body-2-medium-underline":Fp,"body-2-semibold":sl,"label-1-medium":ll,"label-1-semibold":cl,"label-1-bold":dl,"label-2-medium":pl,"label-2-semibold":fl,"label-2-bold":ul,"caption-1-medium":hl,"caption-1-semibold":yl,"caption-1-bold":ml,"caption-2-medium":gl,"caption-2-semibold":bl,"caption-2-bold":xl,"caption-3-medium":vl,"caption-3-semibold":Sl,"caption-3-bold":Ol};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
141
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var u={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Ly={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Fy={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var Hy={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Zy={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Jy={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var nm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var cm={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var hm={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var xm={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Em={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Lm={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var _m={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Mm={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Vm={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var qm={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var eg={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var ig={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var cg={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var ug={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var bg={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Cg={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Ng={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var kg={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Fg={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Hg={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Jo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Jo||(Jo={}));var Ae;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ae||(Ae={}));var en=m(k());function Cl(t){let e=Qo[t];return en.css`
142
142
  .ft-typography--${(0,en.unsafeCSS)(t)} {
143
143
  font-family: ${e.fontFamily};
144
144
  font-size: ${e.fontSize};
@@ -147,7 +147,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
147
147
  line-height: ${e.lineHeight};
148
148
  text-transform: ${e.textCase};
149
149
  }
150
- `}var Cl=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ot=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),N={fontFamily:Ot,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Cl),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},kr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Cl),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},_r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},$r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},Dr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},xe={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},Br={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Fr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},Mr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},yt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},El=qe.css`
150
+ `}var El=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ot=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),N={fontFamily:Ot,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",El),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},kr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",El),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},_r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},$r={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},Dr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},xe={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},Br={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Fr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},Mr={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},yt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ot),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},wl=qe.css`
151
151
  .ft-typography--title {
152
152
  font-family: ${Pr.fontFamily};
153
153
  font-size: ${Pr.fontSize};
@@ -156,7 +156,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
156
156
  line-height: ${Pr.lineHeight};
157
157
  text-transform: ${Pr.textTransform};
158
158
  }
159
- `,wl=qe.css`
159
+ `,Al=qe.css`
160
160
  .ft-typography--title-dense {
161
161
  font-family: ${kr.fontFamily};
162
162
  font-size: ${kr.fontSize};
@@ -165,7 +165,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
165
165
  line-height: ${kr.lineHeight};
166
166
  text-transform: ${kr.textTransform};
167
167
  }
168
- `,Al=qe.css`
168
+ `,Rl=qe.css`
169
169
  .ft-typography--subtitle1 {
170
170
  font-family: ${_r.fontFamily};
171
171
  font-size: ${_r.fontSize};
@@ -174,7 +174,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
174
174
  line-height: ${_r.lineHeight};
175
175
  text-transform: ${_r.textTransform};
176
176
  }
177
- `,Rl=qe.css`
177
+ `,Nl=qe.css`
178
178
  .ft-typography--subtitle2 {
179
179
  font-family: ${$r.fontFamily};
180
180
  font-size: ${$r.fontSize};
@@ -184,7 +184,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
184
184
  text-transform: ${$r.textTransform};
185
185
  }
186
186
 
187
- `,Nl=qe.css`
187
+ `,Ll=qe.css`
188
188
  .ft-typography--body1 {
189
189
  font-family: ${Dr.fontFamily};
190
190
  font-size: ${Dr.fontSize};
@@ -193,7 +193,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
193
193
  line-height: ${Dr.lineHeight};
194
194
  text-transform: ${Dr.textTransform};
195
195
  }
196
- `,Ll=qe.css`
196
+ `,Il=qe.css`
197
197
  .ft-typography--body2 {
198
198
  font-family: ${xe.fontFamily};
199
199
  font-size: ${xe.fontSize};
@@ -211,7 +211,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
211
211
  line-height: ${Br.lineHeight};
212
212
  text-transform: ${Br.textTransform};
213
213
  }
214
- `,Il=qe.css`
214
+ `,Tl=qe.css`
215
215
  .ft-typography--breadcrumb {
216
216
  font-family: ${Fr.fontFamily};
217
217
  font-size: ${Fr.fontSize};
@@ -220,7 +220,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
220
220
  line-height: ${Fr.lineHeight};
221
221
  text-transform: ${Fr.textTransform};
222
222
  }
223
- `,Tl=qe.css`
223
+ `,Pl=qe.css`
224
224
  .ft-typography--overline {
225
225
  font-family: ${Mr.fontFamily};
226
226
  font-size: ${Mr.fontSize};
@@ -229,7 +229,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
229
229
  line-height: ${Mr.lineHeight};
230
230
  text-transform: ${Mr.textTransform};
231
231
  }
232
- `,Pl=qe.css`
232
+ `,kl=qe.css`
233
233
  .ft-typography--button {
234
234
  font-family: ${yt.fontFamily};
235
235
  font-size: ${yt.fontSize};
@@ -238,11 +238,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
238
238
  line-height: ${yt.lineHeight};
239
239
  text-transform: ${yt.textTransform};
240
240
  }
241
- `,kl=qe.css`
241
+ `,_l=qe.css`
242
242
  .ft-typography {
243
243
  vertical-align: inherit;
244
244
  }
245
- `,_l=[Object.keys(Qo).map(t=>Ol(t))];var $l=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Z=class extends Dl.FtLitElement{constructor(){super(...arguments),this.variant=Ze.body1}render(){return this.element?Si`
245
+ `,$l=[Object.keys(Qo).map(t=>Cl(t))];var Dl=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Z=class extends Bl.FtLitElement{constructor(){super(...arguments),this.variant=Ze.body1}render(){return this.element?Si`
246
246
  <${vi(this.element)}
247
247
  part="text"
248
248
  class="ft-typography ft-typography--${this.variant}">
@@ -250,7 +250,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
250
250
  </${vi(this.element)}>
251
251
  `:Si`
252
252
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
253
- `}};Z.styles=[El,wl,Al,Rl,Nl,Ll,tn,Il,Tl,Pl,kl,..._l];$l([(0,Oi.property)()],Z.prototype,"element",void 0);$l([(0,Oi.property)()],Z.prototype,"variant",void 0);(0,Bl.customElement)("ft-typography")(Z);var Vl=y(R());var po=y(k()),cr=y(j()),Wl=y(R()),Hl=y(Ml());var Ur;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Ur||(Ur={}));var w;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(w||(w={}));var px=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var fx={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Ul=y(k()),Ct=y(R()),le={size:Ct.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ct.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},zl=Ul.css`
253
+ `}};Z.styles=[wl,Al,Rl,Nl,Ll,Il,tn,Tl,Pl,kl,_l,...$l];Dl([(0,Oi.property)()],Z.prototype,"element",void 0);Dl([(0,Oi.property)()],Z.prototype,"variant",void 0);(0,Fl.customElement)("ft-typography")(Z);var jl=m(R());var po=m(k()),cr=m(j()),Hl=m(R()),Vl=m(Ul());var Ur;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Ur||(Ur={}));var w;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(w||(w={}));var fx=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var ux={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var zl=m(k()),Ct=m(R()),le={size:Ct.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ct.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ct.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ct.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Wl=zl.css`
254
254
  :host, i.ft-icon {
255
255
  display: inline-flex;
256
256
  align-items: center;
@@ -298,12 +298,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
298
298
  .ft-icon--material {
299
299
  font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
300
300
  }
301
- `;var Ye;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ye||(Ye={}));var rn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends Wl.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=po.nothing}render(){let e=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,o=e!==Ye.material||!!this.value;return po.html`
301
+ `;var Ye;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ye||(Ye={}));var rn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ue=class extends Hl.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=po.nothing}render(){let e=this.variant&&Object.values(Ye).includes(this.variant)?this.variant:Ye.fluid_topics,o=e!==Ye.material||!!this.value;return po.html`
302
302
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
303
- ${(0,Hl.unsafeHTML)(this.resolvedIcon)}
303
+ ${(0,Vl.unsafeHTML)(this.resolvedIcon)}
304
304
  <slot ?hidden=${o}></slot>
305
305
  </i>
306
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Ye.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ye.material:this.resolvedIcon=this.value||po.nothing;break;default:this.resolvedIcon=(o=Ur[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ue.elementDefinitions={};ue.styles=zl;rn([(0,cr.property)()],ue.prototype,"variant",void 0);rn([(0,cr.property)()],ue.prototype,"value",void 0);rn([(0,cr.state)()],ue.prototype,"resolvedIcon",void 0);rn([(0,cr.query)("slot")],ue.prototype,"slottedContent",void 0);(0,Vl.customElement)("ft-icon")(ue);var un=y(k()),F=y(R());var _i=y(R());var xo=y(j()),Nc=y(R());var ql=y(k()),D=y(R());var jl=y(k()),fo=y(R()),X={color:fo.FtCssVariableFactory.extend("--ft-loader-color","",fo.designSystemVariables.colorPrimary),size:fo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Gl=jl.css`
306
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Ye.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ye.material:this.resolvedIcon=this.value||po.nothing;break;default:this.resolvedIcon=(o=Ur[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ue.elementDefinitions={};ue.styles=Wl;rn([(0,cr.property)()],ue.prototype,"variant",void 0);rn([(0,cr.property)()],ue.prototype,"value",void 0);rn([(0,cr.state)()],ue.prototype,"resolvedIcon",void 0);rn([(0,cr.query)("slot")],ue.prototype,"slottedContent",void 0);(0,jl.customElement)("ft-icon")(ue);var un=m(k()),F=m(R());var _i=m(R());var xo=m(j()),Lc=m(R());var Yl=m(k()),D=m(R());var Gl=m(k()),fo=m(R()),X={color:fo.FtCssVariableFactory.extend("--ft-loader-color","",fo.designSystemVariables.colorPrimary),size:fo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Kl=Gl.css`
307
307
  :host {
308
308
  line-height: 0;
309
309
  }
@@ -372,7 +372,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
372
372
  transform: translate(calc(0.35 * ${X.size}), 0);
373
373
  }
374
374
  }
375
- `;var Kl=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),V={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Kl,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",yt.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Kl),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Zl=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Ci={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Zl,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Zl)},mt={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Yl=[ql.css`
375
+ `;var Zl=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),V={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Zl,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",yt.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Zl),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},ql=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Ci={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:ql,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ql)},mt={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Xl=[Yl.css`
376
376
  :host {
377
377
  display: inline-block;
378
378
  max-width: 100%;
@@ -508,7 +508,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
508
508
  ${(0,D.setVariable)(X.size,V.iconSize)};
509
509
  ${(0,D.setVariable)(X.color,"var(--ft-button-internal-color)")};
510
510
  }
511
- `,D.noTextSelect];var Gr=y(R());var Cc=y(R());var Oc=y(k()),ce=y(j()),bo=y(R());var Xl=y(k()),Et=y(R()),zr={distance:Et.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Et.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Et.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Et.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Et.FtCssVariableFactory.external(Et.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Et.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ql=Xl.css`
511
+ `,D.noTextSelect];var Gr=m(R());var Ec=m(R());var Cc=m(k()),ce=m(j()),bo=m(R());var Ql=m(k()),Et=m(R()),zr={distance:Et.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Et.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Et.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Et.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Et.FtCssVariableFactory.external(Et.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Et.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Jl=Ql.css`
512
512
  .ft-tooltip--container {
513
513
  display: block;
514
514
  }
@@ -537,7 +537,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
537
537
  position: relative;
538
538
  word-break: break-word;
539
539
  }
540
- `;var ec=["top","right","bottom","left"],Jl=["start","end"],wi=ec.reduce((t,e)=>t.concat(e,e+"-"+Jl[0],e+"-"+Jl[1]),[]),uo=Math.min,Kt=Math.max,ho=Math.round;var wt=t=>({x:t,y:t}),Fp={left:"right",right:"left",bottom:"top",top:"bottom"},Mp={start:"end",end:"start"};function Ai(t,e,o){return Kt(t,uo(e,o))}function on(t,e){return typeof t=="function"?t(e):t}function Wr(t){return t.split("-")[0]}function Zt(t){return t.split("-")[1]}function Ri(t){return t==="x"?"y":"x"}function Ni(t){return t==="y"?"height":"width"}function nn(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Li(t){return Ri(nn(t))}function tc(t,e,o){o===void 0&&(o=!1);let n=Zt(t),i=Li(t),a=Ni(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ei(s)),[s,Ei(s)]}function rc(t){return t.replace(/start|end/g,e=>Mp[e])}function Ei(t){return t.replace(/left|right|bottom|top/g,e=>Fp[e])}function Up(t){return{top:0,right:0,bottom:0,left:0,...t}}function oc(t){return typeof t!="number"?Up(t):{top:t,right:t,bottom:t,left:t}}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function nc(t,e,o){let{reference:n,floating:i}=t,a=nn(e),s=Li(e),c=Ni(s),p=Wr(e),f=a==="y",m=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,b=n[c]/2-i[c]/2,S;switch(p){case"top":S={x:m,y:n.y-i.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:g};break;case"left":S={x:n.x-i.width,y:g};break;default:S={x:n.x,y:n.y}}switch(Zt(e)){case"start":S[s]-=b*(o&&f?-1:1);break;case"end":S[s]+=b*(o&&f?-1:1);break}return S}var ic=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:m,y:g}=nc(f,n,p),b=n,S={},v=0;for(let O=0;O<c.length;O++){let{name:T,fn:L}=c[O],{x:I,y:$,data:B,reset:U}=await L({x:m,y:g,initialPlacement:n,placement:b,strategy:i,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});if(m=I??m,g=$??g,S={...S,[T]:{...S[T],...B}},U&&v<=50){v++,typeof U=="object"&&(U.placement&&(b=U.placement),U.rects&&(f=U.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):U.rects),{x:m,y:g}=nc(f,b,p)),O=-1;continue}}return{x:m,y:g,placement:b,strategy:i,middlewareData:S}};async function Ii(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=on(e,t),v=oc(S),T=c[b?g==="floating"?"reference":"floating":g],L=dr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(T)))==null||o?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:m,strategy:p})),I=g==="floating"?{...s.floating,x:n,y:i}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),B=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},U=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:$,strategy:p}):I);return{top:(L.top-U.top+v.top)/B.y,bottom:(U.bottom-L.bottom+v.bottom)/B.y,left:(L.left-U.left+v.left)/B.x,right:(U.right-L.right+v.right)/B.x}}function zp(t,e,o){return(t?[...o.filter(i=>Zt(i)===t),...o.filter(i=>Zt(i)!==t)]:o.filter(i=>Wr(i)===i)).filter(i=>t?Zt(i)===t||(e?rc(i)!==i:!1):!0)}var Ti=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:f}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:b=wi,autoAlignment:S=!0,...v}=on(t,e),O=g!==void 0||b===wi?zp(g||null,S,b):b,T=await Ii(e,v),L=((o=s.autoPlacement)==null?void 0:o.index)||0,I=O[L];if(I==null)return{};let $=tc(I,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==I)return{reset:{placement:O[0]}};let B=[T[Wr(I)],T[$[0]],T[$[1]]],U=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:B}],Te=O[L+1];if(Te)return{data:{index:L+1,overflows:U},reset:{placement:Te}};let dt=U.map(me=>{let h=Zt(me.placement);return[me.placement,h&&m?me.overflows.slice(0,2).reduce((x,P)=>x+P,0):me.overflows[0],me.overflows]}).sort((me,h)=>me[1]-h[1]),pt=((i=dt.filter(me=>me[2].slice(0,Zt(me[0])?2:3).every(h=>h<=0))[0])==null?void 0:i[0])||dt[0][0];return pt!==c?{data:{index:L+1,overflows:U},reset:{placement:pt}}:{}}}};var Pi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:T=>{let{x:L,y:I}=T;return{x:L,y:I}}},...p}=on(t,e),f={x:o,y:n},m=await Ii(e,p),g=nn(Wr(i)),b=Ri(g),S=f[b],v=f[g];if(a){let T=b==="y"?"top":"left",L=b==="y"?"bottom":"right",I=S+m[T],$=S-m[L];S=Ai(I,S,$)}if(s){let T=g==="y"?"top":"left",L=g==="y"?"bottom":"right",I=v+m[T],$=v-m[L];v=Ai(I,v,$)}let O=c.fn({...e,[b]:S,[g]:v});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function At(t){return sc(t)?(t.nodeName||"").toLowerCase():"#document"}function ke(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rt(t){var e;return(e=(sc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function sc(t){return t instanceof Node||t instanceof ke(t).Node}function gt(t){return t instanceof Element||t instanceof ke(t).Element}function tt(t){return t instanceof HTMLElement||t instanceof ke(t).HTMLElement}function ac(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ke(t).ShadowRoot}function Hr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function lc(t){return["table","td","th"].includes(At(t))}function sn(t){let e=ln(),o=Ue(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function cc(t){let e=pr(t);for(;tt(e)&&!yo(e);){if(sn(e))return e;e=pr(e)}return null}function ln(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(t){return["html","body","#document"].includes(At(t))}function Ue(t){return ke(t).getComputedStyle(t)}function mo(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pr(t){if(At(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ac(t)&&t.host||Rt(t);return ac(e)?e.host:e}function dc(t){let e=pr(t);return yo(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&Hr(e)?e:dc(e)}function an(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=dc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=ke(i);return a?e.concat(s,s.visualViewport||[],Hr(i)?i:[],s.frameElement&&o?an(s.frameElement):[]):e.concat(i,an(i,[],o))}function uc(t){let e=Ue(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=tt(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=ho(o)!==a||ho(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function hc(t){return gt(t)?t:t.contextElement}function Vr(t){let e=hc(t);if(!tt(e))return wt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=uc(e),s=(a?ho(o.width):o.width)/n,c=(a?ho(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Vp=wt(0);function yc(t){let e=ke(t);return!ln()||!e.visualViewport?Vp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ke(t)?!1:e}function go(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=hc(t),s=wt(1);e&&(n?gt(n)&&(s=Vr(n)):s=Vr(t));let c=jp(a,o,n)?yc(a):wt(0),p=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,m=i.width/s.x,g=i.height/s.y;if(a){let b=ke(a),S=n&&gt(n)?ke(n):n,v=b.frameElement;for(;v&&n&&S!==b;){let O=Vr(v),T=v.getBoundingClientRect(),L=Ue(v),I=T.left+(v.clientLeft+parseFloat(L.paddingLeft))*O.x,$=T.top+(v.clientTop+parseFloat(L.paddingTop))*O.y;p*=O.x,f*=O.y,m*=O.x,g*=O.y,p+=I,f+=$,v=ke(v).frameElement}}return dr({width:m,height:g,x:p,y:f})}function Gp(t){let{rect:e,offsetParent:o,strategy:n}=t,i=tt(o),a=Rt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=wt(1),p=wt(0);if((i||!i&&n!=="fixed")&&((At(o)!=="body"||Hr(a))&&(s=mo(o)),tt(o))){let f=go(o);c=Vr(o),p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+p.x,y:e.y*c.y-s.scrollTop*c.y+p.y}}function Kp(t){return Array.from(t.getClientRects())}function mc(t){return go(Rt(t)).left+mo(t).scrollLeft}function Zp(t){let e=Rt(t),o=mo(t),n=t.ownerDocument.body,i=Kt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Kt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+mc(t),c=-o.scrollTop;return Ue(n).direction==="rtl"&&(s+=Kt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function qp(t,e){let o=ke(t),n=Rt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let f=ln();(!f||f&&e==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Yp(t,e){let o=go(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=tt(t)?Vr(t):wt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:s,height:c,x:p,y:f}}function pc(t,e,o){let n;if(e==="viewport")n=qp(t,o);else if(e==="document")n=Zp(Rt(t));else if(gt(e))n=Yp(e,o);else{let i=yc(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function gc(t,e){let o=pr(t);return o===e||!gt(o)||yo(o)?!1:Ue(o).position==="fixed"||gc(o,e)}function Xp(t,e){let o=e.get(t);if(o)return o;let n=an(t,[],!1).filter(c=>gt(c)&&At(c)!=="body"),i=null,a=Ue(t).position==="fixed",s=a?pr(t):t;for(;gt(s)&&!yo(s);){let c=Ue(s),p=sn(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Hr(s)&&!p&&gc(t,s))?n=n.filter(m=>m!==s):i=c,s=pr(s)}return e.set(t,n),n}function Qp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Xp(e,this._c):[].concat(o),n],c=s[0],p=s.reduce((f,m)=>{let g=pc(e,m,i);return f.top=Kt(g.top,f.top),f.right=uo(g.right,f.right),f.bottom=uo(g.bottom,f.bottom),f.left=Kt(g.left,f.left),f},pc(e,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Jp(t){return uc(t)}function ef(t,e,o){let n=tt(e),i=Rt(e),a=o==="fixed",s=go(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=wt(0);if(n||!n&&!a)if((At(e)!=="body"||Hr(i))&&(c=mo(e)),n){let f=go(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=mc(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function fc(t,e){return!tt(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function bc(t,e){let o=ke(t);if(!tt(t))return o;let n=fc(t,e);for(;n&&lc(n)&&Ue(n).position==="static";)n=fc(n,e);return n&&(At(n)==="html"||At(n)==="body"&&Ue(n).position==="static"&&!sn(n))?o:n||cc(t)||o}var tf=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||bc,a=this.getDimensions;return{reference:ef(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function rf(t){return Ue(t).direction==="rtl"}var cn={convertOffsetParentRelativeRectToViewportRelativeRect:Gp,getDocumentElement:Rt,getClippingRect:Qp,getOffsetParent:bc,getElementRects:tf,getClientRects:Kp,getDimensions:Jp,getScale:Vr,isElement:gt,isRTL:rf};var xc=(t,e,o)=>{let n=new Map,i={platform:cn,...o},a={...i.platform,_c:n};return ic(t,e,{...i,platform:a})};function vc(t){return of(t)}function ki(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function of(t){for(let e=t;e;e=ki(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ki(t);e;e=ki(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Sc(t,e,o){return xc(t,e,{platform:{...cn,getOffsetParent:n=>cn.getOffsetParent(n,vc)},middleware:[Pi({crossAxis:!0}),Ti({allowedPlacements:[o]})]})}var _e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends bo.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 bo.Debouncer,this.revealDebouncer=new bo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Oc.html`
540
+ `;var tc=["top","right","bottom","left"],ec=["start","end"],wi=tc.reduce((t,e)=>t.concat(e,e+"-"+ec[0],e+"-"+ec[1]),[]),uo=Math.min,Kt=Math.max,ho=Math.round;var wt=t=>({x:t,y:t}),Mp={left:"right",right:"left",bottom:"top",top:"bottom"},Up={start:"end",end:"start"};function Ai(t,e,o){return Kt(t,uo(e,o))}function on(t,e){return typeof t=="function"?t(e):t}function Wr(t){return t.split("-")[0]}function Zt(t){return t.split("-")[1]}function Ri(t){return t==="x"?"y":"x"}function Ni(t){return t==="y"?"height":"width"}function nn(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Li(t){return Ri(nn(t))}function rc(t,e,o){o===void 0&&(o=!1);let n=Zt(t),i=Li(t),a=Ni(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ei(s)),[s,Ei(s)]}function oc(t){return t.replace(/start|end/g,e=>Up[e])}function Ei(t){return t.replace(/left|right|bottom|top/g,e=>Mp[e])}function zp(t){return{top:0,right:0,bottom:0,left:0,...t}}function nc(t){return typeof t!="number"?zp(t):{top:t,right:t,bottom:t,left:t}}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ic(t,e,o){let{reference:n,floating:i}=t,a=nn(e),s=Li(e),c=Ni(s),p=Wr(e),f=a==="y",h=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,b=n[c]/2-i[c]/2,S;switch(p){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:g};break;case"left":S={x:n.x-i.width,y:g};break;default:S={x:n.x,y:n.y}}switch(Zt(e)){case"start":S[s]-=b*(o&&f?-1:1);break;case"end":S[s]+=b*(o&&f?-1:1);break}return S}var ac=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:g}=ic(f,n,p),b=n,S={},v=0;for(let O=0;O<c.length;O++){let{name:T,fn:L}=c[O],{x:I,y:$,data:B,reset:U}=await L({x:h,y:g,initialPlacement:n,placement:b,strategy:i,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});if(h=I??h,g=$??g,S={...S,[T]:{...S[T],...B}},U&&v<=50){v++,typeof U=="object"&&(U.placement&&(b=U.placement),U.rects&&(f=U.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):U.rects),{x:h,y:g}=ic(f,b,p)),O=-1;continue}}return{x:h,y:g,placement:b,strategy:i,middlewareData:S}};async function Ii(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=on(e,t),v=nc(S),T=c[b?g==="floating"?"reference":"floating":g],L=dr(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(T)))==null||o?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:p})),I=g==="floating"?{...s.floating,x:n,y:i}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),B=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},U=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:$,strategy:p}):I);return{top:(L.top-U.top+v.top)/B.y,bottom:(U.bottom-L.bottom+v.bottom)/B.y,left:(L.left-U.left+v.left)/B.x,right:(U.right-L.right+v.right)/B.x}}function Wp(t,e,o){return(t?[...o.filter(i=>Zt(i)===t),...o.filter(i=>Zt(i)!==t)]:o.filter(i=>Wr(i)===i)).filter(i=>t?Zt(i)===t||(e?oc(i)!==i:!1):!0)}var Ti=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:f}=e,{crossAxis:h=!1,alignment:g,allowedPlacements:b=wi,autoAlignment:S=!0,...v}=on(t,e),O=g!==void 0||b===wi?Wp(g||null,S,b):b,T=await Ii(e,v),L=((o=s.autoPlacement)==null?void 0:o.index)||0,I=O[L];if(I==null)return{};let $=rc(I,a,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(c!==I)return{reset:{placement:O[0]}};let B=[T[Wr(I)],T[$[0]],T[$[1]]],U=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:B}],Te=O[L+1];if(Te)return{data:{index:L+1,overflows:U},reset:{placement:Te}};let dt=U.map(me=>{let y=Zt(me.placement);return[me.placement,y&&h?me.overflows.slice(0,2).reduce((x,P)=>x+P,0):me.overflows[0],me.overflows]}).sort((me,y)=>me[1]-y[1]),pt=((i=dt.filter(me=>me[2].slice(0,Zt(me[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||dt[0][0];return pt!==c?{data:{index:L+1,overflows:U},reset:{placement:pt}}:{}}}};var Pi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:T=>{let{x:L,y:I}=T;return{x:L,y:I}}},...p}=on(t,e),f={x:o,y:n},h=await Ii(e,p),g=nn(Wr(i)),b=Ri(g),S=f[b],v=f[g];if(a){let T=b==="y"?"top":"left",L=b==="y"?"bottom":"right",I=S+h[T],$=S-h[L];S=Ai(I,S,$)}if(s){let T=g==="y"?"top":"left",L=g==="y"?"bottom":"right",I=v+h[T],$=v-h[L];v=Ai(I,v,$)}let O=c.fn({...e,[b]:S,[g]:v});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function At(t){return lc(t)?(t.nodeName||"").toLowerCase():"#document"}function ke(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Rt(t){var e;return(e=(lc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function lc(t){return t instanceof Node||t instanceof ke(t).Node}function gt(t){return t instanceof Element||t instanceof ke(t).Element}function tt(t){return t instanceof HTMLElement||t instanceof ke(t).HTMLElement}function sc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ke(t).ShadowRoot}function Hr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function cc(t){return["table","td","th"].includes(At(t))}function sn(t){let e=ln(),o=Ue(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function dc(t){let e=pr(t);for(;tt(e)&&!yo(e);){if(sn(e))return e;e=pr(e)}return null}function ln(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(t){return["html","body","#document"].includes(At(t))}function Ue(t){return ke(t).getComputedStyle(t)}function mo(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pr(t){if(At(t)==="html")return t;let e=t.assignedSlot||t.parentNode||sc(t)&&t.host||Rt(t);return sc(e)?e.host:e}function pc(t){let e=pr(t);return yo(e)?t.ownerDocument?t.ownerDocument.body:t.body:tt(e)&&Hr(e)?e:pc(e)}function an(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=pc(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=ke(i);return a?e.concat(s,s.visualViewport||[],Hr(i)?i:[],s.frameElement&&o?an(s.frameElement):[]):e.concat(i,an(i,[],o))}function hc(t){let e=Ue(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=tt(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=ho(o)!==a||ho(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function yc(t){return gt(t)?t:t.contextElement}function Vr(t){let e=yc(t);if(!tt(e))return wt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=hc(e),s=(a?ho(o.width):o.width)/n,c=(a?ho(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var jp=wt(0);function mc(t){let e=ke(t);return!ln()||!e.visualViewport?jp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ke(t)?!1:e}function go(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=yc(t),s=wt(1);e&&(n?gt(n)&&(s=Vr(n)):s=Vr(t));let c=Gp(a,o,n)?mc(a):wt(0),p=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,g=i.height/s.y;if(a){let b=ke(a),S=n&&gt(n)?ke(n):n,v=b.frameElement;for(;v&&n&&S!==b;){let O=Vr(v),T=v.getBoundingClientRect(),L=Ue(v),I=T.left+(v.clientLeft+parseFloat(L.paddingLeft))*O.x,$=T.top+(v.clientTop+parseFloat(L.paddingTop))*O.y;p*=O.x,f*=O.y,h*=O.x,g*=O.y,p+=I,f+=$,v=ke(v).frameElement}}return dr({width:h,height:g,x:p,y:f})}function Kp(t){let{rect:e,offsetParent:o,strategy:n}=t,i=tt(o),a=Rt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=wt(1),p=wt(0);if((i||!i&&n!=="fixed")&&((At(o)!=="body"||Hr(a))&&(s=mo(o)),tt(o))){let f=go(o);c=Vr(o),p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+p.x,y:e.y*c.y-s.scrollTop*c.y+p.y}}function Zp(t){return Array.from(t.getClientRects())}function gc(t){return go(Rt(t)).left+mo(t).scrollLeft}function qp(t){let e=Rt(t),o=mo(t),n=t.ownerDocument.body,i=Kt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Kt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+gc(t),c=-o.scrollTop;return Ue(n).direction==="rtl"&&(s+=Kt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Yp(t,e){let o=ke(t),n=Rt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let f=ln();(!f||f&&e==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Xp(t,e){let o=go(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=tt(t)?Vr(t):wt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,p=i*a.x,f=n*a.y;return{width:s,height:c,x:p,y:f}}function fc(t,e,o){let n;if(e==="viewport")n=Yp(t,o);else if(e==="document")n=qp(Rt(t));else if(gt(e))n=Xp(e,o);else{let i=mc(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function bc(t,e){let o=pr(t);return o===e||!gt(o)||yo(o)?!1:Ue(o).position==="fixed"||bc(o,e)}function Qp(t,e){let o=e.get(t);if(o)return o;let n=an(t,[],!1).filter(c=>gt(c)&&At(c)!=="body"),i=null,a=Ue(t).position==="fixed",s=a?pr(t):t;for(;gt(s)&&!yo(s);){let c=Ue(s),p=sn(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Hr(s)&&!p&&bc(t,s))?n=n.filter(h=>h!==s):i=c,s=pr(s)}return e.set(t,n),n}function Jp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Qp(e,this._c):[].concat(o),n],c=s[0],p=s.reduce((f,h)=>{let g=fc(e,h,i);return f.top=Kt(g.top,f.top),f.right=uo(g.right,f.right),f.bottom=uo(g.bottom,f.bottom),f.left=Kt(g.left,f.left),f},fc(e,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function ef(t){return hc(t)}function tf(t,e,o){let n=tt(e),i=Rt(e),a=o==="fixed",s=go(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=wt(0);if(n||!n&&!a)if((At(e)!=="body"||Hr(i))&&(c=mo(e)),n){let f=go(e,!0,a,e);p.x=f.x+e.clientLeft,p.y=f.y+e.clientTop}else i&&(p.x=gc(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function uc(t,e){return!tt(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function xc(t,e){let o=ke(t);if(!tt(t))return o;let n=uc(t,e);for(;n&&cc(n)&&Ue(n).position==="static";)n=uc(n,e);return n&&(At(n)==="html"||At(n)==="body"&&Ue(n).position==="static"&&!sn(n))?o:n||dc(t)||o}var rf=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||xc,a=this.getDimensions;return{reference:tf(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function of(t){return Ue(t).direction==="rtl"}var cn={convertOffsetParentRelativeRectToViewportRelativeRect:Kp,getDocumentElement:Rt,getClippingRect:Jp,getOffsetParent:xc,getElementRects:rf,getClientRects:Zp,getDimensions:ef,getScale:Vr,isElement:gt,isRTL:of};var vc=(t,e,o)=>{let n=new Map,i={platform:cn,...o},a={...i.platform,_c:n};return ac(t,e,{...i,platform:a})};function Sc(t){return nf(t)}function ki(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function nf(t){for(let e=t;e;e=ki(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ki(t);e;e=ki(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Oc(t,e,o){return vc(t,e,{platform:{...cn,getOffsetParent:n=>cn.getOffsetParent(n,Sc)},middleware:[Pi({crossAxis:!0}),Ti({allowedPlacements:[o]})]})}var _e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends bo.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 bo.Debouncer,this.revealDebouncer=new bo.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Cc.html`
541
541
  <div part="container"
542
542
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
543
543
  @mouseenter=${this.onHover}
@@ -555,16 +555,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
555
555
  </div>
556
556
  </div>
557
557
  </div>
558
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Sc(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};Q.elementDefinitions={"ft-typography":Z};Q.styles=Ql;_e([(0,ce.property)()],Q.prototype,"text",void 0);_e([(0,ce.property)({type:Boolean})],Q.prototype,"manual",void 0);_e([(0,ce.property)({type:Boolean})],Q.prototype,"inline",void 0);_e([(0,ce.property)({type:Number})],Q.prototype,"delay",void 0);_e([(0,ce.property)()],Q.prototype,"position",void 0);_e([(0,ce.queryAssignedNodes)()],Q.prototype,"slotNodes",void 0);_e([(0,ce.query)(".ft-tooltip--container")],Q.prototype,"container",void 0);_e([(0,ce.query)(".ft-tooltip")],Q.prototype,"tooltip",void 0);_e([(0,ce.query)(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);_e([(0,ce.state)()],Q.prototype,"visible",void 0);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onTouch",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onHover",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onOut",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onClick",null);(0,Cc.customElement)("ft-tooltip")(Q);var Ac=y(R());var Ec=y(k()),wc=y(R());var fr=class extends wc.FtLitElement{render(){return Ec.html`
558
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Oc(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};Q.elementDefinitions={"ft-typography":Z};Q.styles=Jl;_e([(0,ce.property)()],Q.prototype,"text",void 0);_e([(0,ce.property)({type:Boolean})],Q.prototype,"manual",void 0);_e([(0,ce.property)({type:Boolean})],Q.prototype,"inline",void 0);_e([(0,ce.property)({type:Number})],Q.prototype,"delay",void 0);_e([(0,ce.property)()],Q.prototype,"position",void 0);_e([(0,ce.queryAssignedNodes)()],Q.prototype,"slotNodes",void 0);_e([(0,ce.query)(".ft-tooltip--container")],Q.prototype,"container",void 0);_e([(0,ce.query)(".ft-tooltip")],Q.prototype,"tooltip",void 0);_e([(0,ce.query)(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);_e([(0,ce.state)()],Q.prototype,"visible",void 0);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onTouch",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onHover",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onOut",null);_e([(0,ce.eventOptions)({passive:!0})],Q.prototype,"onClick",null);(0,Ec.customElement)("ft-tooltip")(Q);var Rc=m(R());var wc=m(k()),Ac=m(R());var fr=class extends Ac.FtLitElement{render(){return wc.html`
559
559
  <div class="ft-loader">
560
560
  <div></div>
561
561
  <div></div>
562
562
  <div></div>
563
563
  <div></div>
564
564
  </div>
565
- `}};fr.styles=Gl;(0,Ac.customElement)("ft-loader")(fr);var jr=y(k()),Rc=y(Vt()),Oe=y(j()),$e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends(0,Gr.toFtFormComponent)(Gr.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(jr.html`
565
+ `}};fr.styles=Kl;(0,Rc.customElement)("ft-loader")(fr);var jr=m(k()),Nc=m(Vt()),Oe=m(j()),$e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends(0,Gr.toFtFormComponent)(Gr.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(jr.html`
566
566
  <button part="button"
567
- class="${(0,Rc.classMap)(this.buttonClasses)}"
567
+ class="${(0,Nc.classMap)(this.buttonClasses)}"
568
568
  aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
569
569
  ?disabled=${this.isDisabled()}>
570
570
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -588,7 +588,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
588
588
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
589
589
  `:jr.html`
590
590
  <slot part="icon" name="icon"></slot>
591
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};oe.elementDefinitions={"ft-ripple":H,"ft-tooltip":Q,"ft-typography":Z,"ft-icon":ue,"ft-loader":fr};$e([(0,Oe.property)({type:String,reflect:!0})],oe.prototype,"role",void 0);$e([(0,Oe.property)()],oe.prototype,"type",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"disabled",void 0);$e([(0,Oe.property)()],oe.prototype,"label",void 0);$e([(0,Oe.property)()],oe.prototype,"icon",void 0);$e([(0,Oe.property)()],oe.prototype,"iconVariant",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"trailingIcon",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"loading",void 0);$e([(0,Oe.property)({attribute:"aria-label"})],oe.prototype,"ariaLabel",void 0);$e([(0,Oe.property)()],oe.prototype,"tooltipPosition",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"hideTooltip",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"forceTooltip",void 0);$e([(0,Oe.query)(".ft-button")],oe.prototype,"button",void 0);$e([(0,Oe.query)(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);var dn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ve=class extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ve.styles=[Nc.safariEllipsisFix,Yl];dn([(0,xo.property)({type:Boolean})],ve.prototype,"primary",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"outlined",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"dense",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"round",void 0);var vo=y(j());var fn=y(R());var Lc=y(k()),C=y(R());var Ic=[Lc.css`
591
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};oe.elementDefinitions={"ft-ripple":H,"ft-tooltip":Q,"ft-typography":Z,"ft-icon":ue,"ft-loader":fr};$e([(0,Oe.property)({type:String,reflect:!0})],oe.prototype,"role",void 0);$e([(0,Oe.property)()],oe.prototype,"type",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"disabled",void 0);$e([(0,Oe.property)()],oe.prototype,"label",void 0);$e([(0,Oe.property)()],oe.prototype,"icon",void 0);$e([(0,Oe.property)()],oe.prototype,"iconVariant",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"trailingIcon",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"loading",void 0);$e([(0,Oe.property)({attribute:"aria-label"})],oe.prototype,"ariaLabel",void 0);$e([(0,Oe.property)()],oe.prototype,"tooltipPosition",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"hideTooltip",void 0);$e([(0,Oe.property)({type:Boolean})],oe.prototype,"forceTooltip",void 0);$e([(0,Oe.query)(".ft-button")],oe.prototype,"button",void 0);$e([(0,Oe.query)(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);var dn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ve=class extends oe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ve.styles=[Lc.safariEllipsisFix,Xl];dn([(0,xo.property)({type:Boolean})],ve.prototype,"primary",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"outlined",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"dense",void 0);dn([(0,xo.property)({type:Boolean})],ve.prototype,"round",void 0);var vo=m(j());var fn=m(R());var Ic=m(k()),C=m(R());var Tc=[Ic.css`
592
592
  :host {
593
593
  display: inline-block;
594
594
  max-width: 100%;
@@ -1053,7 +1053,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1053
1053
  .ftds--size-small.ft-button--icon-only {
1054
1054
  width: ${u.smallIconOnlyWidth};
1055
1055
  }
1056
- `,C.noTextSelect];var pn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},rt=class extends(0,fn.toFtdsBase)(oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Jo.brand,this.iconVariant=Ye.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ae.large:return Ze.body2medium;case Ae.medium:return Ze.caption1medium;case Ae.small:return Ze.caption2medium}}};rt.styles=[fn.safariEllipsisFix,Ic];pn([(0,vo.property)({type:Boolean})],rt.prototype,"primary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"secondary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"tertiary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"round",void 0);(0,_i.customElement)("ft-button")(ve);(0,_i.customElement)("ftds-button")(rt);var Tc=F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnSurface),Xe={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorSurface),color:Tc,fontSize:F.FtCssVariableFactory.extend("--ft-chip-font-size","",xe.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:F.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:F.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Tc),horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},Pc=F.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnPrimary)),$i={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorPrimary)),color:Pc,rippleColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Pc)},kc={horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},_c=[F.noTextSelect,un.css`
1056
+ `,C.noTextSelect];var pn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},rt=class extends(0,fn.toFtdsBase)(oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Jo.brand,this.iconVariant=Ye.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ae.large:return Ze.body2medium;case Ae.medium:return Ze.caption1medium;case Ae.small:return Ze.caption2medium}}};rt.styles=[fn.safariEllipsisFix,Tc];pn([(0,vo.property)({type:Boolean})],rt.prototype,"primary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"secondary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"tertiary",void 0);pn([(0,vo.property)({type:Boolean})],rt.prototype,"round",void 0);(0,_i.customElement)("ft-button")(ve);(0,_i.customElement)("ftds-button")(rt);var Pc=F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnSurface),Xe={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorSurface),color:Pc,fontSize:F.FtCssVariableFactory.extend("--ft-chip-font-size","",xe.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:F.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:F.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Pc),horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:F.FtCssVariableFactory.extend("--ft-chip-border-color","",F.designSystemVariables.colorOutline),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},kc=F.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",F.FtCssVariableFactory.extend("--ft-chip-color","",F.designSystemVariables.colorOnPrimary)),$i={backgroundColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",F.FtCssVariableFactory.extend("--ft-chip-background-color","",F.designSystemVariables.colorPrimary)),color:kc,rippleColor:F.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",kc)},_c={horizontalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:F.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},$c=[F.noTextSelect,un.css`
1057
1057
  :host {
1058
1058
  display: inline-block;
1059
1059
  max-width: 100%;
@@ -1077,7 +1077,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1077
1077
  --ft-chip-internal-icon-padding: 3px;
1078
1078
  --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Xe.iconSize});
1079
1079
 
1080
- border: 1px solid ${Xe.colorOutline};
1080
+ border: 1px solid ${Xe.borderColor};
1081
1081
  color: ${Xe.color};
1082
1082
  ${(0,F.setVariable)(E.color,Xe.rippleColor)};
1083
1083
  border-radius: var(${(0,un.unsafeCSS)(Xe.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
@@ -1092,8 +1092,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1092
1092
 
1093
1093
  .ft-chip--dense {
1094
1094
  --ft-chip-internal-icon-padding: 3px;
1095
- --ft-chip-internal-vertical-padding: ${kc.verticalPadding};
1096
- --ft-chip-internal-horizontal-padding: ${kc.horizontalPadding};
1095
+ --ft-chip-internal-vertical-padding: ${_c.verticalPadding};
1096
+ --ft-chip-internal-horizontal-padding: ${_c.horizontalPadding};
1097
1097
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1098
1098
  }
1099
1099
 
@@ -1118,11 +1118,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1118
1118
 
1119
1119
  .ft-chip--clickable {
1120
1120
  cursor: pointer;
1121
- -webkit-mask-image: radial-gradient(white, black);
1121
+ overflow: hidden
1122
1122
  }
1123
1123
 
1124
1124
  .ft-chip:focus {
1125
- outline: none;
1125
+ outline: 2px solid var(--ft-color-primary, #2196F3);
1126
+ outline-offset: 2px;
1126
1127
  }
1127
1128
 
1128
1129
  .ft-chip--icon-container {
@@ -1191,7 +1192,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1191
1192
  order: -1;
1192
1193
  }
1193
1194
  `];var ze=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},yn=class extends CustomEvent{constructor(){super("icon-click")}},ne=class extends mn.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":mn.isSafari};return hn.html`
1194
- <div class="${(0,$c.classMap)(e)}"
1195
+ <div class="${(0,Dc.classMap)(e)}"
1195
1196
  aria-label="${this.getLabel()}"
1196
1197
  tabindex="${this.interactionsOnChip?0:-1}"
1197
1198
  @keyup=${this.onKeyUp}
@@ -1216,7 +1217,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1216
1217
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1217
1218
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1218
1219
  </div>
1219
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new yn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new yn))}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ne.elementDefinitions={"ft-ripple":H,"ft-typography":Z,"ft-icon":ue,"ft-button":ve};ne.styles=_c;ze([(0,Re.property)({type:Boolean})],ne.prototype,"highlighted",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"removable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"disabled",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"clickable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"iconClickable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"dense",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"multiLine",void 0);ze([(0,Re.property)()],ne.prototype,"label",void 0);ze([(0,Re.property)()],ne.prototype,"iconLabel",void 0);ze([(0,Re.property)()],ne.prototype,"icon",void 0);ze([(0,Re.property)()],ne.prototype,"iconVariant",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"trailingIcon",void 0);ze([(0,Re.query)("ft-typography slot")],ne.prototype,"slottedContent",void 0);var ur=y(k()),hr=y(j()),Fc=y(Vt()),gn=y(R());var Dc=y(k());var Di=y(R());var Bc=[Dc.css`
1220
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new yn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new yn))}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ne.elementDefinitions={"ft-ripple":H,"ft-typography":Z,"ft-icon":ue,"ft-button":ve};ne.styles=$c;ze([(0,Re.property)({type:Boolean})],ne.prototype,"highlighted",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"removable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"disabled",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"clickable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"iconClickable",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"dense",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"multiLine",void 0);ze([(0,Re.property)()],ne.prototype,"label",void 0);ze([(0,Re.property)()],ne.prototype,"iconLabel",void 0);ze([(0,Re.property)()],ne.prototype,"icon",void 0);ze([(0,Re.property)()],ne.prototype,"iconVariant",void 0);ze([(0,Re.property)({type:Boolean})],ne.prototype,"trailingIcon",void 0);ze([(0,Re.query)("ft-typography slot")],ne.prototype,"slottedContent",void 0);var ur=m(k()),hr=m(j()),Mc=m(Vt()),gn=m(R());var Bc=m(k());var Di=m(R());var Fc=[Bc.css`
1220
1221
  :host {
1221
1222
  display: inline-block;
1222
1223
  max-width: 100%;
@@ -1323,7 +1324,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1323
1324
  color: ${M.errorIconColor};
1324
1325
  }
1325
1326
  `];var So=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Bi=class extends CustomEvent{constructor(){super("remove")}},ot=class extends gn.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return ur.html`
1326
- <div class="${(0,Fc.classMap)(e)}"
1327
+ <div class="${(0,Mc.classMap)(e)}"
1327
1328
  aria-label="${this.getLabel()}"
1328
1329
  part="chip">
1329
1330
  ${this.renderIcon()}
@@ -1346,16 +1347,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1346
1347
  size=${this.resolveButtonSize()}
1347
1348
  part="icon-button"
1348
1349
  ></ftds-button>
1349
- `:ur.nothing}resolveButtonSize(){switch(this.size){case Ae.large:return Ae.medium;case Ae.medium:case Ae.small:return Ae.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Bi)}typographyVariant(){switch(this.size){case Ae.large:return Ze.body2medium;case Ae.medium:return Ze.caption1medium;case Ae.small:return Ze.caption2medium}}};ot.elementDefinitions={"ft-typography":Z,"ft-icon":ue,"ftds-button":rt};ot.styles=Bc;So([(0,hr.property)({type:Boolean})],ot.prototype,"removable",void 0);So([(0,hr.property)()],ot.prototype,"removeButtonLabel",void 0);So([(0,hr.property)()],ot.prototype,"label",void 0);So([(0,hr.property)()],ot.prototype,"icon",void 0);So([(0,hr.query)("ft-typography slot")],ot.prototype,"slottedContent",void 0);(0,Fi.customElement)("ft-chip")(ne);(0,Fi.customElement)("ftds-chip")(ot);var Hc=y(R());var Sn=y(k()),On=y(j()),Cn=y(R());var Mc=y(k());var Uc=Mc.css`
1350
- `;var vn=y(R());var Wc=y(j()),nf=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Mi=Symbol("i18nAttributes"),bn=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function qt(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ra:or}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let p=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var a,s;(a=this[Mi])===null||a===void 0||a.forEach((c,p)=>{var f;let m=this.getI18nAttributeValue(p);((f=m?.context)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(p,m,c)}),(s=this[bn])===null||s===void 0||s.forEach((c,p)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[p]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Mi])===null||a===void 0||a.forEach((c,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(i.has(p)||c.argsProvider!=null)&&(i.has(p)&&this.addI18nContext(f.context),this.updateI18nAttributeMessage(p,f,c))}),(s=this[bn])===null||s===void 0||s.forEach((c,p)=>{c.argsProvider!=null&&(this[p]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[bn])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[Mi])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(i,a){i=i.toLowerCase(),this[Oo].has(i)||this[Oo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(i=>i()),this[Oo].clear()}}return e=Oo,nf([(0,Wc.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var zc=class extends qt(vn.FtLitElement){},xn=class extends qt(vn.FtLitElementRedux){};var Co=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nt=class extends xn{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Sn.nothing:Sn.html`
1350
+ `:ur.nothing}resolveButtonSize(){switch(this.size){case Ae.large:return Ae.medium;case Ae.medium:case Ae.small:return Ae.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Bi)}typographyVariant(){switch(this.size){case Ae.large:return Ze.body2medium;case Ae.medium:return Ze.caption1medium;case Ae.small:return Ze.caption2medium}}};ot.elementDefinitions={"ft-typography":Z,"ft-icon":ue,"ftds-button":rt};ot.styles=Fc;So([(0,hr.property)({type:Boolean})],ot.prototype,"removable",void 0);So([(0,hr.property)()],ot.prototype,"removeButtonLabel",void 0);So([(0,hr.property)()],ot.prototype,"label",void 0);So([(0,hr.property)()],ot.prototype,"icon",void 0);So([(0,hr.query)("ft-typography slot")],ot.prototype,"slottedContent",void 0);(0,Fi.customElement)("ft-chip")(ne);(0,Fi.customElement)("ftds-chip")(ot);var Vc=m(R());var Sn=m(k()),On=m(j()),Cn=m(R());var Uc=m(k());var zc=Uc.css`
1351
+ `;var vn=m(R());var Hc=m(j()),af=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Mi=Symbol("i18nAttributes"),Ui=Symbol("i18nListAttributes"),bn=Symbol("i18nProperties"),Oo=Symbol("i18nUnsubs");function qt(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Na:or}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let p=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var a,s,c;(a=this[Mi])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h&&(this[f]=this.getI18nAttributeMessage(h,p,i))}),(s=this[Ui])===null||s===void 0||s.forEach((p,f)=>{let h=this.getI18nListAttributeValues(f);this[f]=h?.map(g=>this.getI18nAttributeMessage(g,p,i))}),(c=this[bn])===null||c===void 0||c.forEach((p,f)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[f]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,a){return{...i,message:this.i18n({context:i.context,key:i.key,...a})}}getI18nAttributeMessage(i,a,s){var c;let p=!s||((c=i.context)===null||c===void 0?void 0:c.toLowerCase())===s.toLowerCase();return i.context&&i.key&&p?this.buildI18nAttributeMessage(i,a):i}update(i){var a,s,c;super.update(i),(a=this[Mi])===null||a===void 0||a.forEach((p,f)=>{let h=this.getI18nAttributeValue(f);h?.context&&h.key&&(i.has(f)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,i,f),this[f]=this.getI18nAttributeMessage(h,p))}),(s=this[Ui])===null||s===void 0||s.forEach((p,f)=>{let h=this.getI18nListAttributeValues(f);(i.has(f)||p.argsProvider!=null)&&(this[f]=h?.map(g=>(this.addI18nContextIfNeeded(g,i,f),this.getI18nAttributeMessage(g,p))))}),(c=this[bn])===null||c===void 0||c.forEach((p,f)=>{p.argsProvider!=null&&(this[f]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,a,s){i.context&&i.key&&a.has(s)&&this.addI18nContext(i.context)}connectedCallback(){var i,a,s,c,p,f;super.connectedCallback(),new Set([...(a=(i=this[bn])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[Mi])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(h=>this.getI18nAttributeValue(h)),...[...(f=(p=this[Ui])===null||p===void 0?void 0:p.keys())!==null&&f!==void 0?f:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(i,a){i=i.toLowerCase(),this[Oo].has(i)||this[Oo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Oo].forEach(i=>i()),this[Oo].clear()}}return e=Oo,af([(0,Hc.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Wc=class extends qt(vn.FtLitElement){},xn=class extends qt(vn.FtLitElementRedux){};var Co=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nt=class extends xn{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Sn.nothing:Sn.html`
1351
1352
  <span class="ft-i18n">
1352
1353
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1353
1354
  </span>
1354
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};nt.elementDefinitions={};nt.styles=Uc;Co([(0,Cn.redux)()],nt.prototype,"editorMode",void 0);Co([(0,On.property)()],nt.prototype,"context",void 0);Co([(0,On.property)()],nt.prototype,"key",void 0);Co([(0,Cn.jsonProperty)([])],nt.prototype,"args",void 0);Co([(0,On.property)()],nt.prototype,"defaultMessage",void 0);var Kr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>or.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>or.resolveRawMessage(this.name,n)})}};(0,Hc.customElement)("ft-i18n")(nt);var Kc=y(R());var Gc=y(k()),Nt=y(j()),it=y(R());var Vc=y(k());var jc=Vc.css`
1355
- `;var Ne=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ui=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},zi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Wi=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},ie=class extends it.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=oo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(_)}render(){return Gc.html`
1355
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};nt.elementDefinitions={};nt.styles=zc;Co([(0,Cn.redux)()],nt.prototype,"editorMode",void 0);Co([(0,On.property)()],nt.prototype,"context",void 0);Co([(0,On.property)()],nt.prototype,"key",void 0);Co([(0,Cn.jsonProperty)([])],nt.prototype,"args",void 0);Co([(0,On.property)()],nt.prototype,"defaultMessage",void 0);var Kr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>or.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>or.resolveRawMessage(this.name,n)})}};(0,Vc.customElement)("ft-i18n")(nt);var Zc=m(R());var Kc=m(k()),Nt=m(j()),it=m(R());var jc=m(k());var Gc=jc.css`
1356
+ `;var Ne=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},zi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Wi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Hi=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},ie=class extends it.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=oo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(_)}render(){return Kc.html`
1356
1357
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1357
- `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new zi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Ui(e))}reloadSavedSearches(){gs.clearMySearches()}clear(){this.stateManager.clear()}};ie.elementDefinitions={};ie.styles=jc;Ne([(0,it.redux)({store:_.name})],ie.prototype,"session",void 0);Ne([(0,Nt.property)()],ie.prototype,"query",void 0);Ne([(0,Nt.property)()],ie.prototype,"contentLocale",void 0);Ne([(0,Nt.property)({type:Number})],ie.prototype,"pageSize",void 0);Ne([(0,Nt.property)({type:Boolean})],ie.prototype,"searchInDocumentTitlesOnly",void 0);Ne([(0,Nt.property)()],ie.prototype,"scope",void 0);Ne([(0,Nt.property)()],ie.prototype,"virtualField",void 0);Ne([(0,Nt.property)({type:Boolean})],ie.prototype,"ignoreEmptyQuery",void 0);Ne([(0,it.redux)({store:_.name})],ie.prototype,"openExternalDocumentInNewTab",void 0);Ne([(0,it.jsonProperty)([])],ie.prototype,"filters",void 0);Ne([(0,it.jsonProperty)([])],ie.prototype,"sort",void 0);Ne([(0,it.redux)({store:"search"})],ie.prototype,"request",void 0);Ne([(0,it.redux)({store:"search"})],ie.prototype,"paging",void 0);Ne([(0,it.redux)({store:"search",selector:t=>t.spellcheck})],ie.prototype,"autocorrect",void 0);Ne([(0,Nt.property)({attribute:!1})],ie.prototype,"searchServiceProvider",void 0);(0,Kc.customElement)("ft-search-context")(ie);var Ad=y(R());var Cd=y(k()),Ed=y(R());var Zc=y(k());var qc=Zc.css`
1358
- `;var Gi=y(R());var br=y(k()),K=y(j()),Qe=y(R());var Ve=y(k()),he=y(j()),ud=y(Pn()),An=y(R());var td=y(R());var Qc=y(k()),It=y(j()),Jc=y(R()),ed=y(Vt());var We=y(R()),Yc=y(k());var Lt={textColor:We.FtCssVariableFactory.extend("--ft-checkbox-text-color","",We.designSystemVariables.colorOnSurfaceHigh),fontSize:We.FtCssVariableFactory.extend("--ft-checkbox-font-size","",N.fontSize),colorPrimary:We.FtCssVariableFactory.external(We.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:We.FtCssVariableFactory.external(We.designSystemVariables.colorOnPrimary,"Design system"),borderColor:We.FtCssVariableFactory.extend("--ft-checkbox-border-color","",We.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:We.FtCssVariableFactory.external(We.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Xc=Yc.css`
1358
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Wi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Hi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new zi(e))}reloadSavedSearches(){bs.clearMySearches()}clear(){this.stateManager.clear()}};ie.elementDefinitions={};ie.styles=Gc;Ne([(0,it.redux)({store:_.name})],ie.prototype,"session",void 0);Ne([(0,Nt.property)()],ie.prototype,"query",void 0);Ne([(0,Nt.property)()],ie.prototype,"contentLocale",void 0);Ne([(0,Nt.property)({type:Number})],ie.prototype,"pageSize",void 0);Ne([(0,Nt.property)({type:Boolean})],ie.prototype,"searchInDocumentTitlesOnly",void 0);Ne([(0,Nt.property)()],ie.prototype,"scope",void 0);Ne([(0,Nt.property)()],ie.prototype,"virtualField",void 0);Ne([(0,Nt.property)({type:Boolean})],ie.prototype,"ignoreEmptyQuery",void 0);Ne([(0,it.redux)({store:_.name})],ie.prototype,"openExternalDocumentInNewTab",void 0);Ne([(0,it.jsonProperty)([])],ie.prototype,"filters",void 0);Ne([(0,it.jsonProperty)([])],ie.prototype,"sort",void 0);Ne([(0,it.redux)({store:"search"})],ie.prototype,"request",void 0);Ne([(0,it.redux)({store:"search"})],ie.prototype,"paging",void 0);Ne([(0,it.redux)({store:"search",selector:t=>t.spellcheck})],ie.prototype,"autocorrect",void 0);Ne([(0,Nt.property)({attribute:!1})],ie.prototype,"searchServiceProvider",void 0);(0,Zc.customElement)("ft-search-context")(ie);var Rd=m(R());var Ed=m(k()),wd=m(R());var qc=m(k());var Yc=qc.css`
1359
+ `;var Ki=m(R());var br=m(k()),K=m(j()),Qe=m(R());var Ve=m(k()),he=m(j()),hd=m(Pn()),An=m(R());var rd=m(R());var Jc=m(k()),It=m(j()),ed=m(R()),td=m(Vt());var We=m(R()),Xc=m(k());var Lt={textColor:We.FtCssVariableFactory.extend("--ft-checkbox-text-color","",We.designSystemVariables.colorOnSurfaceHigh),fontSize:We.FtCssVariableFactory.extend("--ft-checkbox-font-size","",N.fontSize),colorPrimary:We.FtCssVariableFactory.external(We.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:We.FtCssVariableFactory.external(We.designSystemVariables.colorOnPrimary,"Design system"),borderColor:We.FtCssVariableFactory.extend("--ft-checkbox-border-color","",We.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:We.FtCssVariableFactory.external(We.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Qc=Xc.css`
1359
1360
  * {
1360
1361
  box-sizing: border-box;
1361
1362
  }
@@ -1433,8 +1434,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1433
1434
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1434
1435
  opacity: 1;
1435
1436
  }
1436
- `;var yr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends Jc.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Qc.html`
1437
- <label class="${(0,ed.classMap)(e)}" for="checkbox-input">
1437
+ `;var yr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends ed.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Jc.html`
1438
+ <label class="${(0,td.classMap)(e)}" for="checkbox-input">
1438
1439
  <div class="ft-checkbox--box-container">
1439
1440
  <ft-ripple
1440
1441
  ?disabled=${this.disabled}
@@ -1460,7 +1461,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1460
1461
  <slot></slot>
1461
1462
  </ft-typography>
1462
1463
  </label>
1463
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};Le.elementDefinitions={"ft-ripple":H,"ft-typography":Z};Le.styles=Xc;yr([(0,It.property)()],Le.prototype,"name",void 0);yr([(0,It.property)({type:Boolean,reflect:!0})],Le.prototype,"checked",void 0);yr([(0,It.property)({type:Boolean})],Le.prototype,"indeterminate",void 0);yr([(0,It.property)({type:Boolean})],Le.prototype,"disabled",void 0);yr([(0,It.query)(".ft-checkbox")],Le.prototype,"container",void 0);yr([(0,It.query)("ft-ripple")],Le.prototype,"ripple",void 0);yr([(0,It.query)("input")],Le.prototype,"input",void 0);(0,td.customElement)("ft-checkbox")(Le);var Hi=y(R());var nd=y(k()),at=y(j()),id=y(R()),ad=y(Vt());var rd=y(k()),He=y(R()),mr={textColor:He.FtCssVariableFactory.extend("--ft-radio-text-color","",He.designSystemVariables.colorOnSurfaceHigh),colorPrimary:He.FtCssVariableFactory.external(He.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:He.FtCssVariableFactory.external(He.designSystemVariables.colorOnPrimary,"Design system"),borderColor:He.FtCssVariableFactory.extend("--ft-radio-border-color","",He.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:He.FtCssVariableFactory.external(He.designSystemVariables.colorOnSurfaceDisabled,"Design system")},od=rd.css`
1464
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};Le.elementDefinitions={"ft-ripple":H,"ft-typography":Z};Le.styles=Qc;yr([(0,It.property)()],Le.prototype,"name",void 0);yr([(0,It.property)({type:Boolean,reflect:!0})],Le.prototype,"checked",void 0);yr([(0,It.property)({type:Boolean})],Le.prototype,"indeterminate",void 0);yr([(0,It.property)({type:Boolean})],Le.prototype,"disabled",void 0);yr([(0,It.query)(".ft-checkbox")],Le.prototype,"container",void 0);yr([(0,It.query)("ft-ripple")],Le.prototype,"ripple",void 0);yr([(0,It.query)("input")],Le.prototype,"input",void 0);(0,rd.customElement)("ft-checkbox")(Le);var Vi=m(R());var id=m(k()),at=m(j()),ad=m(R()),sd=m(Vt());var od=m(k()),He=m(R()),mr={textColor:He.FtCssVariableFactory.extend("--ft-radio-text-color","",He.designSystemVariables.colorOnSurfaceHigh),colorPrimary:He.FtCssVariableFactory.external(He.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:He.FtCssVariableFactory.external(He.designSystemVariables.colorOnPrimary,"Design system"),borderColor:He.FtCssVariableFactory.extend("--ft-radio-border-color","",He.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:He.FtCssVariableFactory.external(He.designSystemVariables.colorOnSurfaceDisabled,"Design system")},nd=od.css`
1464
1465
  * {
1465
1466
  box-sizing: border-box;
1466
1467
  }
@@ -1548,8 +1549,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1548
1549
  .ft-radio ft-typography {
1549
1550
  padding-right: 2px;
1550
1551
  }
1551
- `;var Tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},En=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},de=class extends id.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return nd.html`
1552
- <div class="${(0,ad.classMap)(e)}">
1552
+ `;var Tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},En=class extends CustomEvent{constructor(e,o){super("change",{detail:{value:e,checked:o},bubbles:!0,composed:!0})}},de=class extends ad.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return id.html`
1553
+ <div class="${(0,sd.classMap)(e)}">
1553
1554
  <div class="ft-radio--box-container">
1554
1555
  <ft-ripple
1555
1556
  ?disabled=${this.disabled}
@@ -1573,7 +1574,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1573
1574
  </ft-typography>
1574
1575
  </label>
1575
1576
  </div>
1576
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new En(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new En(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};de.elementDefinitions={"ft-ripple":H,"ft-typography":Z};de.styles=od;Tt([(0,at.property)()],de.prototype,"value",void 0);Tt([(0,at.property)()],de.prototype,"name",void 0);Tt([(0,at.property)({type:Boolean,reflect:!0})],de.prototype,"checked",void 0);Tt([(0,at.property)({attribute:"aria-checked",reflect:!0})],de.prototype,"ariaChecked",void 0);Tt([(0,at.property)({type:Boolean})],de.prototype,"disabled",void 0);Tt([(0,at.property)({reflect:!0,attribute:"role"})],de.prototype,"role",void 0);Tt([(0,at.query)(".ft-radio")],de.prototype,"container",void 0);Tt([(0,at.query)("ft-ripple")],de.prototype,"ripple",void 0);Tt([(0,at.query)("input")],de.prototype,"input",void 0);var cd=y(R()),Pt=y(j()),dd=y(k());var sd=y(k());var ld=sd.css`
1577
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new En(this.value,this.checked))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new En(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};de.elementDefinitions={"ft-ripple":H,"ft-typography":Z};de.styles=nd;Tt([(0,at.property)()],de.prototype,"value",void 0);Tt([(0,at.property)()],de.prototype,"name",void 0);Tt([(0,at.property)({type:Boolean,reflect:!0})],de.prototype,"checked",void 0);Tt([(0,at.property)({attribute:"aria-checked",reflect:!0})],de.prototype,"ariaChecked",void 0);Tt([(0,at.property)({type:Boolean})],de.prototype,"disabled",void 0);Tt([(0,at.property)({reflect:!0,attribute:"role"})],de.prototype,"role",void 0);Tt([(0,at.query)(".ft-radio")],de.prototype,"container",void 0);Tt([(0,at.query)("ft-ripple")],de.prototype,"ripple",void 0);Tt([(0,at.query)("input")],de.prototype,"input",void 0);var dd=m(R()),Pt=m(j()),pd=m(k());var ld=m(k());var cd=ld.css`
1577
1578
  :host {
1578
1579
  display: block;
1579
1580
  }
@@ -1581,12 +1582,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1581
1582
  :host(:focus-visible) {
1582
1583
  outline: none;
1583
1584
  }
1584
- `;var Zr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},De=class extends cd.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return dd.html`
1585
+ `;var Zr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},De=class extends dd.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return pd.html`
1585
1586
  <slot @slotchange=${this.onSlotChange}
1586
1587
  @change=${this.onChange}
1587
1588
  @keydown=${this.onKeyDown}
1588
1589
  ></slot>
1589
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};De.elementDefinitions={};De.styles=ld;Zr([(0,Pt.property)()],De.prototype,"name",void 0);Zr([(0,Pt.property)({reflect:!0,attribute:"role"})],De.prototype,"role",void 0);Zr([(0,Pt.property)({reflect:!0})],De.prototype,"tabIndex",void 0);Zr([(0,Pt.property)({reflect:!0,attribute:"aria-labelledby"})],De.prototype,"ariaLabelledBy",void 0);Zr([(0,Pt.queryAssignedElements)()],De.prototype,"radioButtons",void 0);Zr([(0,Pt.state)()],De.prototype,"currentSelectedIndex",void 0);(0,Hi.customElement)("ft-radio")(de);(0,Hi.customElement)("ft-radio-group")(De);var pd=y(k()),J=y(R());var wn={borderRadiusM:J.FtCssVariableFactory.external(J.designSystemVariables.borderRadiusM,"Design system"),colorOutline:J.FtCssVariableFactory.external(J.designSystemVariables.colorOutline,"Design system"),colorOnSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:J.FtCssVariableFactory.external(xe.fontFamily,"Body2 typography"),fontSize:J.FtCssVariableFactory.external(xe.fontSize,"Body2 typography"),fontWeight:J.FtCssVariableFactory.external(xe.fontWeight,"Body2 typography"),letterSpacing:J.FtCssVariableFactory.external(xe.letterSpacing,"Body2 typography"),lineHeight:J.FtCssVariableFactory.external(xe.lineHeight,"Body2 typography"),textTransform:J.FtCssVariableFactory.external(xe.textTransform,"Body2 typography")},fd=pd.css`
1590
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(o=>o.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(o=>o.checked=e.detail.value===o.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let o=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{o=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{o=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}o&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(o=>o.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};De.elementDefinitions={};De.styles=cd;Zr([(0,Pt.property)()],De.prototype,"name",void 0);Zr([(0,Pt.property)({reflect:!0,attribute:"role"})],De.prototype,"role",void 0);Zr([(0,Pt.property)({reflect:!0})],De.prototype,"tabIndex",void 0);Zr([(0,Pt.property)({reflect:!0,attribute:"aria-labelledby"})],De.prototype,"ariaLabelledBy",void 0);Zr([(0,Pt.queryAssignedElements)()],De.prototype,"radioButtons",void 0);Zr([(0,Pt.state)()],De.prototype,"currentSelectedIndex",void 0);(0,Vi.customElement)("ft-radio")(de);(0,Vi.customElement)("ft-radio-group")(De);var fd=m(k()),J=m(R());var wn={borderRadiusM:J.FtCssVariableFactory.external(J.designSystemVariables.borderRadiusM,"Design system"),colorOutline:J.FtCssVariableFactory.external(J.designSystemVariables.colorOutline,"Design system"),colorOnSurface:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:J.FtCssVariableFactory.external(J.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:J.FtCssVariableFactory.external(xe.fontFamily,"Body2 typography"),fontSize:J.FtCssVariableFactory.external(xe.fontSize,"Body2 typography"),fontWeight:J.FtCssVariableFactory.external(xe.fontWeight,"Body2 typography"),letterSpacing:J.FtCssVariableFactory.external(xe.letterSpacing,"Body2 typography"),lineHeight:J.FtCssVariableFactory.external(xe.lineHeight,"Body2 typography"),textTransform:J.FtCssVariableFactory.external(xe.textTransform,"Body2 typography")},ud=fd.css`
1590
1591
  .ft-filter-level--container {
1591
1592
  display: flex;
1592
1593
  flex-direction: column;
@@ -1673,7 +1674,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1673
1674
  ${this.noValuesLabel}
1674
1675
  </ft-typography>
1675
1676
  `:Ve.nothing}
1676
- ${(0,ud.repeat)(o,n=>n.value,n=>{var i;return Ve.html`
1677
+ ${(0,hd.repeat)(o,n=>n.value,n=>{var i;return Ve.html`
1677
1678
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1678
1679
  ${this.multivalued?this.buildMultiValuedOption(n):this.buildMonoValuedOption(n)}
1679
1680
  ${this.preventNavigation||n.selected||((i=n.subOptions)!==null&&i!==void 0?i:[]).length===0?Ve.nothing:Ve.html`
@@ -1718,7 +1719,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1718
1719
  @change=${o=>this.optionsChanged(o,e)}>
1719
1720
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1720
1721
  </ft-radio>
1721
- `}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ae.elementDefinitions={"ft-button":ve,"ft-ripple":H,"ft-typography":Z,"ft-checkbox":Le,"ft-icon":ue,"ft-radio":de};ae.styles=fd;Ie([(0,he.property)({type:String})],ae.prototype,"filterId",void 0);Ie([(0,he.property)({type:Object})],ae.prototype,"parent",void 0);Ie([(0,he.property)({type:Array})],ae.prototype,"options",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"hideSelectedOptions",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"preventNavigation",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"filter",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ie([(0,he.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ie([(0,he.query)(".ft-filter-level--container")],ae.prototype,"container",void 0);Ie([(0,he.state)()],ae.prototype,"radios",void 0);Ie([(0,he.state)()],ae.prototype,"displayedPages",void 0);var bd=y(R());var md=y(k()),je=y(j()),gr=y(R());var gd=y(Vt());var hd=y(k()),st=y(R());var Yt={buttonsColor:st.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",st.designSystemVariables.colorPrimary),buttonsZIndex:st.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:st.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:st.FtCssVariableFactory.external(st.designSystemVariables.colorSurface,"Design system")},yd=hd.css`
1722
+ `}onRadioKeyDown(e,o){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,o))}optionsChanged(e,o){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ae.elementDefinitions={"ft-button":ve,"ft-ripple":H,"ft-typography":Z,"ft-checkbox":Le,"ft-icon":ue,"ft-radio":de};ae.styles=ud;Ie([(0,he.property)({type:String})],ae.prototype,"filterId",void 0);Ie([(0,he.property)({type:Object})],ae.prototype,"parent",void 0);Ie([(0,he.property)({type:Array})],ae.prototype,"options",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"hideSelectedOptions",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ie([(0,he.property)({type:Boolean})],ae.prototype,"preventNavigation",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"filter",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ie([(0,he.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ie([(0,he.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ie([(0,he.query)(".ft-filter-level--container")],ae.prototype,"container",void 0);Ie([(0,he.state)()],ae.prototype,"radios",void 0);Ie([(0,he.state)()],ae.prototype,"displayedPages",void 0);var xd=m(R());var gd=m(k()),je=m(j()),gr=m(R());var bd=m(Vt());var yd=m(k()),st=m(R());var Yt={buttonsColor:st.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",st.designSystemVariables.colorPrimary),buttonsZIndex:st.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:st.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:st.FtCssVariableFactory.external(st.designSystemVariables.colorSurface,"Design system")},md=yd.css`
1722
1723
  .ft-snap-scroll {
1723
1724
  box-sizing: border-box;
1724
1725
  position: relative;
@@ -1843,7 +1844,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1843
1844
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1844
1845
  background-color: ${Yt.colorSurface};
1845
1846
  }
1846
- `;var bt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Vi=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ye=class extends gr.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new gr.Debouncer(200),this.updateScrollDebouncer=new gr.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let o=this.elements[e];if(o){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<i||o[this.offsetAttribute]+o[this.sizeAttribute]>n)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,gd.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":gr.isSafari}),o=this.controls&&this.withScroll;return md.html`
1847
+ `;var bt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ji=class extends CustomEvent{constructor(e,o){super("current-element-change",{detail:{index:e,element:o}})}},ye=class extends gr.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new gr.Debouncer(200),this.updateScrollDebouncer=new gr.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let o=this.elements[e];if(o){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<i||o[this.offsetAttribute]+o[this.sizeAttribute]>n)&&this.scrollToElement(o)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,bd.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":gr.isSafari}),o=this.controls&&this.withScroll;return gd.html`
1847
1848
  <div part="container" class="${e}">
1848
1849
  <ft-button
1849
1850
  class="ft-snap-scroll--previous"
@@ -1867,7 +1868,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1867
1868
  @click=${this.next}
1868
1869
  ></ft-button>
1869
1870
  </div>
1870
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new Vi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,n;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ye.elementDefinitions={"ft-button":ve};ye.styles=yd;bt([(0,je.property)({type:Boolean})],ye.prototype,"horizontal",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"hideScrollbar",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"controls",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"limitSize",void 0);bt([(0,je.state)()],ye.prototype,"elements",void 0);bt([(0,je.state)()],ye.prototype,"currentElement",void 0);bt([(0,je.state)()],ye.prototype,"withScroll",void 0);bt([(0,je.state)()],ye.prototype,"startReached",void 0);bt([(0,je.state)()],ye.prototype,"endReached",void 0);bt([(0,je.query)(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);(0,bd.customElement)("ft-snap-scroll")(ye);var xd=y(k()),q=y(R());var Be={colorOutline:q.FtCssVariableFactory.external(q.designSystemVariables.colorOutline,"Design system"),colorOnSurface:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:q.FtCssVariableFactory.external(q.designSystemVariables.colorPrimary,"Design system"),colorSurface:q.FtCssVariableFactory.external(q.designSystemVariables.colorSurface,"Design system"),transitionDuration:q.FtCssVariableFactory.external(q.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:q.FtCssVariableFactory.external(q.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:q.FtCssVariableFactory.extend("--ft-filter-label-color","",q.designSystemVariables.colorOnSurface),labelFontSize:q.FtCssVariableFactory.extend("--ft-filter-label-font-size","",N.fontSize,"16px")},vd=[tn,q.noTextInputDefaultClearButton,xd.css`
1871
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ji(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(o=this.listenedContainer)===null||o===void 0||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let o=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var o,n;e&&(this.horizontal?(o=this.contentSlot)===null||o===void 0||o.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,o;this.elements=(o=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&o!==void 0?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let o=0;o<this.elements.length;o++)(e<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[e]))&&(e=o);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let o=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-o)}};ye.elementDefinitions={"ft-button":ve};ye.styles=md;bt([(0,je.property)({type:Boolean})],ye.prototype,"horizontal",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"hideScrollbar",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"controls",void 0);bt([(0,je.property)({type:Boolean})],ye.prototype,"limitSize",void 0);bt([(0,je.state)()],ye.prototype,"elements",void 0);bt([(0,je.state)()],ye.prototype,"currentElement",void 0);bt([(0,je.state)()],ye.prototype,"withScroll",void 0);bt([(0,je.state)()],ye.prototype,"startReached",void 0);bt([(0,je.state)()],ye.prototype,"endReached",void 0);bt([(0,je.query)(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);(0,xd.customElement)("ft-snap-scroll")(ye);var vd=m(k()),q=m(R());var Be={colorOutline:q.FtCssVariableFactory.external(q.designSystemVariables.colorOutline,"Design system"),colorOnSurface:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:q.FtCssVariableFactory.external(q.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:q.FtCssVariableFactory.external(q.designSystemVariables.colorPrimary,"Design system"),colorSurface:q.FtCssVariableFactory.external(q.designSystemVariables.colorSurface,"Design system"),transitionDuration:q.FtCssVariableFactory.external(q.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:q.FtCssVariableFactory.external(q.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:q.FtCssVariableFactory.extend("--ft-filter-label-color","",q.designSystemVariables.colorOnSurface),labelFontSize:q.FtCssVariableFactory.extend("--ft-filter-label-font-size","",N.fontSize,"16px")},Sd=[tn,q.noTextInputDefaultClearButton,vd.css`
1871
1872
  :host {
1872
1873
  display: flex;
1873
1874
  max-height: 100%;
@@ -1984,7 +1985,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1984
1985
  slot:not([name]) {
1985
1986
  display: none;
1986
1987
  }
1987
- `];var ee=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ji=class extends CustomEvent{constructor(e){super("change",{detail:e})}},W=class extends Qe.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Qe.Debouncer(300),this.changeDebouncer=new Qe.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Qe.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,Qe.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return br.html`
1988
+ `];var ee=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Gi=class extends CustomEvent{constructor(e){super("change",{detail:e})}},W=class extends Qe.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new Qe.Debouncer(300),this.changeDebouncer=new Qe.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,Qe.flatDeep)(this.options,e=>{var o;return(o=e.subOptions)!==null&&o!==void 0?o:[]})}get childrenFilteredFlatOptions(){return(0,Qe.flatDeep)(this.options,e=>{var o;return e.selected?[]:(o=e.subOptions)!==null&&o!==void 0?o:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return br.html`
1988
1989
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1989
1990
  part="container">
1990
1991
  ${!this.label&&!e?null:br.html`
@@ -2061,9 +2062,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2061
2062
  .exportpartsPrefixes=${["values","available-values"]}
2062
2063
  noValuesLabel="${this.noValuesLabel}"
2063
2064
  ></ft-filter-level>
2064
- `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var o;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(o=n.subOptions)===null||o===void 0||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Qe.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new ji(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};W.elementDefinitions={"ft-button":ve,"ft-filter-level":ae,"ft-snap-scroll":ye,"ft-typography":Z};W.styles=vd;ee([(0,K.property)({type:String})],W.prototype,"id",void 0);ee([(0,K.property)({type:String})],W.prototype,"label",void 0);ee([(0,K.property)({type:String})],W.prototype,"filterPlaceHolder",void 0);ee([(0,K.property)({type:String})],W.prototype,"clearButtonLabel",void 0);ee([(0,K.property)({type:String})],W.prototype,"moreValuesButtonLabel",void 0);ee([(0,K.property)({type:String})],W.prototype,"noValuesLabel",void 0);ee([(0,Qe.jsonProperty)([])],W.prototype,"options",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"multivalued",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"disabled",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"raiseSelectedOptions",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"displayCount",void 0);ee([(0,K.property)({type:Number})],W.prototype,"displayedValuesLimit",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"hideClearButton",void 0);ee([(0,K.query)(".ft-filter--slot")],W.prototype,"slotElement",void 0);ee([(0,K.query)(".ft-filter--container")],W.prototype,"container",void 0);ee([(0,K.query)(".ft-filter--values")],W.prototype,"valuesContainer",void 0);ee([(0,K.query)(".ft-filter--levels")],W.prototype,"levelsContainer",void 0);ee([(0,K.state)()],W.prototype,"lastLevelHasHiddenvalues",void 0);ee([(0,K.query)(".ft-filter--filter input")],W.prototype,"filterInput",void 0);ee([(0,K.queryAll)(".ft-filter--levels ft-filter-level")],W.prototype,"levels",void 0);ee([(0,K.state)()],W.prototype,"withScroll",void 0);ee([(0,K.state)()],W.prototype,"filter",void 0);ee([(0,K.state)()],W.prototype,"slideIn",void 0);ee([(0,K.state)()],W.prototype,"slideOut",void 0);var Rn=y(R()),xr=y(j()),Sd=y(k()),qr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},lt=class extends Rn.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Sd.html`
2065
+ `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var o;e.stopPropagation();let n=this.flatOptions.find(a=>a.value===e.detail.value);n.selected=!n.selected;let i=a=>{var s;a!==n&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(o=n.subOptions)===null||o===void 0||o.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(o=>o.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,Qe.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Gi(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(o=>o),this.optionsChanged()}onFilterChange(){var e,o;this.filter=(o=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};W.elementDefinitions={"ft-button":ve,"ft-filter-level":ae,"ft-snap-scroll":ye,"ft-typography":Z};W.styles=Sd;ee([(0,K.property)({type:String})],W.prototype,"id",void 0);ee([(0,K.property)({type:String})],W.prototype,"label",void 0);ee([(0,K.property)({type:String})],W.prototype,"filterPlaceHolder",void 0);ee([(0,K.property)({type:String})],W.prototype,"clearButtonLabel",void 0);ee([(0,K.property)({type:String})],W.prototype,"moreValuesButtonLabel",void 0);ee([(0,K.property)({type:String})],W.prototype,"noValuesLabel",void 0);ee([(0,Qe.jsonProperty)([])],W.prototype,"options",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"multivalued",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"disabled",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"raiseSelectedOptions",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"displayCount",void 0);ee([(0,K.property)({type:Number})],W.prototype,"displayedValuesLimit",void 0);ee([(0,K.property)({type:Boolean})],W.prototype,"hideClearButton",void 0);ee([(0,K.query)(".ft-filter--slot")],W.prototype,"slotElement",void 0);ee([(0,K.query)(".ft-filter--container")],W.prototype,"container",void 0);ee([(0,K.query)(".ft-filter--values")],W.prototype,"valuesContainer",void 0);ee([(0,K.query)(".ft-filter--levels")],W.prototype,"levelsContainer",void 0);ee([(0,K.state)()],W.prototype,"lastLevelHasHiddenvalues",void 0);ee([(0,K.query)(".ft-filter--filter input")],W.prototype,"filterInput",void 0);ee([(0,K.queryAll)(".ft-filter--levels ft-filter-level")],W.prototype,"levels",void 0);ee([(0,K.state)()],W.prototype,"withScroll",void 0);ee([(0,K.state)()],W.prototype,"filter",void 0);ee([(0,K.state)()],W.prototype,"slideIn",void 0);ee([(0,K.state)()],W.prototype,"slideOut",void 0);var Rn=m(R()),xr=m(j()),Od=m(k()),qr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},lt=class extends Rn.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Od.html`
2065
2066
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2066
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};lt.elementDefinitions={};qr([(0,xr.property)({type:String})],lt.prototype,"label",void 0);qr([(0,xr.property)({type:Object,converter:t=>t})],lt.prototype,"value",void 0);qr([(0,xr.property)({type:Boolean,reflect:!0})],lt.prototype,"selected",void 0);qr([(0,xr.property)({type:Object})],lt.prototype,"subOptions",void 0);qr([(0,Rn.jsonProperty)({})],lt.prototype,"renderOption",void 0);qr([(0,xr.query)(".ft-filter-option--slot")],lt.prototype,"slotElement",void 0);(0,Gi.customElement)("ft-filter")(W);(0,Gi.customElement)("ft-filter-option")(lt);var Xt=Kr.build("designedSearchType"),Nn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var wd=y(j());var Od=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Qt=class extends qt(Ht){constructor(){super(),this.options={searchInDocumentTitlesOnly:{label:()=>Xt.messages.documentTitlesOnly(),selected:()=>!!this.searchInDocumentTitlesOnly,onChange:e=>{var o;return(o=this.stateManager)===null||o===void 0?void 0:o.setSearchInDocumentTitlesOnly(e)}}},this.addI18nContext(Xt,Nn)}render(){return Cd.html`
2067
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(o=>o)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};lt.elementDefinitions={};qr([(0,xr.property)({type:String})],lt.prototype,"label",void 0);qr([(0,xr.property)({type:Object,converter:t=>t})],lt.prototype,"value",void 0);qr([(0,xr.property)({type:Boolean,reflect:!0})],lt.prototype,"selected",void 0);qr([(0,xr.property)({type:Object})],lt.prototype,"subOptions",void 0);qr([(0,Rn.jsonProperty)({})],lt.prototype,"renderOption",void 0);qr([(0,xr.query)(".ft-filter-option--slot")],lt.prototype,"slotElement",void 0);(0,Ki.customElement)("ft-filter")(W);(0,Ki.customElement)("ft-filter-option")(lt);var Xt=Kr.build("designedSearchType"),Nn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Ad=m(j());var Cd=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Qt=class extends qt(Ht){constructor(){super(),this.options={searchInDocumentTitlesOnly:{label:()=>Xt.messages.documentTitlesOnly(),selected:()=>!!this.searchInDocumentTitlesOnly,onChange:e=>{var o;return(o=this.stateManager)===null||o===void 0?void 0:o.setSearchInDocumentTitlesOnly(e)}}},this.addI18nContext(Xt,Nn)}render(){return Ed.html`
2067
2068
  <ft-filter
2068
2069
  label=${Xt.messages.label()}
2069
2070
  .options=${Object.keys(this.options).map(e=>({value:e,label:this.options[e].label(),selected:this.options[e].selected()}))}
@@ -2072,7 +2073,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2072
2073
  multivalued
2073
2074
  @change=${()=>this.onSelectionChange()}
2074
2075
  ></ft-filter>
2075
- `}onSelectionChange(){var e;(e=this.filter)===null||e===void 0||e.options.forEach(o=>this.options[o.value].onChange(!!o.selected))}};Qt.elementDefinitions={"ft-filter":W};Qt.styles=qc;Od([(0,Ed.redux)({selector:no})],Qt.prototype,"searchInDocumentTitlesOnly",void 0);Od([(0,wd.query)("ft-filter")],Qt.prototype,"filter",void 0);(0,Ad.customElement)("ft-search-type")(Qt);var Ld=y(R());var ct=y(k());var Rd=y(k()),vr=y(R());var af={headerColor:vr.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",vr.designSystemVariables.colorOnSurface)},Nd=Rd.css`
2076
+ `}onSelectionChange(){var e;(e=this.filter)===null||e===void 0||e.options.forEach(o=>this.options[o.value].onChange(!!o.selected))}};Qt.elementDefinitions={"ft-filter":W};Qt.styles=Yc;Cd([(0,wd.redux)({selector:no})],Qt.prototype,"searchInDocumentTitlesOnly",void 0);Cd([(0,Ad.query)("ft-filter")],Qt.prototype,"filter",void 0);(0,Rd.customElement)("ft-search-type")(Qt);var Id=m(R());var ct=m(k());var Nd=m(k()),vr=m(R());var sf={headerColor:vr.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",vr.designSystemVariables.colorOnSurface)},Ld=Nd.css`
2076
2077
  [part="container"] {
2077
2078
  flex-grow: 1;
2078
2079
  display: flex;
@@ -2097,7 +2098,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2097
2098
  flex-shrink: 0;
2098
2099
  padding: 0 10px;
2099
2100
  margin-bottom: 8px;
2100
- color: ${af.headerColor};
2101
+ color: ${sf.headerColor};
2101
2102
  }
2102
2103
 
2103
2104
  [part="label"] {
@@ -2109,7 +2110,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2109
2110
  ${(0,vr.setVariable)(N.fontWeight,"bold")};
2110
2111
  }
2111
2112
 
2112
- `;var Ki=y(R());var Ce=Kr.build("designedSearchPeriodFilter"),Ln={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Sr=y(j());var Jt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Fe=class extends qt(Ht){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Ce,Ln),this.addStore(_)}get metadataKey(){var e;return(e=this.key)!==null&&e!==void 0?e:"ft:lastEdition"}update(e){var o;super.update(e),(e.has("filters")||e.has("key"))&&(this.dateFilter=(o=this.filters)===null||o===void 0?void 0:o.filter(n=>n.key===this.metadataKey).filter(n=>n.dateFilter).map(n=>n.dateFilter).find(Boolean))}render(){var e,o,n,i;return ct.html`
2113
+ `;var Zi=m(R());var Ce=Kr.build("designedSearchPeriodFilter"),Ln={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Sr=m(j());var Jt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Fe=class extends qt(Ht){constructor(){super(),this.metadataDescriptors=[],this.dateFilter=void 0,this.addI18nContext(Ce,Ln),this.addStore(_)}get metadataKey(){var e;return(e=this.key)!==null&&e!==void 0?e:"ft:lastEdition"}update(e){var o;super.update(e),(e.has("filters")||e.has("key"))&&(this.dateFilter=(o=this.filters)===null||o===void 0?void 0:o.filter(n=>n.key===this.metadataKey).filter(n=>n.dateFilter).map(n=>n.dateFilter).find(Boolean))}render(){var e,o,n,i;return ct.html`
2113
2114
  <div part="container">
2114
2115
  <div part="header">
2115
2116
  <ft-typography variant="overline" part="label" id="label">
@@ -2134,7 +2135,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2134
2135
  <ft-radio ?checked=${((i=this.dateFilter)===null||i===void 0?void 0:i.type)=="LAST_YEAR"} value="LAST_YEAR">${Ce.messages.LAST_YEAR()}
2135
2136
  </ft-radio>`:ct.nothing}
2136
2137
  </ft-radio-group>
2137
- </div>`}setPeriodFilter(e){var o,n;let i=Ro[e.detail];i?(o=this.stateManager)===null||o===void 0||o.setDateFilter(this.metadataKey,i):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var e,o,n;return this.metadataKey==="ft:lastEdition"?Ce.messages.label():(n=(o=(e=this.metadataDescriptors)===null||e===void 0?void 0:e.find(i=>i.key==this.metadataKey))===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:this.metadataKey}};Fe.elementDefinitions={"ft-radio-group":De,"ft-radio":de,"ft-typography":Z};Fe.styles=Nd;Jt([(0,Sr.property)({type:String})],Fe.prototype,"key",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAWeek",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAMonth",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAQuarter",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAYear",void 0);Jt([(0,Ki.redux)({store:"search",selector:t=>t.request.metadataFilters})],Fe.prototype,"filters",void 0);Jt([(0,Ki.redux)({store:_.name,selector:t=>{var e,o;return(o=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&o!==void 0?o:[]}})],Fe.prototype,"metadataDescriptors",void 0);Jt([(0,Sr.property)({attribute:!1})],Fe.prototype,"dateFilter",void 0);(0,Ld.customElement)("ft-search-period-filter")(Fe);var Zi=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},kt=class extends qt(Ht){get hasSomethingToDisplay(){var e,o;return this.searchInDocumentTitlesOnly||((e=this.facets)===null||e===void 0?void 0:e.some(n=>this.getSelectedValues(n).length>0))||((o=this.filters)===null||o===void 0?void 0:o.some(n=>n.dateFilter||n.rangeFilter))}constructor(){super(),this.addI18nContext(Xt,Nn),this.addI18nContext(Ce,Ln)}render(){var e,o;return this.hasSomethingToDisplay?xt.html`
2138
+ </div>`}setPeriodFilter(e){var o,n;let i=Ro[e.detail];i?(o=this.stateManager)===null||o===void 0||o.setDateFilter(this.metadataKey,i):(n=this.stateManager)===null||n===void 0||n.removeDateFilter(this.metadataKey)}header(){var e,o,n;return this.metadataKey==="ft:lastEdition"?Ce.messages.label():(n=(o=(e=this.metadataDescriptors)===null||e===void 0?void 0:e.find(i=>i.key==this.metadataKey))===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:this.metadataKey}};Fe.elementDefinitions={"ft-radio-group":De,"ft-radio":de,"ft-typography":Z};Fe.styles=Ld;Jt([(0,Sr.property)({type:String})],Fe.prototype,"key",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAWeek",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAMonth",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAQuarter",void 0);Jt([(0,Sr.property)({type:Boolean})],Fe.prototype,"lessThanAYear",void 0);Jt([(0,Zi.redux)({store:"search",selector:t=>t.request.metadataFilters})],Fe.prototype,"filters",void 0);Jt([(0,Zi.redux)({store:_.name,selector:t=>{var e,o;return(o=(e=t.metadataConfiguration)===null||e===void 0?void 0:e.descriptors)!==null&&o!==void 0?o:[]}})],Fe.prototype,"metadataDescriptors",void 0);Jt([(0,Sr.property)({attribute:!1})],Fe.prototype,"dateFilter",void 0);(0,Id.customElement)("ft-search-period-filter")(Fe);var qi=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},kt=class extends qt(Ht){get hasSomethingToDisplay(){var e,o;return this.searchInDocumentTitlesOnly||((e=this.facets)===null||e===void 0?void 0:e.some(n=>this.getSelectedValues(n).length>0))||((o=this.filters)===null||o===void 0?void 0:o.some(n=>n.dateFilter||n.rangeFilter))}constructor(){super(),this.addI18nContext(Xt,Nn),this.addI18nContext(Ce,Ln)}render(){var e,o;return this.hasSomethingToDisplay?xt.html`
2138
2139
  <div class="ft-search-selected-facets--container">
2139
2140
  ${(0,In.repeat)(this.facets||[],n=>n.key,n=>{let i=this.getSelectedValues(n);return(0,In.repeat)(i,a=>n.key+"-"+a,a=>this.renderFacet(n.key,n.label,i,a))})}
2140
2141
  ${this.renderSearchInDocumentTitlesOnly()}
@@ -2181,7 +2182,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
2181
2182
  @icon-click=${()=>{var n;return(n=this.stateManager)===null||n===void 0?void 0:n.removeRangeFilter(e)}}>
2182
2183
  ${Ce.messages.CUSTOM()}
2183
2184
  </ft-chip>
2184
- </ft-tooltip>`}};kt.elementDefinitions={"ft-chip":ne,"ft-tooltip":Q};kt.styles=ra;Zi([(0,Yr.redux)({store:"search"})],kt.prototype,"facets",void 0);Zi([(0,Yr.redux)({store:"search",selector:no})],kt.prototype,"searchInDocumentTitlesOnly",void 0);Zi([(0,Yr.redux)({store:"search",selector:t=>t.request.metadataFilters})],kt.prototype,"filters",void 0);(0,Id.customElement)("ft-search-selected-facets")(kt);})();
2185
+ </ft-tooltip>`}};kt.elementDefinitions={"ft-chip":ne,"ft-tooltip":Q};kt.styles=oa;qi([(0,Yr.redux)({store:"search"})],kt.prototype,"facets",void 0);qi([(0,Yr.redux)({store:"search",selector:no})],kt.prototype,"searchInDocumentTitlesOnly",void 0);qi([(0,Yr.redux)({store:"search",selector:t=>t.request.metadataFilters})],kt.prototype,"filters",void 0);(0,Td.customElement)("ft-search-selected-facets")(kt);})();
2185
2186
  /*! Bundled license information:
2186
2187
 
2187
2188
  @lit/reactive-element/css-tag.js: