@fluid-topics/ft-reader-topic-metadata 1.3.48 → 1.3.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-topic-metadata.light.js +467 -456
- package/build/ft-reader-topic-metadata.min.js +438 -428
- package/package.json +4 -4
|
@@ -1,142 +1,143 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var Hl=Object.create;var Fa=Object.defineProperty;var Wl=Object.getOwnPropertyDescriptor;var Gl=Object.getOwnPropertyNames;var jl=Object.getPrototypeOf,Kl=Object.prototype.hasOwnProperty;var $t=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Vl=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gl(t))!Kl.call(e,a)&&a!==o&&Fa(e,a,{get:()=>t[a],enumerable:!(n=Wl(t,a))||n.enumerable});return e};var v=(e,t,o)=>(o=e!=null?Hl(jl(e)):{},Vl(t||!e||!e.__esModule?Fa(o,"default",{value:e,enumerable:!0}):o,e));var _=$t((Sp,za)=>{za.exports=ftGlobals.wcUtils});var W=$t((Cp,Ha)=>{Ha.exports=ftGlobals.lit});var X=$t((Op,Wa)=>{Wa.exports=ftGlobals.litDecorators});var ls=$t((pt,cs)=>{var po=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,uo=function(){function e(){this.fetch=!1,this.DOMException=po.DOMException}return e.prototype=po,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&c.indexOf(Object.prototype.toString.call(y))>-1};function p(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var b={next:function(){var P=y.shift();return{done:P===void 0,value:P}}};return a.iterable&&(b[Symbol.iterator]=function(){return b}),b}function h(y){this.map={},y instanceof h?y.forEach(function(b,P){this.append(P,b)},this):Array.isArray(y)?y.forEach(function(b){if(b.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+b.length);this.append(b[0],b[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(b){this.append(b,y[b])},this)}h.prototype.append=function(y,b){y=p(y),b=u(b);var P=this.map[y];this.map[y]=P?P+", "+b:b},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,b){this.map[p(y)]=u(b)},h.prototype.forEach=function(y,b){for(var P in this.map)this.map.hasOwnProperty(P)&&y.call(b,this.map[P],P,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(b,P){y.push(P)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(b){y.push(b)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(b,P){y.push([P,b])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(b,P){y.onload=function(){b(y.result)},y.onerror=function(){P(y.error)}})}function x(y){var b=new FileReader,P=S(b);return b.readAsArrayBuffer(y),P}function O(y){var b=new FileReader,P=S(b),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Z=H?H[1]:"utf-8";return b.readAsText(y,Z),P}function T(y){for(var b=new Uint8Array(y),P=new Array(b.length),H=0;H<b.length;H++)P[H]=String.fromCharCode(b[H]);return P.join("")}function R(y){if(y.slice)return y.slice(0);var b=new Uint8Array(y.byteLength);return b.set(new Uint8Array(y)),b.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(he)}),this.json=function(){return this.text().then(JSON.parse)},this}var D=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(y){var b=y.toUpperCase();return D.indexOf(b)>-1?b:y}function $(y,b){if(!(this instanceof $))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');b=b||{};var P=b.body;if(y instanceof $){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,b.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!P&&y._bodyInit!=null&&(P=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=b.credentials||this.credentials||"same-origin",(b.headers||!this.headers)&&(this.headers=new h(b.headers)),this.method=U(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.signal=b.signal||this.signal||function(){if("AbortController"in n){var F=new AbortController;return F.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")&&(b.cache==="no-store"||b.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var Z=/\?/;this.url+=(Z.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})};function he(y){var b=new FormData;return y.trim().split("&").forEach(function(P){if(P){var H=P.split("="),Z=H.shift().replace(/\+/g," "),F=H.join("=").replace(/\+/g," ");b.append(decodeURIComponent(Z),decodeURIComponent(F))}}),b}function Ke(y){var b=new h,P=y.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(H){return H.indexOf(`
|
|
2
|
+
`)===0?H.substr(1,H.length):H}).forEach(function(H){var Z=H.split(":"),F=Z.shift().trim();if(F){var jr=Z.join(":").trim();try{b.append(F,jr)}catch(Ko){console.warn("Response "+Ko.message)}}}),b}N.call($.prototype);function fe(y,b){if(!(this instanceof fe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(b||(b={}),this.type="default",this.status=b.status===void 0?200:b.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=b.statusText===void 0?"":""+b.statusText,this.headers=new h(b.headers),this.url=b.url||"",this._initBody(y)}N.call(fe.prototype),fe.prototype.clone=function(){return new fe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},fe.error=function(){var y=new fe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Ve=[301,302,303,307,308];fe.redirect=function(y,b){if(Ve.indexOf(b)===-1)throw new RangeError("Invalid status code");return new fe(null,{status:b,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(b,P){this.message=b,this.name=P;var H=Error(b);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ie(y,b){return new Promise(function(P,H){var Z=new $(y,b);if(Z.signal&&Z.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function jr(){F.abort()}F.onload=function(){var se={statusText:F.statusText,headers:Ke(F.getAllResponseHeaders()||"")};Z.url.indexOf("file://")===0&&(F.status<200||F.status>599)?se.status=200:se.status=F.status,se.url="responseURL"in F?F.responseURL:se.headers.get("X-Request-URL");var Et="response"in F?F.response:F.responseText;setTimeout(function(){P(new fe(Et,se))},0)},F.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},F.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function Ko(se){try{return se===""&&n.location.href?n.location.href:se}catch{return se}}if(F.open(Z.method,Ko(Z.url),!0),Z.credentials==="include"?F.withCredentials=!0:Z.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(a.blob?F.responseType="blob":a.arrayBuffer&&(F.responseType="arraybuffer")),b&&typeof b.headers=="object"&&!(b.headers instanceof h||n.Headers&&b.headers instanceof n.Headers)){var $a=[];Object.getOwnPropertyNames(b.headers).forEach(function(se){$a.push(p(se)),F.setRequestHeader(se,u(b.headers[se]))}),Z.headers.forEach(function(se,Et){$a.indexOf(Et)===-1&&F.setRequestHeader(Et,se)})}else Z.headers.forEach(function(se,Et){F.setRequestHeader(Et,se)});Z.signal&&(Z.signal.addEventListener("abort",jr),F.onreadystatechange=function(){F.readyState===4&&Z.signal.removeEventListener("abort",jr)}),F.send(typeof Z._bodyInit>"u"?null:Z._bodyInit)})}return ie.polyfill=!0,n.fetch||(n.fetch=ie,n.Headers=h,n.Request=$,n.Response=fe),o.Headers=h,o.Request=$,o.Response=fe,o.fetch=ie,o}({})})(uo);uo.fetch.ponyfill=!0;delete uo.fetch.polyfill;var ir=po.fetch?po:uo;pt=ir.fetch;pt.default=ir.fetch;pt.fetch=ir.fetch;pt.Headers=ir.Headers;pt.Request=ir.Request;pt.Response=ir.Response;cs.exports=pt});var Mr=$t((w0,rl)=>{rl.exports=ftGlobals.litClassMap});var hl=$t((D0,fl)=>{fl.exports=ftGlobals.litUnsafeHTML});var zl=v(_());var je=v(W()),Qe=v(X());var Ga=v(W()),Ep={},ja=Ga.css`
|
|
2
3
|
:host {
|
|
3
4
|
display: inline-block;
|
|
4
5
|
}
|
|
5
|
-
`;var
|
|
6
|
-
\f\r]`,
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Zn=/'/g,qn=/"/g,Qn=/^(?:script|style|textarea|title)$/i,hr=t=>(o,...r)=>({_$litType$:t,strings:o,values:r}),ea=hr(1),ta=hr(2),oa=hr(3),qt=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Yn=new WeakMap,it=st.createTreeWalker(st,129);function ra(t,o){if(!ur(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vn!==void 0?Vn.createHTML(o):o}var Vs=(t,o)=>{let r=t.length-1,n=[],a,s=o===2?"<svg>":o===3?"<math>":"",c=Kt;for(let d=0;d<r;d++){let p=t[d],f,h,y=-1,m=0;for(;m<p.length&&(c.lastIndex=m,h=c.exec(p),h!==null);)m=c.lastIndex,c===Kt?h[1]==="!--"?c=jn:h[1]!==void 0?c=Kn:h[2]!==void 0?(Qn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=at):h[3]!==void 0&&(c=at):c===at?h[0]===">"?(c=a??Kt,y=-1):h[1]===void 0?y=-2:(y=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?at:h[3]==='"'?qn:Zn):c===qn||c===Zn?c=at:c===jn||c===Kn?c=Kt:(c=at,a=void 0);let b=c===at&&t[d+1].startsWith("/>")?" ":"";s+=c===Kt?p+Gs:y>=0?(n.push(f),p.slice(0,y)+Xn+p.slice(y)+Fe+b):p+Fe+(y===-2?d:b)}return[ra(t,s+(t[r]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),n]},Yt=class t{constructor({strings:o,_$litType$:r},n){let a;this.parts=[];let s=0,c=0,d=o.length-1,p=this.parts,[f,h]=Vs(o,r);if(this.el=t.createElement(f,n),it.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=it.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Xn)){let m=h[c++],b=a.getAttribute(y).split(Fe),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:s,name:g[2],strings:b,ctor:g[1]==="."?cr:g[1]==="?"?lr:g[1]==="@"?dr:gt}),a.removeAttribute(y)}else y.startsWith(Fe)&&(p.push({type:6,index:s}),a.removeAttribute(y));if(Qn.test(a.tagName)){let y=a.textContent.split(Fe),m=y.length-1;if(m>0){a.textContent=vo?vo.emptyScript:"";for(let b=0;b<m;b++)a.append(y[b],So()),it.nextNode(),p.push({type:2,index:++s});a.append(y[m],So())}}}else if(a.nodeType===8)if(a.data===Jn)p.push({type:2,index:s});else{let y=-1;for(;(y=a.data.indexOf(Fe,y+1))!==-1;)p.push({type:7,index:s}),y+=Fe.length-1}s++}}static createElement(o,r){let n=st.createElement("template");return n.innerHTML=o,n}};function mt(t,o,r=t,n){if(o===qt)return o;let a=n!==void 0?r._$Co?.[n]:r._$Cl,s=Zt(o)?void 0:o._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(o=mt(t,a._$AS(t,o.values),a,n)),o}var sr=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:n}=this._$AD,a=(o?.creationScope??st).importNode(r,!0);it.currentNode=a;let s=it.nextNode(),c=0,d=0,p=n[0];for(;p!==void 0;){if(c===p.index){let f;p.type===2?f=new Oo(s,s.nextSibling,this,o):p.type===1?f=new p.ctor(s,p.name,p.strings,this,o):p.type===6&&(f=new pr(s,this,o)),this._$AV.push(f),p=n[++d]}c!==p?.index&&(s=it.nextNode(),c++)}return it.currentNode=st,a}p(o){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,r),r+=n.strings.length-2):n._$AI(o[r])),r++}},Oo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=mt(this,o,r),Zt(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==qt&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Fs(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==j&&Zt(this._$AH)?this._$AA.nextSibling.data=o:this.T(st.createTextNode(o)),this._$AH=o}$(o){let{values:r,_$litType$:n}=o,a=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=Yt.createElement(ra(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let s=new sr(a,this),c=s.u(this.options);s.p(r),this.T(c),this._$AH=s}}_$AC(o){let r=Yn.get(o.strings);return r===void 0&&Yn.set(o.strings,r=new Yt(o)),r}k(o){ur(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let s of o)a===r.length?r.push(n=new t(this.O(So()),this.O(So()),this,this.options)):n=r[a],n._$AI(s),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,n,a,s){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=r,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(o,r=this,n,a){let s=this.strings,c=!1;if(s===void 0)o=mt(this,o,r,0),c=!Zt(o)||o!==this._$AH&&o!==qt,c&&(this._$AH=o);else{let d=o,p,f;for(o=s[0],p=0;p<s.length-1;p++)f=mt(this,d[n+p],r,p),f===qt&&(f=this._$AH[p]),c||=!Zt(f)||f!==this._$AH[p],f===j?o=j:o!==j&&(o+=(f??"")+s[p+1]),this._$AH[p]=f}c&&!a&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},cr=class extends gt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},lr=class extends gt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},dr=class extends gt{constructor(o,r,n,a,s){super(o,r,n,a,s),this.type=5}_$AI(o,r=this){if((o=mt(this,o,r,0)??j)===qt)return;let n=this._$AH,a=o===j&&n!==j||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,s=o!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},pr=class{constructor(o,r,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){mt(this,o)}};var js=fr.litHtmlPolyfillSupport;js?.(Yt,Oo),(fr.litHtmlVersions??=[]).push("3.3.0");var aa=Symbol.for(""),Ks=t=>{if(t?.r===aa)return t?._$litStatic$},bt=t=>({_$litStatic$:t,r:aa});var na=new Map,yr=t=>(o,...r)=>{let n=r.length,a,s,c=[],d=[],p,f=0,h=!1;for(;f<n;){for(p=o[f];f<n&&(s=r[f],(a=Ks(s))!==void 0);)p+=a+o[++f],h=!0;f!==n&&d.push(s),c.push(p),f++}if(f===n&&c.push(o[n]),h){let y=c.join("$$lit$$");(o=na.get(y))===void 0&&(c.raw=c,na.set(y,o=c)),r=d}return t(o,...r)},xt=yr(ea),gl=yr(ta),bl=yr(oa);var Hr=O(q()),Oa=O($());var vt;(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"})(vt||(vt={}));var ye=O(M()),w=O($());var ke=O(M(),1),Ve=t=>typeof t=="string"?(0,ke.unsafeCSS)(t):t,e=class{static create(o,r,n,a){let s=d=>Ve(d??a),c=ke.css`var(${Ve(o)}, ${s(a)})`;return c.name=o,c.description=r,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>ia(c,d??s(a)),c.get=d=>ke.css`var(${Ve(o)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(o,r,n,a){let s=d=>n.get(d??a),c=ke.css`var(${Ve(o)}, ${s(a)})`;return c.name=o,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>ia(c,d??s(a)),c.get=d=>ke.css`var(${Ve(o)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(o,r){let n=s=>o.defaultCssValue(s),a=ke.css`var(${Ve(o.name)}, ${n(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=n,a.set=s=>o.set(s),a.get=s=>ke.css`var(${Ve(o.name)}, ${n(s)})`,a.breadcrumb=()=>o.breadcrumb(),a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};function ia(t,o){return Ve(`${t.name}: ${o}`)}var i={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ftds-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)")},mr={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},gr={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},br={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},xr={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},vr={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Sr={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Or={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Cr={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},wr={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Zs={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Er={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Nr={fontFamily:e.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Rr={fontFamily:e.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Ar={fontFamily:e.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Lr={fontFamily:e.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Pr={fontFamily:e.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ir={fontFamily:e.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:e.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Tr={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Br={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},$r={fontFamily:e.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},kr={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},_r={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Dr={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},zr={fontFamily:e.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Wr={fontFamily:e.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Mr={fontFamily:e.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},ct={display:mr,"title-1":gr,"title-2":br,"title-3":xr,"body-1-regular":vr,"body-1-medium":Sr,"body-1-semibold":Or,"body-2-regular":Cr,"body-2-medium":wr,"body-2-medium-underline":Zs,"body-2-semibold":Er,"label-1-medium":Nr,"label-1-semibold":Rr,"label-1-bold":Ar,"label-2-medium":Lr,"label-2-semibold":Pr,"label-2-bold":Ir,"caption-1-medium":Tr,"caption-1-semibold":Br,"caption-1-bold":$r,"caption-2-medium":kr,"caption-2-semibold":_r,"caption-2-bold":Dr,"caption-3-medium":zr,"caption-3-semibold":Wr,"caption-3-bold":Mr};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
-
Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for element like input.",i.colorGray50),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",i.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var u={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:e.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:e.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var _l={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",i.spacing3),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",i.spacing3),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var Hl={iconSize:e.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),leftPadding:e.extend("--ftds-checkbox-left-padding","",i.spacing2)};var jl={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var Xl={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var od={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var L={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var pd={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",i.colorBrand100)};var md={iconSize:e.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Sd={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Nd={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Id={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",i.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var _d={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var Md={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Vd={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",i.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:e.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",i.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var Yd={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:e.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var tp={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var ip={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var pp={backgroundColor:e.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var mp={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",i.shadowElevation02)};var Sp={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",i.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:e.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-combobox-single-select-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",i.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",i.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",i.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",i.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",i.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",i.opacity40)};var Np={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",i.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-multi-select-disabled-component-opacity","",i.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",i.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",i.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",i.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",i.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",i.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",i.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",i.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",i.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",i.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",i.borderRadiusS)};var Ip={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",i.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",i.spacing6),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",i.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6)};var _p={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Hp={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Vp={color1Light:e.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",i.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var qp={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var ef={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:e.extend("--ftds-notice-gap","",i.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var af={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",i.spacing3)};var pf={iconSize:e.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",i.spacing8)};var mf={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",i.spacing05)};var Sf={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",i.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Ef={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var Co;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Co||(Co={}));var Se;(function(t){t.large="large",t.medium="medium",t.small="small"})(Se||(Se={}));var St=O(M());function sa(t,o){let r=ct[t];return St.css`
|
|
9
|
-
${
|
|
10
|
-
font-family: ${
|
|
11
|
-
font-size: ${
|
|
12
|
-
font-weight: ${
|
|
13
|
-
letter-spacing: ${
|
|
14
|
-
line-height: ${
|
|
15
|
-
text-decoration: ${
|
|
16
|
-
text-transform: ${
|
|
17
|
-
}
|
|
18
|
-
`}var
|
|
6
|
+
`;var Zr=v(X()),qa=v(_());var Vr=v(_()),Za=v(X());var Ka;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(Ka||(Ka={}));var Va;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Va||(Va={}));var Zl=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Zo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Vo=Symbol("registerInterval"),ql=(0,Vr.applyMixinOnce)(Symbol("toFtReaderComponent"),function(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Vo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Vo]):this.dispatchEvent(new Zo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Vo,Zl([(0,Za.state)()],o.prototype,"stateManager",void 0),o}),Kr=class extends ql(Vr.FtLitElementRedux){};var qo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Xo=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Yo=Symbol("registerInterval"),Yl=(0,qa.applyMixinOnce)(Symbol("toFtReaderTopicComponent"),function(e){var t;class o extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this.headingLevelsShift=0,this[t]=0}connectedCallback(){super.connectedCallback(),this[Yo]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Yo]):this.dispatchEvent(new Xo)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=Yo,qo([(0,Zr.state)()],o.prototype,"tocNode",void 0),qo([(0,Zr.state)()],o.prototype,"disableContextInteractions",void 0),qo([(0,Zr.state)()],o.prototype,"headingLevelsShift",void 0),o}),qr=class extends Yl(Kr){};var Fl=v(_());var tl=v(_());var el=v(W()),Ie=v(X()),Le=v(_());var Bn=v(_());var nn=globalThis,Yr=nn.trustedTypes,Ya=Yr?Yr.createPolicy("lit-html",{createHTML:e=>e}):void 0,ri="$lit$",st=`lit$${Math.random().toFixed(9).slice(2)}$`,oi="?"+st,Xl=`<${oi}>`,Rt=document,Xr=()=>Rt.createComment(""),vr=e=>e===null||typeof e!="object"&&typeof e!="function",an=Array.isArray,Jl=e=>an(e)||typeof e?.[Symbol.iterator]=="function",Jo=`[
|
|
7
|
+
\f\r]`,xr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xa=/-->/g,Ja=/>/g,At=RegExp(`>|${Jo}(?:([^\\s"'>=/]+)(${Jo}*=${Jo}*(?:[^
|
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Qa=/'/g,ei=/"/g,ni=/^(?:script|style|textarea|title)$/i,sn=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ai=sn(1),ii=sn(2),si=sn(3),Sr=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ti=new WeakMap,wt=Rt.createTreeWalker(Rt,129);function ci(e,t){if(!an(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ya!==void 0?Ya.createHTML(t):t}var Ql=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=xr;for(let l=0;l<o;l++){let p=e[l],u,m,h=-1,g=0;for(;g<p.length&&(c.lastIndex=g,m=c.exec(p),m!==null);)g=c.lastIndex,c===xr?m[1]==="!--"?c=Xa:m[1]!==void 0?c=Ja:m[2]!==void 0?(ni.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=At):m[3]!==void 0&&(c=At):c===At?m[0]===">"?(c=a??xr,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?At:m[3]==='"'?ei:Qa):c===ei||c===Qa?c=At:c===Xa||c===Ja?c=xr:(c=At,a=void 0);let S=c===At&&e[l+1].startsWith("/>")?" ":"";i+=c===xr?p+Xl:h>=0?(n.push(u),p.slice(0,h)+ri+p.slice(h)+st+S):p+st+(h===-2?l:S)}return[ci(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Cr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=t.length-1,p=this.parts,[u,m]=Ql(t,o);if(this.el=e.createElement(u,n),wt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=wt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ri)){let g=m[c++],S=a.getAttribute(h).split(st),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?en:x[1]==="?"?tn:x[1]==="@"?rn:zt}),a.removeAttribute(h)}else h.startsWith(st)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(ni.test(a.tagName)){let h=a.textContent.split(st),g=h.length-1;if(g>0){a.textContent=Yr?Yr.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Xr()),wt.nextNode(),p.push({type:2,index:++i});a.append(h[g],Xr())}}}else if(a.nodeType===8)if(a.data===oi)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(st,h+1))!==-1;)p.push({type:7,index:i}),h+=st.length-1}i++}}static createElement(t,o){let n=Rt.createElement("template");return n.innerHTML=t,n}};function Ft(e,t,o=e,n){if(t===Sr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=vr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Ft(e,a._$AS(e,t.values),a,n)),t}var Qo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Rt).importNode(o,!0);wt.currentNode=a;let i=wt.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new Jr(i,i.nextSibling,this,t):p.type===1?u=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(u=new on(i,this,t)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(i=wt.nextNode(),c++)}return wt.currentNode=Rt,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Jr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ft(this,t,o),vr(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Sr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Jl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==te&&vr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Rt.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Cr.createElement(ci(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Qo(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=ti.get(t.strings);return o===void 0&&ti.set(t.strings,o=new Cr(t)),o}k(t){an(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Xr()),this.O(Xr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=te}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Ft(this,t,o,0),c=!vr(t)||t!==this._$AH&&t!==Sr,c&&(this._$AH=t);else{let l=t,p,u;for(t=i[0],p=0;p<i.length-1;p++)u=Ft(this,l[n+p],o,p),u===Sr&&(u=this._$AH[p]),c||=!vr(u)||u!==this._$AH[p],u===te?t=te:t!==te&&(t+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(t)}j(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},en=class extends zt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===te?void 0:t}},tn=class extends zt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},rn=class extends zt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Ft(this,t,o,0)??te)===Sr)return;let n=this._$AH,a=t===te&&n!==te||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==te&&(n===te||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},on=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ft(this,t)}};var ed=nn.litHtmlPolyfillSupport;ed?.(Cr,Jr),(nn.litHtmlVersions??=[]).push("3.3.0");var di=Symbol.for(""),td=e=>{if(e?.r===di)return e?._$litStatic$},Ht=e=>({_$litStatic$:e,r:di});var li=new Map,cn=e=>(t,...o)=>{let n=o.length,a,i,c=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=t[u];u<n&&(i=o[u],(a=td(i))!==void 0);)p+=a+t[++u],m=!0;u!==n&&l.push(i),c.push(p),u++}if(u===n&&c.push(t[n]),m){let h=c.join("$$lit$$");(t=li.get(h))===void 0&&(c.raw=c,li.set(h,t=c)),o=l}return e(t,...o)},Wt=cn(ai),Pp=cn(ii),kp=cn(si);var kn=v(X()),Ri=v(_());var ct;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ct||(ct={}));var we=v(W()),w=v(_());var et=v(W(),1),lt=e=>typeof e=="string"?(0,et.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=l=>lt(l??a),c=et.css`var(${lt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>pi(c,l??i(a)),c.get=l=>et.css`var(${lt(t)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=l=>n.get(l??a),c=et.css`var(${lt(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>pi(c,l??i(a)),c.get=l=>et.css`var(${lt(t)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.defaultCssValue(i),a=et.css`var(${lt(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>et.css`var(${lt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function pi(e,t){return lt(`${e.name}: ${t}`)}var s={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},ln={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},dn={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},pn={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},un={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},fn={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},hn={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},yn={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},mn={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},gn={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},rd={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},bn={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},xn={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},vn={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Sn={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Cn={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},On={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},En={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},An={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},wn={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Rn={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Tn={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Nn={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ln={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},In={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},_n={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Pn={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Tt={display:ln,"title-1":dn,"title-2":pn,"title-3":un,"body-1-regular":fn,"body-1-medium":hn,"body-1-semibold":yn,"body-2-regular":mn,"body-2-medium":gn,"body-2-medium-underline":rd,"body-2-semibold":bn,"label-1-medium":xn,"label-1-semibold":vn,"label-1-bold":Sn,"label-2-medium":Cn,"label-2-semibold":On,"label-2-bold":En,"caption-1-medium":An,"caption-1-semibold":wn,"caption-1-bold":Rn,"caption-2-medium":Tn,"caption-2-semibold":Nn,"caption-2-bold":Ln,"caption-3-medium":In,"caption-3-semibold":_n,"caption-3-bold":Pn};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
9
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ftds-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ftds-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Jp={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",s.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",s.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",s.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",s.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",s.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",s.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",s.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var ou={iconSize:r.extend("--ftds-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",s.spacing2)};var cu={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",s.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",s.spacing3)};var fu={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",s.spacing1)};var bu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",s.iconSize2)};var k={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var Ru={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",s.colorBrand100)};var _u={iconSize:r.extend("--ftds-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var Mu={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Hu={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Vu={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Ju={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",s.spacing4)};var rf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",s.spacing6)};var cf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",s.borderRadiusM)};var ff={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ftds-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",s.colorGray700)};var bf={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Of={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",s.opacity40)};var Tf={backgroundColor:r.extend("--ftds-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",s.borderRadiusS)};var Pf={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",s.shadowElevation02)};var Uf={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Wf={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",s.borderRadiusS)};var Zf={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",s.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",s.spacing6)};var Qf={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",s.iconSize3)};var nh={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",s.borderRadiusS)};var ch={color1Light:r.extend("--ftds-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",s.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",s.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",s.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var uh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var gh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ftds-notice-gap","",s.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Ch={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",s.spacing3)};var Rh={iconSize:r.extend("--ftds-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",s.spacing8)};var _h={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",s.spacing05)};var Mh={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var zh={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",s.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",s.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",s.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",s.spacing2)};var Qr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Qr||(Qr={}));var Be;(function(e){e.large="large",e.medium="medium",e.small="small"})(Be||(Be={}));var Gt=v(W());function ui(e,t){let o=Tt[e];return Gt.css`
|
|
10
|
+
${t?(0,Gt.unsafeCSS)(t):Gt.css`.ft-typography--${(0,Gt.unsafeCSS)(e)}`} {
|
|
11
|
+
font-family: ${o.fontFamily};
|
|
12
|
+
font-size: ${o.fontSize};
|
|
13
|
+
font-weight: ${o.fontWeight};
|
|
14
|
+
letter-spacing: ${o.letterSpacing};
|
|
15
|
+
line-height: ${o.lineHeight};
|
|
16
|
+
text-decoration: ${o.textDecoration};
|
|
17
|
+
text-transform: ${o.textCase};
|
|
18
|
+
}
|
|
19
|
+
`}var fi=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),tt=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),I={fontFamily:tt,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",fi),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},Kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",fi),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Vt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},Zt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},qt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},Ae={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},Yt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},Xt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},Jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",tt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},hi=we.css`
|
|
19
20
|
.ft-typography--title {
|
|
20
|
-
font-family: ${
|
|
21
|
-
font-size: ${
|
|
22
|
-
font-weight: ${
|
|
23
|
-
letter-spacing: ${
|
|
24
|
-
line-height: ${
|
|
25
|
-
text-transform: ${
|
|
21
|
+
font-family: ${jt.fontFamily};
|
|
22
|
+
font-size: ${jt.fontSize};
|
|
23
|
+
font-weight: ${jt.fontWeight};
|
|
24
|
+
letter-spacing: ${jt.letterSpacing};
|
|
25
|
+
line-height: ${jt.lineHeight};
|
|
26
|
+
text-transform: ${jt.textTransform};
|
|
26
27
|
}
|
|
27
|
-
`,
|
|
28
|
+
`,yi=we.css`
|
|
28
29
|
.ft-typography--title-dense {
|
|
29
|
-
font-family: ${
|
|
30
|
-
font-size: ${
|
|
31
|
-
font-weight: ${
|
|
32
|
-
letter-spacing: ${
|
|
33
|
-
line-height: ${
|
|
34
|
-
text-transform: ${
|
|
30
|
+
font-family: ${Kt.fontFamily};
|
|
31
|
+
font-size: ${Kt.fontSize};
|
|
32
|
+
font-weight: ${Kt.fontWeight};
|
|
33
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
34
|
+
line-height: ${Kt.lineHeight};
|
|
35
|
+
text-transform: ${Kt.textTransform};
|
|
35
36
|
}
|
|
36
|
-
`,
|
|
37
|
+
`,mi=we.css`
|
|
37
38
|
.ft-typography--subtitle1 {
|
|
38
|
-
font-family: ${
|
|
39
|
-
font-size: ${
|
|
40
|
-
font-weight: ${
|
|
41
|
-
letter-spacing: ${
|
|
42
|
-
line-height: ${
|
|
43
|
-
text-transform: ${
|
|
39
|
+
font-family: ${Vt.fontFamily};
|
|
40
|
+
font-size: ${Vt.fontSize};
|
|
41
|
+
font-weight: ${Vt.fontWeight};
|
|
42
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
43
|
+
line-height: ${Vt.lineHeight};
|
|
44
|
+
text-transform: ${Vt.textTransform};
|
|
44
45
|
}
|
|
45
|
-
`,
|
|
46
|
+
`,gi=we.css`
|
|
46
47
|
.ft-typography--subtitle2 {
|
|
47
|
-
font-family: ${
|
|
48
|
-
font-size: ${
|
|
49
|
-
font-weight: ${
|
|
50
|
-
letter-spacing: ${
|
|
51
|
-
line-height: ${
|
|
52
|
-
text-transform: ${
|
|
48
|
+
font-family: ${Zt.fontFamily};
|
|
49
|
+
font-size: ${Zt.fontSize};
|
|
50
|
+
font-weight: ${Zt.fontWeight};
|
|
51
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
52
|
+
line-height: ${Zt.lineHeight};
|
|
53
|
+
text-transform: ${Zt.textTransform};
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
`,
|
|
56
|
+
`,bi=we.css`
|
|
56
57
|
.ft-typography--body1 {
|
|
57
|
-
font-family: ${
|
|
58
|
-
font-size: ${
|
|
59
|
-
font-weight: ${
|
|
60
|
-
letter-spacing: ${
|
|
61
|
-
line-height: ${
|
|
62
|
-
text-transform: ${
|
|
58
|
+
font-family: ${qt.fontFamily};
|
|
59
|
+
font-size: ${qt.fontSize};
|
|
60
|
+
font-weight: ${qt.fontWeight};
|
|
61
|
+
letter-spacing: ${qt.letterSpacing};
|
|
62
|
+
line-height: ${qt.lineHeight};
|
|
63
|
+
text-transform: ${qt.textTransform};
|
|
63
64
|
}
|
|
64
|
-
`,
|
|
65
|
+
`,xi=we.css`
|
|
65
66
|
.ft-typography--body2 {
|
|
66
|
-
font-family: ${
|
|
67
|
-
font-size: ${
|
|
68
|
-
font-weight: ${
|
|
69
|
-
letter-spacing: ${
|
|
70
|
-
line-height: ${
|
|
71
|
-
text-transform: ${
|
|
67
|
+
font-family: ${Ae.fontFamily};
|
|
68
|
+
font-size: ${Ae.fontSize};
|
|
69
|
+
font-weight: ${Ae.fontWeight};
|
|
70
|
+
letter-spacing: ${Ae.letterSpacing};
|
|
71
|
+
line-height: ${Ae.lineHeight};
|
|
72
|
+
text-transform: ${Ae.textTransform};
|
|
72
73
|
}
|
|
73
|
-
`,
|
|
74
|
+
`,vi=we.css`
|
|
74
75
|
.ft-typography--caption {
|
|
75
|
-
font-family: ${
|
|
76
|
-
font-size: ${
|
|
77
|
-
font-weight: ${
|
|
78
|
-
letter-spacing: ${
|
|
79
|
-
line-height: ${
|
|
80
|
-
text-transform: ${
|
|
76
|
+
font-family: ${Yt.fontFamily};
|
|
77
|
+
font-size: ${Yt.fontSize};
|
|
78
|
+
font-weight: ${Yt.fontWeight};
|
|
79
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
80
|
+
line-height: ${Yt.lineHeight};
|
|
81
|
+
text-transform: ${Yt.textTransform};
|
|
81
82
|
}
|
|
82
|
-
`,
|
|
83
|
+
`,Si=we.css`
|
|
83
84
|
.ft-typography--breadcrumb {
|
|
84
|
-
font-family: ${
|
|
85
|
-
font-size: ${
|
|
86
|
-
font-weight: ${
|
|
87
|
-
letter-spacing: ${
|
|
88
|
-
line-height: ${
|
|
89
|
-
text-transform: ${
|
|
85
|
+
font-family: ${Xt.fontFamily};
|
|
86
|
+
font-size: ${Xt.fontSize};
|
|
87
|
+
font-weight: ${Xt.fontWeight};
|
|
88
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
89
|
+
line-height: ${Xt.lineHeight};
|
|
90
|
+
text-transform: ${Xt.textTransform};
|
|
90
91
|
}
|
|
91
|
-
`,
|
|
92
|
+
`,Ci=we.css`
|
|
92
93
|
.ft-typography--overline {
|
|
93
|
-
font-family: ${
|
|
94
|
-
font-size: ${
|
|
95
|
-
font-weight: ${
|
|
96
|
-
letter-spacing: ${
|
|
97
|
-
line-height: ${
|
|
98
|
-
text-transform: ${
|
|
94
|
+
font-family: ${Jt.fontFamily};
|
|
95
|
+
font-size: ${Jt.fontSize};
|
|
96
|
+
font-weight: ${Jt.fontWeight};
|
|
97
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
98
|
+
line-height: ${Jt.lineHeight};
|
|
99
|
+
text-transform: ${Jt.textTransform};
|
|
99
100
|
}
|
|
100
|
-
`,
|
|
101
|
+
`,Oi=we.css`
|
|
101
102
|
.ft-typography--button {
|
|
102
|
-
font-family: ${
|
|
103
|
-
font-size: ${
|
|
104
|
-
font-weight: ${
|
|
105
|
-
letter-spacing: ${
|
|
106
|
-
line-height: ${
|
|
107
|
-
text-transform: ${
|
|
103
|
+
font-family: ${Ze.fontFamily};
|
|
104
|
+
font-size: ${Ze.fontSize};
|
|
105
|
+
font-weight: ${Ze.fontWeight};
|
|
106
|
+
letter-spacing: ${Ze.letterSpacing};
|
|
107
|
+
line-height: ${Ze.lineHeight};
|
|
108
|
+
text-transform: ${Ze.textTransform};
|
|
108
109
|
}
|
|
109
|
-
`,
|
|
110
|
+
`,Ei=we.css`
|
|
110
111
|
.ft-typography {
|
|
111
112
|
vertical-align: inherit;
|
|
112
113
|
}
|
|
113
|
-
`,
|
|
114
|
-
<${
|
|
114
|
+
`,Ai=[Object.keys(Tt).map(e=>ui(e))];var wi=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ve=class extends Ri.FtLitElement{constructor(){super(...arguments),this.variant=ct.body1}render(){return this.element?Wt`
|
|
115
|
+
<${Ht(this.element)}
|
|
115
116
|
part="text"
|
|
116
117
|
class="ft-typography ft-typography--${this.variant}">
|
|
117
118
|
<slot></slot>
|
|
118
|
-
</${
|
|
119
|
-
`:
|
|
119
|
+
</${Ht(this.element)}>
|
|
120
|
+
`:Wt`
|
|
120
121
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
121
|
-
`}};
|
|
122
|
-
${
|
|
123
|
-
font-family: ${
|
|
124
|
-
font-size: ${
|
|
125
|
-
font-weight: ${
|
|
126
|
-
letter-spacing: ${
|
|
127
|
-
line-height: ${
|
|
128
|
-
text-decoration: ${
|
|
129
|
-
text-transform: ${
|
|
130
|
-
}
|
|
131
|
-
`}var
|
|
132
|
-
<${
|
|
122
|
+
`}};ve.styles=[hi,yi,mi,gi,bi,xi,vi,Si,Ci,Oi,Ei,...Ai];wi([(0,kn.property)()],ve.prototype,"element",void 0);wi([(0,kn.property)()],ve.prototype,"variant",void 0);var Dn=v(X()),Li=v(_());var Me;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Me||(Me={}));var Qt=v(W());function od(e,t){let o=Tt[e];return Qt.css`
|
|
123
|
+
${t?(0,Qt.unsafeCSS)(t):Qt.css`.ftds-typography--${(0,Qt.unsafeCSS)(e)}`} {
|
|
124
|
+
font-family: ${o.fontFamily};
|
|
125
|
+
font-size: ${o.fontSize};
|
|
126
|
+
font-weight: ${o.fontWeight};
|
|
127
|
+
letter-spacing: ${o.letterSpacing};
|
|
128
|
+
line-height: ${o.lineHeight};
|
|
129
|
+
text-decoration: ${o.textDecoration};
|
|
130
|
+
text-transform: ${o.textCase};
|
|
131
|
+
}
|
|
132
|
+
`}var Ti=[Object.keys(Tt).map(e=>od(e))];var Ni=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ue=class extends Li.FtLitElement{constructor(){super(...arguments),this.variant=Me.body2medium}render(){return this.element?Wt`
|
|
133
|
+
<${Ht(this.element)}
|
|
133
134
|
part="text"
|
|
134
135
|
class="ftds-typography ftds-typography--${this.variant}">
|
|
135
136
|
<slot></slot>
|
|
136
|
-
</${
|
|
137
|
-
`:
|
|
137
|
+
</${Ht(this.element)}>
|
|
138
|
+
`:Wt`
|
|
138
139
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
139
|
-
`}};
|
|
140
|
+
`}};Ue.styles=[...Ti];Ni([(0,Dn.property)()],Ue.prototype,"element",void 0);Ni([(0,Dn.property)()],Ue.prototype,"variant",void 0);(0,Bn.customElement)("ft-typography")(ve);(0,Bn.customElement)("ftds-typography")(Ue);var Ii=v(W()),rt=v(_()),er={distance:rt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:rt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:rt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:rt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:rt.FtCssVariableFactory.external(rt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:rt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},_i=Ii.css`
|
|
140
141
|
.ft-tooltip--container {
|
|
141
142
|
display: block;
|
|
142
143
|
}
|
|
@@ -151,21 +152,29 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
151
152
|
box-sizing: border-box;
|
|
152
153
|
overflow: hidden;
|
|
153
154
|
width: max-content;
|
|
154
|
-
max-width: ${
|
|
155
|
+
max-width: ${er.maxWidth};
|
|
155
156
|
text-align: center;
|
|
156
|
-
padding: ${
|
|
157
|
-
z-index: ${
|
|
157
|
+
padding: ${er.distance};
|
|
158
|
+
z-index: ${er.zIndex};
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
.ft-tooltip--content {
|
|
161
162
|
padding: 4px 8px;
|
|
162
|
-
border-radius: ${
|
|
163
|
-
background-color: ${
|
|
164
|
-
color: ${
|
|
163
|
+
border-radius: ${er.borderRadiusS};
|
|
164
|
+
background-color: ${er.backgroundColor};
|
|
165
|
+
color: ${er.color};
|
|
165
166
|
position: relative;
|
|
166
167
|
word-break: break-word;
|
|
167
168
|
}
|
|
168
|
-
`;var La=["top","right","bottom","left"],Aa=["start","end"],Vr=La.reduce((t,o)=>t.concat(o,o+"-"+Aa[0],o+"-"+Aa[1]),[]),Pa=Math.min,Ia=Math.max;var Ys={left:"right",right:"left",bottom:"top",top:"bottom"},Xs={start:"end",end:"start"};function jr(t,o,r){return Ia(t,Pa(o,r))}function wo(t,o){return typeof t=="function"?t(o):t}function Tt(t){return t.split("-")[0]}function je(t){return t.split("-")[1]}function Kr(t){return t==="x"?"y":"x"}function Zr(t){return t==="y"?"height":"width"}function Eo(t){return["top","bottom"].includes(Tt(t))?"y":"x"}function qr(t){return Kr(Eo(t))}function Ta(t,o,r){r===void 0&&(r=!1);let n=je(t),a=qr(t),s=Zr(a),c=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(c=Fr(c)),[c,Fr(c)]}function Ba(t){return t.replace(/start|end/g,o=>Xs[o])}function Fr(t){return t.replace(/left|right|bottom|top/g,o=>Ys[o])}function Js(t){return{top:0,right:0,bottom:0,left:0,...t}}function $a(t){return typeof t!="number"?Js(t):{top:t,right:t,bottom:t,left:t}}function lt(t){let{x:o,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:o,right:o+n,bottom:r+a,x:o,y:r}}function ka(t,o,r){let{reference:n,floating:a}=t,s=Eo(o),c=qr(o),d=Zr(c),p=Tt(o),f=s==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,b;switch(p){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y};break;case"left":b={x:n.x-a.width,y};break;default:b={x:n.x,y:n.y}}switch(je(o)){case"start":b[c]-=m*(r&&f?-1:1);break;case"end":b[c]+=m*(r&&f?-1:1);break}return b}var _a=async(t,o,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=r,d=s.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(o)),f=await c.getElementRects({reference:t,floating:o,strategy:a}),{x:h,y}=ka(f,n,p),m=n,b={},g=0;for(let v=0;v<d.length;v++){let{name:E,fn:N}=d[v],{x:R,y:P,data:B,reset:_}=await N({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:f,platform:c,elements:{reference:t,floating:o}});h=R??h,y=P??y,b={...b,[E]:{...b[E],...B}},_&&g<=50&&(g++,typeof _=="object"&&(_.placement&&(m=_.placement),_.rects&&(f=_.rects===!0?await c.getElementRects({reference:t,floating:o,strategy:a}):_.rects),{x:h,y}=ka(f,m,p)),v=-1)}return{x:h,y,placement:m,strategy:a,middlewareData:b}};async function Yr(t,o){var r;o===void 0&&(o={});let{x:n,y:a,platform:s,rects:c,elements:d,strategy:p}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:b=0}=wo(o,t),g=$a(b),E=d[m?y==="floating"?"reference":"floating":y],N=lt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:p})),R=y==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),B=await(s.isElement==null?void 0:s.isElement(P))?await(s.getScale==null?void 0:s.getScale(P))||{x:1,y:1}:{x:1,y:1},_=lt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:P,strategy:p}):R);return{top:(N.top-_.top+g.top)/B.y,bottom:(_.bottom-N.bottom+g.bottom)/B.y,left:(N.left-_.left+g.left)/B.x,right:(_.right-N.right+g.right)/B.x}}function Qs(t,o,r){return(t?[...r.filter(a=>je(a)===t),...r.filter(a=>je(a)!==t)]:r.filter(a=>Tt(a)===a)).filter(a=>t?je(a)===t||(o?Ba(a)!==a:!1):!0)}var Xr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(o){var r,n,a;let{rects:s,middlewareData:c,placement:d,platform:p,elements:f}=o,{crossAxis:h=!1,alignment:y,allowedPlacements:m=Vr,autoAlignment:b=!0,...g}=wo(t,o),v=y!==void 0||m===Vr?Qs(y||null,b,m):m,E=await Yr(o,g),N=((r=c.autoPlacement)==null?void 0:r.index)||0,R=v[N];if(R==null)return{};let P=Ta(R,s,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(d!==R)return{reset:{placement:v[0]}};let B=[E[Tt(R)],E[P[0]],E[P[1]]],_=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:B}],fe=v[N+1];if(fe)return{data:{index:N+1,overflows:_},reset:{placement:fe}};let Ue=_.map(ie=>{let ue=je(ie.placement);return[ie.placement,ue&&h?ie.overflows.slice(0,2).reduce((se,nt)=>se+nt,0):ie.overflows[0],ie.overflows]}).sort((ie,ue)=>ie[1]-ue[1]),Ge=((a=Ue.filter(ie=>ie[2].slice(0,je(ie[0])?2:3).every(ue=>ue<=0))[0])==null?void 0:a[0])||Ue[0][0];return Ge!==d?{data:{index:N+1,overflows:_},reset:{placement:Ge}}:{}}}};var Jr=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(o){let{x:r,y:n,placement:a}=o,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:E=>{let{x:N,y:R}=E;return{x:N,y:R}}},...p}=wo(t,o),f={x:r,y:n},h=await Yr(o,p),y=Eo(Tt(a)),m=Kr(y),b=f[m],g=f[y];if(s){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",R=b+h[E],P=b-h[N];b=jr(R,b,P)}if(c){let E=y==="y"?"top":"left",N=y==="y"?"bottom":"right",R=g+h[E],P=g-h[N];g=jr(R,g,P)}let v=d.fn({...o,[m]:b,[y]:g});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[m]:s,[y]:c}}}}}};var Qr=Math.min,Bt=Math.max,Xt=Math.round;var ze=t=>({x:t,y:t});function We(t){return za(t)?(t.nodeName||"").toLowerCase():"#document"}function ee(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function Me(t){var o;return(o=(za(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function za(t){return t instanceof Node||t instanceof ee(t).Node}function Pe(t){return t instanceof Element||t instanceof ee(t).Element}function we(t){return t instanceof HTMLElement||t instanceof ee(t).HTMLElement}function Da(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ee(t).ShadowRoot}function $t(t){let{overflow:o,overflowX:r,overflowY:n,display:a}=le(t);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(a)}function Wa(t){return["table","td","th"].includes(We(t))}function Ro(t){let o=Ao(),r=le(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ma(t){let o=dt(t);for(;we(o)&&!Jt(o);){if(Ro(o))return o;o=dt(o)}return null}function Ao(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Jt(t){return["html","body","#document"].includes(We(t))}function le(t){return ee(t).getComputedStyle(t)}function Qt(t){return Pe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dt(t){if(We(t)==="html")return t;let o=t.assignedSlot||t.parentNode||Da(t)&&t.host||Me(t);return Da(o)?o.host:o}function Ha(t){let o=dt(t);return Jt(o)?t.ownerDocument?t.ownerDocument.body:t.body:we(o)&&$t(o)?o:Ha(o)}function No(t,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=Ha(t),s=a===((n=t.ownerDocument)==null?void 0:n.body),c=ee(a);return s?o.concat(c,c.visualViewport||[],$t(a)?a:[],c.frameElement&&r?No(c.frameElement):[]):o.concat(a,No(a,[],r))}function Fa(t){let o=le(t),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,a=we(t),s=a?t.offsetWidth:r,c=a?t.offsetHeight:n,d=Xt(r)!==s||Xt(n)!==c;return d&&(r=s,n=c),{width:r,height:n,$:d}}function Va(t){return Pe(t)?t:t.contextElement}function kt(t){let o=Va(t);if(!we(o))return ze(1);let r=o.getBoundingClientRect(),{width:n,height:a,$:s}=Fa(o),c=(s?Xt(r.width):r.width)/n,d=(s?Xt(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var oc=ze(0);function ja(t){let o=ee(t);return!Ao()||!o.visualViewport?oc:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function rc(t,o,r){return o===void 0&&(o=!1),!r||o&&r!==ee(t)?!1:o}function eo(t,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),s=Va(t),c=ze(1);o&&(n?Pe(n)&&(c=kt(n)):c=kt(t));let d=rc(s,r,n)?ja(s):ze(0),p=(a.left+d.x)/c.x,f=(a.top+d.y)/c.y,h=a.width/c.x,y=a.height/c.y;if(s){let m=ee(s),b=n&&Pe(n)?ee(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let v=kt(g),E=g.getBoundingClientRect(),N=le(g),R=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*v.x,P=E.top+(g.clientTop+parseFloat(N.paddingTop))*v.y;p*=v.x,f*=v.y,h*=v.x,y*=v.y,p+=R,f+=P,g=ee(g).frameElement}}return lt({width:h,height:y,x:p,y:f})}function nc(t){let{rect:o,offsetParent:r,strategy:n}=t,a=we(r),s=Me(r);if(r===s)return o;let c={scrollLeft:0,scrollTop:0},d=ze(1),p=ze(0);if((a||!a&&n!=="fixed")&&((We(r)!=="body"||$t(s))&&(c=Qt(r)),we(r))){let f=eo(r);d=kt(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:o.width*d.x,height:o.height*d.y,x:o.x*d.x-c.scrollLeft*d.x+p.x,y:o.y*d.y-c.scrollTop*d.y+p.y}}function ac(t){return Array.from(t.getClientRects())}function Ka(t){return eo(Me(t)).left+Qt(t).scrollLeft}function ic(t){let o=Me(t),r=Qt(t),n=t.ownerDocument.body,a=Bt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),s=Bt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ka(t),d=-r.scrollTop;return le(n).direction==="rtl"&&(c+=Bt(o.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:d}}function sc(t,o){let r=ee(t),n=Me(t),a=r.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,p=0;if(a){s=a.width,c=a.height;let f=Ao();(!f||f&&o==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:s,height:c,x:d,y:p}}function cc(t,o){let r=eo(t,!0,o==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,s=we(t)?kt(t):ze(1),c=t.clientWidth*s.x,d=t.clientHeight*s.y,p=a*s.x,f=n*s.y;return{width:c,height:d,x:p,y:f}}function Ua(t,o,r){let n;if(o==="viewport")n=sc(t,r);else if(o==="document")n=ic(Me(t));else if(Pe(o))n=cc(o,r);else{let a=ja(t);n={...o,x:o.x-a.x,y:o.y-a.y}}return lt(n)}function Za(t,o){let r=dt(t);return r===o||!Pe(r)||Jt(r)?!1:le(r).position==="fixed"||Za(r,o)}function lc(t,o){let r=o.get(t);if(r)return r;let n=No(t,[],!1).filter(d=>Pe(d)&&We(d)!=="body"),a=null,s=le(t).position==="fixed",c=s?dt(t):t;for(;Pe(c)&&!Jt(c);){let d=le(c),p=Ro(c);!p&&d.position==="fixed"&&(a=null),(s?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||$t(c)&&!p&&Za(t,c))?n=n.filter(h=>h!==c):a=d,c=dt(c)}return o.set(t,n),n}function dc(t){let{element:o,boundary:r,rootBoundary:n,strategy:a}=t,c=[...r==="clippingAncestors"?lc(o,this._c):[].concat(r),n],d=c[0],p=c.reduce((f,h)=>{let y=Ua(o,h,a);return f.top=Bt(y.top,f.top),f.right=Qr(y.right,f.right),f.bottom=Qr(y.bottom,f.bottom),f.left=Bt(y.left,f.left),f},Ua(o,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function pc(t){return Fa(t)}function fc(t,o,r){let n=we(o),a=Me(o),s=r==="fixed",c=eo(t,!0,s,o),d={scrollLeft:0,scrollTop:0},p=ze(0);if(n||!n&&!s)if((We(o)!=="body"||$t(a))&&(d=Qt(o)),n){let f=eo(o,!0,s,o);p.x=f.x+o.clientLeft,p.y=f.y+o.clientTop}else a&&(p.x=Ka(a));return{x:c.left+d.scrollLeft-p.x,y:c.top+d.scrollTop-p.y,width:c.width,height:c.height}}function Ga(t,o){return!we(t)||le(t).position==="fixed"?null:o?o(t):t.offsetParent}function qa(t,o){let r=ee(t);if(!we(t))return r;let n=Ga(t,o);for(;n&&Wa(n)&&le(n).position==="static";)n=Ga(n,o);return n&&(We(n)==="html"||We(n)==="body"&&le(n).position==="static"&&!Ro(n))?r:n||Ma(t)||r}var uc=async function(t){let{reference:o,floating:r,strategy:n}=t,a=this.getOffsetParent||qa,s=this.getDimensions;return{reference:fc(o,await a(r),n),floating:{x:0,y:0,...await s(r)}}};function hc(t){return le(t).direction==="rtl"}var Lo={convertOffsetParentRelativeRectToViewportRelativeRect:nc,getDocumentElement:Me,getClippingRect:dc,getOffsetParent:qa,getElementRects:uc,getClientRects:ac,getDimensions:pc,getScale:kt,isElement:Pe,isRTL:hc};var Ya=(t,o,r)=>{let n=new Map,a={platform:Lo,...r},s={...a.platform,_c:n};return _a(t,o,{...a,platform:s})};function Xa(t){return yc(t)}function en(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function yc(t){for(let o=t;o;o=en(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=en(t);o;o=en(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function Ja(t,o,r){return Ya(t,o,{platform:{...Lo,getOffsetParent:n=>Lo.getOffsetParent(n,Xa)},middleware:[Jr({crossAxis:!0}),Xr({allowedPlacements:[r]})]})}var Ee=function(t,o,r,n){var a=arguments.length,s=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,o,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(s=(a<3?c(s):a>3?c(o,r,s):c(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},G=class extends te.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new te.Debouncer,this.revealDebouncer=new te.Debouncer,this.onTouch=o=>{this.isIgnored(o)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=o=>{this.isIgnored(o)||this.show()},this.onFocusIn=o=>{!this.isIgnored(o)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=o=>{this.isIgnored(o)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=o=>{this.isIgnored(o)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qa.html`
|
|
169
|
+
`;var ki=["top","right","bottom","left"],Pi=["start","end"],Un=ki.reduce((e,t)=>e.concat(t,t+"-"+Pi[0],t+"-"+Pi[1]),[]),Di=Math.min,Bi=Math.max;var nd={left:"right",right:"left",bottom:"top",top:"bottom"},ad={start:"end",end:"start"};function $n(e,t,o){return Bi(e,Di(t,o))}function eo(e,t){return typeof e=="function"?e(t):e}function tr(e){return e.split("-")[0]}function dt(e){return e.split("-")[1]}function Fn(e){return e==="x"?"y":"x"}function zn(e){return e==="y"?"height":"width"}function to(e){return["top","bottom"].includes(tr(e))?"y":"x"}function Hn(e){return Fn(to(e))}function Mi(e,t,o){o===void 0&&(o=!1);let n=dt(e),a=Hn(e),i=zn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=Mn(c)),[c,Mn(c)]}function Ui(e){return e.replace(/start|end/g,t=>ad[t])}function Mn(e){return e.replace(/left|right|bottom|top/g,t=>nd[t])}function id(e){return{top:0,right:0,bottom:0,left:0,...e}}function $i(e){return typeof e!="number"?id(e):{top:e,right:e,bottom:e,left:e}}function Nt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Fi(e,t,o){let{reference:n,floating:a}=e,i=to(t),c=Hn(t),l=zn(c),p=tr(t),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,S;switch(p){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-a.width,y:h};break;default:S={x:n.x,y:n.y}}switch(dt(t)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var zi=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,l=i.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(t)),u=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:h}=Fi(u,n,p),g=n,S={},x=0;for(let O=0;O<l.length;O++){let{name:T,fn:R}=l[O],{x:N,y:D,data:U,reset:$}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:t}});m=N??m,h=D??h,S={...S,[T]:{...S[T],...U}},$&&x<=50&&(x++,typeof $=="object"&&($.placement&&(g=$.placement),$.rects&&(u=$.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:m,y:h}=Fi(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function Wn(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:c,elements:l,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=eo(t,e),x=$i(S),T=l[g?h==="floating"?"reference":"floating":h],R=Nt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(T)))==null||o?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),N=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(D))?await(i.getScale==null?void 0:i.getScale(D))||{x:1,y:1}:{x:1,y:1},$=Nt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:D,strategy:p}):N);return{top:(R.top-$.top+x.top)/U.y,bottom:($.bottom-R.bottom+x.bottom)/U.y,left:(R.left-$.left+x.left)/U.x,right:($.right-R.right+x.right)/U.x}}function sd(e,t,o){return(e?[...o.filter(a=>dt(a)===e),...o.filter(a=>dt(a)!==e)]:o.filter(a=>tr(a)===a)).filter(a=>e?dt(a)===e||(t?Ui(a)!==a:!1):!0)}var Gn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:p,elements:u}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:g=Un,autoAlignment:S=!0,...x}=eo(e,t),O=h!==void 0||g===Un?sd(h||null,S,g):g,T=await Wn(t,x),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let D=Mi(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==N)return{reset:{placement:O[0]}};let U=[T[tr(N)],T[D[0]],T[D[1]]],$=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],he=O[R+1];if(he)return{data:{index:R+1,overflows:$},reset:{placement:he}};let Ke=$.map(ie=>{let y=dt(ie.placement);return[ie.placement,y&&m?ie.overflows.slice(0,2).reduce((b,P)=>b+P,0):ie.overflows[0],ie.overflows]}).sort((ie,y)=>ie[1]-y[1]),Ve=((a=Ke.filter(ie=>ie[2].slice(0,dt(ie[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Ke[0][0];return Ve!==l?{data:{index:R+1,overflows:$},reset:{placement:Ve}}:{}}}};var jn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:T=>{let{x:R,y:N}=T;return{x:R,y:N}}},...p}=eo(e,t),u={x:o,y:n},m=await Wn(t,p),h=to(tr(a)),g=Fn(h),S=u[g],x=u[h];if(i){let T=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[T],D=S-m[R];S=$n(N,S,D)}if(c){let T=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=x+m[T],D=x-m[R];x=$n(N,x,D)}let O=l.fn({...t,[g]:S,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var Kn=Math.min,rr=Math.max,Or=Math.round;var ot=e=>({x:e,y:e});function nt(e){return Wi(e)?(e.nodeName||"").toLowerCase():"#document"}function ye(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function at(e){var t;return(t=(Wi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Wi(e){return e instanceof Node||e instanceof ye(e).Node}function qe(e){return e instanceof Element||e instanceof ye(e).Element}function $e(e){return e instanceof HTMLElement||e instanceof ye(e).HTMLElement}function Hi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ye(e).ShadowRoot}function or(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Gi(e){return["table","td","th"].includes(nt(e))}function oo(e){let t=no(),o=Se(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ji(e){let t=Lt(e);for(;$e(t)&&!Er(t);){if(oo(t))return t;t=Lt(t)}return null}function no(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Er(e){return["html","body","#document"].includes(nt(e))}function Se(e){return ye(e).getComputedStyle(e)}function Ar(e){return qe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Lt(e){if(nt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Hi(e)&&e.host||at(e);return Hi(t)?t.host:t}function Ki(e){let t=Lt(e);return Er(t)?e.ownerDocument?e.ownerDocument.body:e.body:$e(t)&&or(t)?t:Ki(t)}function ro(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Ki(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=ye(a);return i?t.concat(c,c.visualViewport||[],or(a)?a:[],c.frameElement&&o?ro(c.frameElement):[]):t.concat(a,ro(a,[],o))}function qi(e){let t=Se(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=$e(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=Or(o)!==i||Or(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function Yi(e){return qe(e)?e:e.contextElement}function nr(e){let t=Yi(e);if(!$e(t))return ot(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=qi(t),c=(i?Or(o.width):o.width)/n,l=(i?Or(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var dd=ot(0);function Xi(e){let t=ye(e);return!no()||!t.visualViewport?dd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ye(e)?!1:t}function wr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Yi(e),c=ot(1);t&&(n?qe(n)&&(c=nr(n)):c=nr(e));let l=pd(i,o,n)?Xi(i):ot(0),p=(a.left+l.x)/c.x,u=(a.top+l.y)/c.y,m=a.width/c.x,h=a.height/c.y;if(i){let g=ye(i),S=n&&qe(n)?ye(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let O=nr(x),T=x.getBoundingClientRect(),R=Se(x),N=T.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,D=T.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=N,u+=D,x=ye(x).frameElement}}return Nt({width:m,height:h,x:p,y:u})}function ud(e){let{rect:t,offsetParent:o,strategy:n}=e,a=$e(o),i=at(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},l=ot(1),p=ot(0);if((a||!a&&n!=="fixed")&&((nt(o)!=="body"||or(i))&&(c=Ar(o)),$e(o))){let u=wr(o);l=nr(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-c.scrollLeft*l.x+p.x,y:t.y*l.y-c.scrollTop*l.y+p.y}}function fd(e){return Array.from(e.getClientRects())}function Ji(e){return wr(at(e)).left+Ar(e).scrollLeft}function hd(e){let t=at(e),o=Ar(e),n=e.ownerDocument.body,a=rr(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=rr(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ji(e),l=-o.scrollTop;return Se(n).direction==="rtl"&&(c+=rr(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function yd(e,t){let o=ye(e),n=at(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,p=0;if(a){i=a.width,c=a.height;let u=no();(!u||u&&t==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:l,y:p}}function md(e,t){let o=wr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=$e(e)?nr(e):ot(1),c=e.clientWidth*i.x,l=e.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:c,height:l,x:p,y:u}}function Vi(e,t,o){let n;if(t==="viewport")n=yd(e,o);else if(t==="document")n=hd(at(e));else if(qe(t))n=md(t,o);else{let a=Xi(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Nt(n)}function Qi(e,t){let o=Lt(e);return o===t||!qe(o)||Er(o)?!1:Se(o).position==="fixed"||Qi(o,t)}function gd(e,t){let o=t.get(e);if(o)return o;let n=ro(e,[],!1).filter(l=>qe(l)&&nt(l)!=="body"),a=null,i=Se(e).position==="fixed",c=i?Lt(e):e;for(;qe(c)&&!Er(c);){let l=Se(c),p=oo(c);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||or(c)&&!p&&Qi(e,c))?n=n.filter(m=>m!==c):a=l,c=Lt(c)}return t.set(e,n),n}function bd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?gd(t,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=Vi(t,m,a);return u.top=rr(h.top,u.top),u.right=Kn(h.right,u.right),u.bottom=Kn(h.bottom,u.bottom),u.left=rr(h.left,u.left),u},Vi(t,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function xd(e){return qi(e)}function vd(e,t,o){let n=$e(t),a=at(t),i=o==="fixed",c=wr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},p=ot(0);if(n||!n&&!i)if((nt(t)!=="body"||or(a))&&(l=Ar(t)),n){let u=wr(t,!0,i,t);p.x=u.x+t.clientLeft,p.y=u.y+t.clientTop}else a&&(p.x=Ji(a));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function Zi(e,t){return!$e(e)||Se(e).position==="fixed"?null:t?t(e):e.offsetParent}function es(e,t){let o=ye(e);if(!$e(e))return o;let n=Zi(e,t);for(;n&&Gi(n)&&Se(n).position==="static";)n=Zi(n,t);return n&&(nt(n)==="html"||nt(n)==="body"&&Se(n).position==="static"&&!oo(n))?o:n||ji(e)||o}var Sd=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||es,i=this.getDimensions;return{reference:vd(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Cd(e){return Se(e).direction==="rtl"}var ao={convertOffsetParentRelativeRectToViewportRelativeRect:ud,getDocumentElement:at,getClippingRect:bd,getOffsetParent:es,getElementRects:Sd,getClientRects:fd,getDimensions:xd,getScale:nr,isElement:qe,isRTL:Cd};var ts=(e,t,o)=>{let n=new Map,a={platform:ao,...o},i={...a.platform,_c:n};return zi(e,t,{...a,platform:i})};function rs(e){return Od(e)}function Vn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Od(e){for(let t=e;t;t=Vn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Vn(e);t;t=Vn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function os(e,t,o){return ts(e,t,{platform:{...ao,getOffsetParent:n=>ao.getOffsetParent(n,rs)},middleware:[jn({crossAxis:!0}),Gn({allowedPlacements:[o]})]})}var yr=v(_());var Gc=v(_());var Vs=v(W()),ce=v(X()),Fe=v(_());var ns=v(W());var as=ns.css`
|
|
170
|
+
`;var io=v(_()),Ed="ft-app-info",It=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};It.eventName="authentication-change";var Ad={session:(e,t)=>{(0,io.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>L.dispatchEvent(new It(t.payload)),0))}},L=io.FtReduxStore.get({name:Ed,reducers:Ad,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Zn=v(_());var _t=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=L.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var so=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:_t.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):_t.await()}};var Ce=class extends so{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(i,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([l],[p])=>l.localeCompare(p)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Zn.CacheRegistry,this.cache=t?a.commonCache:new Zn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var co=class extends Ce{async listMyBookmarks(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var qn=class{addCommand(t,o=!1){L.commands.add(t,o)}consumeCommand(t){return L.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new qn;var Re=v(_());var is,ar=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},wd=Symbol("clearAfterUnitTest"),lo=class extends(0,Re.withEventBus)(Ce){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[is]=()=>{this.defaultMessages={},this.cache=new Re.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=L.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Re.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),c=this.resolveContext(i);return new Re.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Re.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new ar({loadedContexts:t})),this.dispatchEvent(new ar({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new ar({loadedContexts:[t]})),this.dispatchEvent(new ar({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Re.delay)(0).then(()=>n()).catch(()=>null)))}};is=wd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends lo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends lo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Rr=window.FluidTopicsI18nService,Yn=window.FluidTopicsCustomI18nService;var ss=v(_()),Xn=class{highlightHtml(t,o,n){(0,ss.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Xn;var Td=v(ls(),1);var ds;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ds||(ds={}));var ps;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ps||(ps={}));var us;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(us||(us={}));var fs;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(fs||(fs={}));var hs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(hs||(hs={}));var ys;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ys||(ys={}));var ms;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(ms||(ms={}));var gs;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(gs||(gs={}));var bs;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(bs||(bs={}));var xs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(xs||(xs={}));var vs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(vs||(vs={}));var Ss;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ss||(Ss={}));var Cs;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Cs||(Cs={}));var Os;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Os||(Os={}));var Es;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Es||(Es={}));var As;(function(e){e.ASC="ASC",e.DESC="DESC"})(As||(As={}));var ws;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ws||(ws={}));var Rs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Rs||(Rs={}));var Ts;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Ts||(Ts={}));var Ns;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ns||(Ns={}));var Ls;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ls||(Ls={}));var Is;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Is||(Is={}));var _s;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(_s||(_s={}));var Ps;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ps||(Ps={}));var ks;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ks||(ks={}));var oe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(oe||(oe={}));var Te;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Te||(Te={}));var Ds;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ds||(Ds={}));var Bs;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Bs||(Bs={}));var Ms;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(Ms||(Ms={}));var Us;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Us||(Us={}));var $s;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})($s||($s={}));var Rd={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Fs(e,t){return e===t||(Rd[e]??[]).some(o=>Fs(o,t))}function zs(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Fs(n,t))}var fo=class extends Ce{async listMySearches(){let{session:t}=L.getState();return zs(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Hs=v(_());var Jn=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return Hs.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Jn;var Ws=v(_());var Tr=class{static get(t,o){var n,a;let i=L.getState(),{lang:c,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Ws.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,o??`${c}-${l}`)}};var Qn=class{urlToSearchRequest(t){return Tr.get().parse(t)}searchRequestToUrl(t){return Tr.get().serialize(t)}};window.FluidTopicsUrlService=new Qn;var ut=v(_());var Pt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Pt.eventName="change";var ea=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Gs=new ea;var ho=class e extends ut.WithEventBus{static build(){return new e(window.history,Gs,()=>window.location,!1)}constructor(t,o,n,a){var i,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ut.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Pt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,c,l])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...i,index:p,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,c,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Pt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Pt.eventName,t)}currentItem(){return(0,ut.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,ut.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,ut.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ho.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var js=L;function Ks(e,t){var o;return js.getState().authenticationRequired&&!(!((o=js.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):e()}var ne=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},G=class extends Fe.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>_t.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Fe.CacheRegistry,this.cleanSessionDebouncer=new Fe.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Vs.html`
|
|
171
|
+
<slot></slot>
|
|
172
|
+
`}connectedCallback(){super.connectedCallback(),L.addEventListener(It.eventName,this.reloadConfiguration)}disconnectedCallback(){L.addEventListener(It.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,c,l,p;super.update(t),t.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&L.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&L.actions.noCustom(this.noCustom),t.has("editorMode")&&L.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&L.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Rr.addContext(u)),t.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&L.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&L.actions.availableContentLocales((p=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Ks(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};G.elementDefinitions={};G.styles=as;ne([(0,ce.property)()],G.prototype,"baseUrl",void 0);ne([(0,ce.property)()],G.prototype,"apiIntegrationIdentifier",void 0);ne([(0,ce.property)()],G.prototype,"apiIntegrationAppVersion",void 0);ne([(0,ce.property)()],G.prototype,"uiLocale",void 0);ne([(0,Fe.jsonProperty)(null)],G.prototype,"availableUiLocales",void 0);ne([(0,Fe.jsonProperty)(null)],G.prototype,"metadataConfiguration",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"editorMode",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"noCustom",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"openExternalDocumentInNewTab",void 0);ne([(0,ce.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],G.prototype,"noCustomComponent",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"withManualResources",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"navigatorOnline",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"forcedOffline",void 0);ne([(0,ce.property)({type:Object})],G.prototype,"apiProvider",void 0);ne([(0,ce.property)({type:Boolean})],G.prototype,"authenticationRequired",void 0);ne([(0,Fe.jsonProperty)([])],G.prototype,"messageContexts",void 0);ne([(0,Fe.jsonProperty)(void 0)],G.prototype,"session",void 0);ne([(0,ce.state)()],G.prototype,"localesConfiguration",void 0);ne([(0,ce.state)()],G.prototype,"availableContentLocales",void 0);var Aa=v(X());function Nd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!yo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!yo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!yo(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function yo(e,t){try{return Nd(e,t)}catch{return!1}}function Nr(e,t){return!yo(e,t)}function mo(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Zs=v(X(),1);var ta=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Nr,attribute:!1,...t};(0,Zs.property)(i)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var go=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var kt=v(X(),1);var qs=v(X(),1);function Ys(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,qs.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:Nr,...t??{}})}var bo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Js=v(W(),1);var xo=globalThis,Ld=xo.ShadowRoot&&(xo.ShadyCSS===void 0||xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zb=Symbol();var Xs=(e,t)=>{if(Ld)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=xo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var vo=class extends Js.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Xs(n,t.elementStyles),n}};function Qs(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var cr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},oc,ec=Symbol("constructorPrototype"),tc=Symbol("constructorName"),nc=Symbol("exportpartsDebouncer"),rc=Symbol("dynamicDependenciesLoaded"),sr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};sr.eventName="exportparts-updated";var Ye=class extends vo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[oc]=new bo(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[nc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[tc]=this.constructor.name,this[ec]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[tc]&&Object.setPrototypeOf(this,this[ec])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[rc]||(o[rc]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(sr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(sr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new sr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Qs(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var o,n,a,i,c,l;let p=g=>g!=null&&g.trim().length>0,u=t.filter(p).map(g=>g.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(T=>T.split(":")[1]))!==null&&l!==void 0?l:[],O=[...S,...x].filter(p).map(T=>T.trim());for(let T of O)m.add(T)}if(m.size===0){this.exportparts=void 0;return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.exportparts=[...this.part,...h].join(", ")}};oc=nc;cr([(0,kt.property)()],Ye.prototype,"exportpartsPrefix",void 0);cr([Ys([])],Ye.prototype,"exportpartsPrefixes",void 0);cr([(0,kt.property)({reflect:!0})],Ye.prototype,"exportparts",void 0);cr([(0,kt.property)()],Ye.prototype,"customStylesheet",void 0);cr([(0,kt.property)()],Ye.prototype,"elementToFocus",void 0);cr([(0,kt.state)()],Ye.prototype,"useAdoptedStyleSheets",void 0);function So(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Lr=Symbol("internalReduxEventsUnsubscribers"),ft=Symbol("internalStoresUnsubscribers"),Dt=Symbol("internalStores"),Id=mo(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(l=>c.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Dt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Dt].get(c)}addStore(c,l){var p;l=(p=l??c.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(l),this[Dt].set(l,c),this.subscribeToStore(l,c),this.updateFromStores()}removeStore(c){let l=typeof c=="string"?c:c.name;this.unsubscribeFromStore(l),this[Dt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Dt].forEach((c,l)=>this.subscribeToStore(l,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,l)=>{let p=this.constructor.getPropertyOptions(l);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:l)){let u=this.getStore(c.store);u&&(c.store?this[ft].has(c.store):this[ft].size>0)&&(this[l]=c.selector(u.getState(),this))}})}subscribeToStore(c,l){var p;this[ft].set(c,l.subscribe(()=>this.updateFromStores())),this[Lr].set(c,[]),So(l)&&l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let h=g=>this[m](g);l.addEventListener(u.eventName,h),this[Lr].get(c).push(()=>l.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[ft].forEach((c,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(c){var l;this[ft].has(c)&&this[ft].get(c)(),this[ft].delete(c),(l=this[Lr].get(c))===null||l===void 0||l.forEach(p=>p()),this[Lr].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ft,o=Dt,n=Lr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),ac=class extends Id(Ye){};function Ne(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function it(e){return!!e&&!!e[j]}function ze(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===$d}(e)||Array.isArray(e)||!!e[uc]||!!(!((t=e.constructor)===null||t===void 0)&&t[uc])||da(e)||pa(e))}function Bt(e,t,o){o===void 0&&(o=!1),pr(e)===0?(o?Object.keys:dr)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function pr(e){var t=e[j];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:da(e)?2:pa(e)?3:0}function lr(e,t){return pr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function _d(e,t){return pr(e)===2?e.get(t):e[t]}function fc(e,t,o){var n=pr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function hc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function da(e){return Md&&e instanceof Map}function pa(e){return Ud&&e instanceof Set}function ht(e){return e.o||e.t}function ua(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=gc(e);delete t[j];for(var o=dr(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function fa(e,t){return t===void 0&&(t=!1),ha(e)||it(e)||!ze(e)||(pr(e)>1&&(e.set=e.add=e.clear=e.delete=Pd),Object.freeze(e),t&&Bt(e,function(o,n){return fa(n,!0)},!0)),e}function Pd(){Ne(2)}function ha(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xe(e){var t=la[e];return t||Ne(18,e),t}function kd(e,t){la[e]||(la[e]=t)}function ia(){return _r}function ra(e,t){t&&(Xe("Patches"),e.u=[],e.s=[],e.v=t)}function Co(e){sa(e),e.p.forEach(Dd),e.p=null}function sa(e){e===_r&&(_r=e.l)}function ic(e){return _r={p:[],l:_r,h:e,m:!0,_:0}}function Dd(e){var t=e[j];t.i===0||t.i===1?t.j():t.g=!0}function oa(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Xe("ES5").S(t,e,n),n?(o[j].P&&(Co(t),Ne(4)),ze(e)&&(e=Oo(t,e),t.l||Eo(t,e)),t.u&&Xe("Patches").M(o[j].t,e,t.u,t.s)):e=Oo(t,o,[]),Co(t),t.u&&t.v(t.u,t.s),e!==mc?e:void 0}function Oo(e,t,o){if(ha(t))return t;var n=t[j];if(!n)return Bt(t,function(l,p){return sc(e,n,t,l,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Eo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ua(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Bt(i,function(l,p){return sc(e,n,a,l,p,o,c)}),Eo(e,a,!1),o&&e.u&&Xe("Patches").N(n,o,e.u,e.s)}return n.o}function sc(e,t,o,n,a,i,c){if(it(a)){var l=Oo(e,a,i&&t&&t.i!==3&&!lr(t.R,n)?i.concat(n):void 0);if(fc(o,n,l),!it(l))return;e.m=!1}else c&&o.add(a);if(ze(a)&&!ha(a)){if(!e.h.D&&e._<1)return;Oo(e,a),t&&t.A.l||Eo(e,a)}}function Eo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&fa(t,o)}function na(e,t){var o=e[j];return(o?ht(o):e)[t]}function cc(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function yt(e){e.P||(e.P=!0,e.l&&yt(e.l))}function aa(e){e.o||(e.o=ua(e.t))}function ca(e,t,o){var n=da(t)?Xe("MapSet").F(t,o):pa(t)?Xe("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:ia(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=Pr;c&&(p=[l],u=Ir);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(t,o):Xe("ES5").J(t,o);return(o?o.A:ia()).p.push(n),n}function Bd(e){return it(e)||Ne(22,e),function t(o){if(!ze(o))return o;var n,a=o[j],i=pr(o);if(a){if(!a.P&&(a.i<4||!Xe("ES5").K(a)))return a.t;a.I=!0,n=lc(o,i),a.I=!1}else n=lc(o,i);return Bt(n,function(c,l){a&&_d(a.t,c)===l||fc(n,c,t(l))}),i===3?new Set(n):n}(e)}function lc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ua(e)}function yc(){function e(c,l){var p=i[c];return p?p.enumerable=l:i[c]=p={configurable:!0,enumerable:l,get:function(){var u=this[j];return Pr.get(u,c)},set:function(u){var m=this[j];Pr.set(m,c,u)}},p}function t(c){for(var l=c.length-1;l>=0;l--){var p=c[l][j];if(!p.P)switch(p.i){case 5:n(p)&&yt(p);break;case 4:o(p)&&yt(p)}}}function o(c){for(var l=c.t,p=c.k,u=dr(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==j){var g=l[h];if(g===void 0&&!lr(l,h))return!0;var S=p[h],x=S&&S[j];if(x?x.t!==g:!hc(S,g))return!0}}var O=!!l[j];return u.length!==dr(l).length+(O?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(c){c.g&&Ne(3,JSON.stringify(ht(c)))}var i={};kd("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var O=gc(g);delete O[j];for(var T=dr(O),R=0;R<T.length;R++){var N=T[R];O[N]=e(N,h||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:ia(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:m,writable:!0}),u},S:function(c,l,p){p?it(l)&&l[j].A===c&&t(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[j];if(h){var g=h.t,S=h.k,x=h.R,O=h.i;if(O===4)Bt(S,function(U){U!==j&&(g[U]!==void 0||lr(g,U)?x[U]||u(S[U]):(x[U]=!0,yt(h)))}),Bt(g,function(U){S[U]!==void 0||lr(S,U)||(x[U]=!1,yt(h))});else if(O===5){if(n(h)&&(yt(h),x.length=!0),S.length<g.length)for(var T=S.length;T<g.length;T++)x[T]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),D=0;D<N;D++)S.hasOwnProperty(D)||(x[D]=!0),x[D]===void 0&&u(S[D])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var dc,_r,ya=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Md=typeof Map<"u",Ud=typeof Set<"u",pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",mc=ya?Symbol.for("immer-nothing"):((dc={})["immer-nothing"]=!0,dc),uc=ya?Symbol.for("immer-draftable"):"__$immer_draftable",j=ya?Symbol.for("immer-state"):"__$immer_state";var $d=""+Object.prototype.constructor,dr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,gc=Object.getOwnPropertyDescriptors||function(e){var t={};return dr(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},la={},Pr={get:function(e,t){if(t===j)return e;var o=ht(e);if(!lr(o,t))return function(a,i,c){var l,p=cc(i,c);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!ze(n)?n:n===na(e.t,t)?(aa(e),e.o[t]=ca(e.A.h,n,e)):n},has:function(e,t){return t in ht(e)},ownKeys:function(e){return Reflect.ownKeys(ht(e))},set:function(e,t,o){var n=cc(ht(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=na(ht(e),t),i=a?.[j];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(hc(o,a)&&(o!==void 0||lr(e.t,t)))return!0;aa(e),yt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return na(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,aa(e),yt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ht(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Ne(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ne(12)}},Ir={};Bt(Pr,function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,o){return Pr.set.call(this,e[0],t,o,e[0])};var Fd=function(){function e(o){var n=this;this.O=pc,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(O){var T=this;O===void 0&&(O=l);for(var R=arguments.length,N=Array(R>1?R-1:0),D=1;D<R;D++)N[D-1]=arguments[D];return p.produce(O,function(U){var $;return($=i).call.apply($,[T,U].concat(N))})}}var u;if(typeof i!="function"&&Ne(6),c!==void 0&&typeof c!="function"&&Ne(7),ze(a)){var m=ic(n),h=ca(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?Co(m):sa(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return ra(m,c),oa(O,m)},function(O){throw Co(m),O}):(ra(m,c),oa(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===mc&&(u=void 0),n.D&&fa(u,!0),c){var S=[],x=[];Xe("Patches").M(a,u,S,x),c(S,x)}return u}Ne(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(h))})};var c,l,p=n.produce(a,i,function(u,m){c=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,l]}):[p,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){ze(o)||Ne(8),it(o)&&(o=Bd(o));var n=ic(this),a=ca(this,o,void 0);return a[j].C=!0,sa(n),a},t.finishDraft=function(o,n){var a=o&&o[j],i=a.A;return ra(i,n),oa(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!pc&&Ne(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=Xe("Patches").$;return it(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Oe=new Fd,zd=Oe.produce,lx=Oe.produceWithPatches.bind(Oe),dx=Oe.setAutoFreeze.bind(Oe),px=Oe.setUseProxies.bind(Oe),ux=Oe.applyPatches.bind(Oe),fx=Oe.createDraft.bind(Oe),hx=Oe.finishDraft.bind(Oe),Ao=zd;function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function bc(e,t){if(Mt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Mt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xc(e){var t=bc(e,"string");return Mt(t)=="symbol"?t:t+""}function vc(e,t,o){return(t=xc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Sc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function ma(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Sc(Object(o),!0).forEach(function(n){vc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Sc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Cc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ga=function(){return Math.random().toString(36).substring(7).split("").join(".")},wo={INIT:"@@redux/INIT"+ga(),REPLACE:"@@redux/REPLACE"+ga(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ga()}};function Hd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ba(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(ba)(e,t)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=t,c=[],l=c,p=!1;function u(){l===c&&(l=c.slice())}function m(){if(p)throw new Error(pe(3));return i}function h(O){if(typeof O!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var T=!0;return u(),l.push(O),function(){if(T){if(p)throw new Error(pe(6));T=!1,u();var N=l.indexOf(O);l.splice(N,1),c=null}}}function g(O){if(!Hd(O))throw new Error(pe(7));if(typeof O.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var T=c=l,R=0;R<T.length;R++){var N=T[R];N()}return O}function S(O){if(typeof O!="function")throw new Error(pe(10));a=O,g({type:wo.REPLACE})}function x(){var O,T=h;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function D(){N.next&&N.next(m())}D();var U=T(D);return{unsubscribe:U}}},O[Cc]=function(){return this},O}return g({type:wo.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[Cc]=x,n}function Wd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:wo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:wo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function Oc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,l;try{Wd(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,S={},x=0;x<i.length;x++){var O=i[x],T=o[O],R=u[O],N=T(R,m);if(typeof N>"u"){var D=m&&m.type;throw new Error(pe(14))}S[O]=N,g=g||N!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function ur(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Ec(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(p){return p(c)});return i=ur.apply(void 0,l)(a.dispatch),ma(ma({},a),{},{dispatch:i})}}}function Ac(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,i,e):c(l)}}};return t}var wc=Ac();wc.withExtraArgument=Ac;var xa=wc;var Ic=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Gd=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},fr=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},jd=Object.defineProperty,Kd=Object.defineProperties,Vd=Object.getOwnPropertyDescriptors,Rc=Object.getOwnPropertySymbols,Zd=Object.prototype.hasOwnProperty,qd=Object.prototype.propertyIsEnumerable,Tc=function(e,t,o){return t in e?jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},mt=function(e,t){for(var o in t||(t={}))Zd.call(t,o)&&Tc(e,o,t[o]);if(Rc)for(var n=0,a=Rc(t);n<a.length;n++){var o=a[n];qd.call(t,o)&&Tc(e,o,t[o])}return e},va=function(e,t){return Kd(e,Vd(t))},Yd=function(e,t,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},c=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,c)};l((o=o.apply(e,t)).next())})};var Xd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ur:ur.apply(null,arguments)},_x=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Jd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Qd=function(e){Ic(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,fr([void 0],o[0].concat(this)))):new(t.bind.apply(t,fr([void 0],o.concat(this))))},t}(Array),ep=function(e){Ic(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,fr([void 0],o[0].concat(this)))):new(t.bind.apply(t,fr([void 0],o.concat(this))))},t}(Array);function Oa(e){return ze(e)?Ao(e,function(){}):e}function tp(e){return typeof e=="boolean"}function rp(){return function(t){return op(t)}}function op(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,l=new Qd;if(o&&(tp(o)?l.push(xa):l.push(xa.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return l}var Sa=!0;function _c(e){var t=rp(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?t():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(Jd(a))S=Oc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=c;if(typeof x=="function"&&(x=x(t),!Sa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Sa&&x.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ec.apply(void 0,x),T=ur;p&&(T=Xd(mt({trace:!Sa},typeof p=="object"&&p)));var R=new ep(O),N=R;Array.isArray(g)?N=fr([O],g):typeof g=="function"&&(N=g(R));var D=T.apply(void 0,N);return ba(S,m,D)}function gt(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return mt(mt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Pc(e){var t={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function np(e){return typeof e=="function"}function ap(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Pc(t):[t,o,n],i=a[0],c=a[1],l=a[2],p;if(np(e))p=function(){return Oa(e())};else{var u=Oa(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=fr([i[g.type]],c.filter(function(x){var O=x.matcher;return O(g)}).map(function(x){var O=x.reducer;return O}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,O){if(O)if(it(x)){var T=x,R=O(T,g);return R===void 0?x:R}else{if(ze(x))return Ao(x,function(N){return O(N,g)});var R=O(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=p,m}function ip(e,t){return e+"/"+t}function kc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Oa(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(m){var h=n[m],g=ip(t,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,l[m]=x?gt(g,x):gt(g)});function p(){var m=typeof e.extraReducers=="function"?Pc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,O=m[2],T=O===void 0?void 0:O,R=mt(mt({},g),c);return ap(o,function(N){for(var D in R)N.addCase(D,R[D]);for(var U=0,$=x;U<$.length;U++){var he=$[U];N.addMatcher(he.matcher,he.reducer)}T&&N.addDefaultCase(T)})}var u;return{name:t,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var sp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=sp[Math.random()*64|0];return t},lp=["name","message","stack","code"],Ca=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Nc=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),dp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=lp;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Bx=function(){function e(t,o,n){var a=gt(t+"/fulfilled",function(m,h,g,S){return{payload:m,meta:va(mt({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=gt(t+"/pending",function(m,h,g){return{payload:void 0,meta:va(mt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=gt(t+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||dp)(m||"Rejected"),meta:va(mt({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,g,S){var x=n?.idGenerator?n.idGenerator(m):cp(),O=new p,T,R=!1;function N(U){T=U,O.abort()}var D=function(){return Yd(this,null,function(){var U,$,he,Ke,fe,Ve,ie;return Gd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Ke=(U=n?.condition)==null?void 0:U.call(n,m,{getState:g,extra:S}),up(Ke)?[4,Ke]:[3,2];case 1:Ke=y.sent(),y.label=2;case 2:if(Ke===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,fe=new Promise(function(b,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:T||"Aborted"})})}),h(i(x,m,($=n?.getPendingMeta)==null?void 0:$.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([fe,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(b,P){return new Ca(b,P)},fulfillWithValue:function(b,P){return new Nc(b,P)}})).then(function(b){if(b instanceof Ca)throw b;return b instanceof Nc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return he=y.sent(),[3,5];case 4:return Ve=y.sent(),he=Ve instanceof Ca?c(null,x,m,Ve.payload,Ve.meta):c(Ve,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(he)&&he.meta.condition,ie||h(he),[2,he]}})})}();return Object.assign(D,{abort:N,requestId:x,arg:m,unwrap:function(){return D.then(pp)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function pp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function up(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dc="listener",Bc="completed",Mc="cancelled",Mx="task-"+Mc,Ux="task-"+Bc,$x=Dc+"-"+Mc,Fx=Dc+"-"+Bc;var Ea="listenerMiddleware";var zx=gt(Ea+"/add"),Hx=gt(Ea+"/removeAll"),Wx=gt(Ea+"/remove");var Lc,Gx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Lc||(Lc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},fp=function(e){return function(t){setTimeout(t,e)}},jx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:fp(10);yc();var hp=mo(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),Ro=class extends hp(Object){};window.ftReduxStores||(window.ftReduxStores={});var Uc=class e extends Ro{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(So(i))return i;if(a==null)return;let c=kc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=_c({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[a.name]=new e(c,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new go;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,l)=>{let p=c,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var To=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,o,n,a)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a){let i=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(i);if(!a)return c;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(i);return`${c} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var $c=v(_()),No=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Fc=(0,$c.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(L)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>To.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return No([(0,Aa.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),No([(0,Aa.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),No([ta({store:L.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),No([ta({store:L.name})],t.prototype,"uiLocale",void 0),t});var _o=v(_());var Lo=class extends Ce{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=L.getState().session;return!!t?.sessionAuthenticated}};var Io=class extends Ce{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=L.getState().session;return!!t?.sessionAuthenticated}};var yp="ft-user-assets",mp={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Te).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;Ra(e,o,[...wa(e,o),a]),zc(e,o,1,n),Hc(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;Ra(e,o,wa(e,o).map(a=>a.id===n.id?n:a)),Hc(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;Ra(e,o,wa(e,o).filter(i=>i.id!==a)),zc(e,o,-1,n)}},Wc={[Te.SEARCHES]:"savedSearches",[Te.BOOKMARKS]:"bookmarks",[Te.BOOKS]:void 0,[Te.COLLECTIONS]:void 0},wa=(e,t)=>{var o;let n=Wc[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},Ra=(e,t,o)=>{let n=Wc[t];n&&(e[n]=o)},zc=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===Te.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+o)}},Hc=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},Ee=_o.FtReduxStore.get({name:yp,reducers:mp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Te).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ta=class{constructor(t=new Lo,o=new Io){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new co,this.savedSearchesService=new fo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=L.getState();(0,_o.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Ee.actions.clearAssetCount(),Ee.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ee.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ee.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Ee.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Ee.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Ee.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Ee.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Ee.getState().assetCounts.bookmarkByMap).length!==0;t===Te.BOOKMARKS&&o&&Ee.actions.clearBookmarkCountByMap(),Ee.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ee.actions.bookmarks(o)}}},gp=new Ta;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=gp);(0,Gc.customElement)("ft-app-context")(G);var jc=v(X());var Na=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,a]=t.split(".");return{context:n,key:a,custom:!0,message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},hr=new Na;var bp=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Dr=Symbol("i18nAttributes"),Kc=Symbol("i18nListAttributes"),Vc=Symbol("i18nProperties"),Po=Symbol("i18nContexts"),kr=Symbol("i18nUnsubs"),Zc=(0,yr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Yn:Rr}i18n(i){let{context:c,key:l,message:p}=i,{custom:u,args:m,argsProvider:h}=i;if(c&&l){this.hasI18nContext(c)||this.addI18nContext(c,void 0,u);let g=m??(h?h(this):[]);return this.getI18nService(u).resolveMessage(c,l,...g)}return p}async awaitI18n(i){let{context:c,custom:l}=i;return c&&await this.getI18nService(l).prepareContext(c),this.i18n(i)}customI18n(i,c){if(hr.isI18nKey(i)){let[l,p]=i.split(".");return this.i18n({custom:!0,context:l,key:p,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,l,p)=>i.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,l,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,l;let p=this,u=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...m})}:g;(c=this[Dr])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[Kc])===null||l===void 0||l.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(i){var c;(c=this[Vc])===null||c===void 0||c.forEach((l,p)=>{i(l,p)&&(this[p]=this.i18n(l))})}addI18nMessages(i,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,l)}addI18nContext(i,c,l){let p=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[Po].set(p,{isCustomContext:l}),this[kr].has(p)||this[kr].set(p,this.getI18nService(l).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(l).prepareContext(p,c)}hasI18nContext(i){return this[Po].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Po].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[kr].forEach(i=>i()),this[kr].clear()}}return t=Po,o=kr,bp([(0,jc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),ko=class extends Zc(yr.FtLitElement){},Do=class extends Zc(yr.FtLitElementRedux){};var qc=v(_());var La=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?hr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},xp=new La;var Yc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:qc.hasChanged,converter:hr,...t}),o[Dr]=(a=o[Dr])!==null&&a!==void 0?a:new Map,o[Dr].set(n,e??{})};var Qc=v(_());var Bo=v(W()),Mo=v(X()),Uo=v(_());var Xc=v(W());var Jc=Xc.css`
|
|
173
|
+
`;var Br=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},He=class extends Do{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Bo.nothing:Bo.html`
|
|
174
|
+
<span class="ft-i18n">
|
|
175
|
+
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
176
|
+
</span>
|
|
177
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};He.elementDefinitions={};He.styles=Jc;Br([(0,Uo.redux)()],He.prototype,"editorMode",void 0);Br([(0,Mo.property)()],He.prototype,"context",void 0);Br([(0,Mo.property)()],He.prototype,"key",void 0);Br([(0,Uo.jsonProperty)([])],He.prototype,"args",void 0);Br([(0,Mo.property)()],He.prototype,"defaultMessage",void 0);(0,Qc.customElement)("ft-i18n")(He);var We=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},J=class extends ko{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Le.Debouncer,this.revealDebouncer=new Le.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,o;return el.html`
|
|
169
178
|
<div part="container"
|
|
170
179
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
171
180
|
<slot part="slot"></slot>
|
|
@@ -174,11 +183,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
174
183
|
?hidden=${!this.visible}>
|
|
175
184
|
<div part="tooltip-content" class="ft-tooltip--content">
|
|
176
185
|
<slot name="text"></slot>
|
|
177
|
-
<ft-typography variant="caption" ?hidden=${!this.text
|
|
186
|
+
<ft-typography variant="${ct.caption}" ?hidden=${!(!((t=this.text)===null||t===void 0)&&t.message)}>
|
|
187
|
+
${(o=this.text)===null||o===void 0?void 0:o.message}
|
|
188
|
+
</ft-typography>
|
|
178
189
|
</div>
|
|
179
190
|
</div>
|
|
180
191
|
</div>
|
|
181
|
-
`}setupFor(
|
|
192
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",os(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Le.designSystemVariables.transitionDuration}, left ${Le.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Le.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};J.elementDefinitions={"ft-typography":ve};J.styles=_i;We([Yc()],J.prototype,"text",void 0);We([(0,Ie.property)({type:Boolean})],J.prototype,"manual",void 0);We([(0,Ie.property)({type:Boolean})],J.prototype,"inline",void 0);We([(0,Le.numberProperty)()],J.prototype,"delay",void 0);We([(0,Ie.property)()],J.prototype,"position",void 0);We([(0,Le.jsonProperty)([])],J.prototype,"ignoreMatchingElements",void 0);We([(0,Ie.queryAssignedNodes)()],J.prototype,"slotNodes",void 0);We([(0,Ie.query)(".ft-tooltip--container")],J.prototype,"container",void 0);We([(0,Ie.query)(".ft-tooltip")],J.prototype,"tooltip",void 0);We([(0,Ie.query)(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);We([(0,Ie.state)()],J.prototype,"visible",void 0);(0,tl.customElement)("ft-tooltip")(J);var Ua=v(_());var Ho=v(W()),ue=v(X()),Bl=v(Mr()),gr=v(_());var ul=v(_());var dl=v(W()),le=v(X()),pl=v(Mr()),Ur=v(_());var cl=v(W()),re=v(_()),ol=re.FtCssVariableFactory.extend("--ft-ripple-color","",re.designSystemVariables.colorContent),E={color:ol,backgroundColor:re.FtCssVariableFactory.extend("--ft-ripple-background-color","",ol),opacityContentOnSurfacePressed:re.FtCssVariableFactory.external(re.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:re.FtCssVariableFactory.external(re.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:re.FtCssVariableFactory.external(re.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:re.FtCssVariableFactory.external(re.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:re.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},nl=re.FtCssVariableFactory.extend("--ft-ripple-color","",re.designSystemVariables.colorPrimary),al={color:nl,backgroundColor:re.FtCssVariableFactory.extend("--ft-ripple-background-color","",nl)},il=re.FtCssVariableFactory.extend("--ft-ripple-color","",re.designSystemVariables.colorSecondary),sl={color:il,backgroundColor:re.FtCssVariableFactory.extend("--ft-ripple-background-color","",il)},ll=cl.css`
|
|
182
193
|
:host {
|
|
183
194
|
display: contents;
|
|
184
195
|
}
|
|
@@ -191,7 +202,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
191
202
|
|
|
192
203
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
193
204
|
overflow: hidden;
|
|
194
|
-
border-radius: ${
|
|
205
|
+
border-radius: ${E.borderRadius};
|
|
195
206
|
}
|
|
196
207
|
|
|
197
208
|
.ft-ripple .ft-ripple--background,
|
|
@@ -225,27 +236,27 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
225
236
|
}
|
|
226
237
|
|
|
227
238
|
.ft-ripple .ft-ripple--background {
|
|
228
|
-
background-color: ${
|
|
239
|
+
background-color: ${E.backgroundColor};
|
|
229
240
|
}
|
|
230
241
|
|
|
231
242
|
.ft-ripple .ft-ripple--effect {
|
|
232
|
-
background-color: ${
|
|
243
|
+
background-color: ${E.color};
|
|
233
244
|
}
|
|
234
245
|
|
|
235
246
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
236
|
-
background-color: ${
|
|
247
|
+
background-color: ${sl.backgroundColor};
|
|
237
248
|
}
|
|
238
249
|
|
|
239
250
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
240
|
-
background-color: ${
|
|
251
|
+
background-color: ${sl.color};
|
|
241
252
|
}
|
|
242
253
|
|
|
243
254
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
244
|
-
background-color: ${
|
|
255
|
+
background-color: ${al.backgroundColor};
|
|
245
256
|
}
|
|
246
257
|
|
|
247
258
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
248
|
-
background-color: ${
|
|
259
|
+
background-color: ${al.color};
|
|
249
260
|
}
|
|
250
261
|
|
|
251
262
|
.ft-ripple .ft-ripple--background {
|
|
@@ -275,33 +286,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
275
286
|
}
|
|
276
287
|
|
|
277
288
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
278
|
-
opacity: ${
|
|
289
|
+
opacity: ${E.opacityContentOnSurfaceHover};
|
|
279
290
|
}
|
|
280
291
|
|
|
281
292
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
282
|
-
opacity: ${
|
|
293
|
+
opacity: ${E.opacityContentOnSurfaceSelected};
|
|
283
294
|
}
|
|
284
295
|
|
|
285
296
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
286
|
-
opacity: ${
|
|
297
|
+
opacity: ${E.opacityContentOnSurfaceFocused};
|
|
287
298
|
}
|
|
288
299
|
|
|
289
300
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
290
|
-
opacity: ${
|
|
301
|
+
opacity: ${E.opacityContentOnSurfacePressed};
|
|
291
302
|
transform: translate(-50%, -50%) scale(1);
|
|
292
303
|
}
|
|
293
|
-
`;var
|
|
304
|
+
`;var me=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},K=class extends Ur.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 Ur.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ur.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(i!=null?i-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return dl.html`
|
|
294
305
|
<style>
|
|
295
306
|
.ft-ripple .ft-ripple--effect {
|
|
296
307
|
left: ${this.originX}px;
|
|
297
308
|
top: ${this.originY}px;
|
|
298
309
|
}
|
|
299
310
|
</style>
|
|
300
|
-
<div class="${(0,
|
|
311
|
+
<div class="${(0,pl.classMap)(t)}">
|
|
301
312
|
<div class="ft-ripple--background"></div>
|
|
302
313
|
<div class="ft-ripple--effect"></div>
|
|
303
314
|
</div>
|
|
304
|
-
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 o,r;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var o;!((o=this.target)===null||o===void 0)&&o.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...d)=>p=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&r("keyup")(d)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",n,c),o.addEventListener("touchstart",a,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",s,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",n,c),o.removeEventListener("touchstart",a,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",s,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,n=o,a,s;return r.x!=null?{x:a,y:s}=r:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,y:s}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};D.elementDefinitions={};D.styles=ci;oe([(0,Y.property)({type:Boolean})],D.prototype,"primary",void 0);oe([(0,Y.property)({type:Boolean})],D.prototype,"secondary",void 0);oe([(0,Y.property)({type:Boolean})],D.prototype,"unbounded",void 0);oe([(0,Y.property)({type:Boolean})],D.prototype,"activated",void 0);oe([(0,Y.property)({type:Boolean})],D.prototype,"selected",void 0);oe([(0,Y.property)({type:Boolean})],D.prototype,"disabled",void 0);oe([(0,Y.state)()],D.prototype,"hovered",void 0);oe([(0,Y.state)()],D.prototype,"focused",void 0);oe([(0,Y.state)()],D.prototype,"pressed",void 0);oe([(0,Y.state)()],D.prototype,"rippling",void 0);oe([(0,Y.state)()],D.prototype,"originX",void 0);oe([(0,Y.state)()],D.prototype,"originY",void 0);oe([(0,Y.query)(".ft-ripple")],D.prototype,"ripple",void 0);oe([(0,Y.query)(".ft-ripple--effect")],D.prototype,"rippleEffect",void 0);(0,pi.customElement)("ft-ripple")(D);var bi=O($());var ro=O(M()),Ke=O(q()),mi=O($()),gi=O(ui());var _t;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK="",t.BOOKMARK_SLASH="",t.CIRCLE_PAUSE="",t.CIRCLE_PLAY="",t.CIRCLE_STOP_PLAIN="",t.CLOUD_ARROW_DOWN="",t.SHARE_NODES="",t.BELL="",t.BELL_SLASH="",t.FILE="",t.HAND="",t.SQUARE_INFO_SOLID=""})(_t||(_t={}));var C;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(C||(C={}));var wy=new Map([...["abw"].map(t=>[t,C.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,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.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,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.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,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.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,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var Ey={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var hi=O(M()),Ne=O($()),F={size:Ne.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ne.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ne.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ne.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ne.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yi=[hi.css`
|
|
315
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",i,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",i,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=ll;me([(0,le.property)({type:Boolean})],K.prototype,"primary",void 0);me([(0,le.property)({type:Boolean})],K.prototype,"secondary",void 0);me([(0,le.property)({type:Boolean})],K.prototype,"unbounded",void 0);me([(0,le.property)({type:Boolean})],K.prototype,"activated",void 0);me([(0,le.property)({type:Boolean})],K.prototype,"selected",void 0);me([(0,le.property)({type:Boolean})],K.prototype,"disabled",void 0);me([(0,le.state)()],K.prototype,"hovered",void 0);me([(0,le.state)()],K.prototype,"focused",void 0);me([(0,le.state)()],K.prototype,"pressed",void 0);me([(0,le.state)()],K.prototype,"rippling",void 0);me([(0,le.state)()],K.prototype,"originX",void 0);me([(0,le.state)()],K.prototype,"originY",void 0);me([(0,le.query)(".ft-ripple")],K.prototype,"ripple",void 0);me([(0,le.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);(0,ul.customElement)("ft-ripple")(K);var xl=v(_());var $r=v(W()),bt=v(X()),gl=v(_()),bl=v(hl());var mr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID=""})(mr||(mr={}));var A;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(A||(A={}));var B0=new Map([...["abw"].map(e=>[e,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var M0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var yl=v(W()),Ge=v(_()),Q={size:Ge.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ge.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ge.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ge.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ge.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ml=[yl.css`
|
|
305
316
|
:host, i.ft-icon {
|
|
306
317
|
display: inline-flex;
|
|
307
318
|
align-items: center;
|
|
@@ -310,14 +321,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
310
321
|
}
|
|
311
322
|
|
|
312
323
|
:host {
|
|
313
|
-
width: ${
|
|
314
|
-
height: ${
|
|
324
|
+
width: ${Q.size};
|
|
325
|
+
height: ${Q.size};
|
|
315
326
|
}
|
|
316
327
|
|
|
317
328
|
i.ft-icon {
|
|
318
329
|
width: 100%;
|
|
319
330
|
height: 100%;
|
|
320
|
-
font-size: ${
|
|
331
|
+
font-size: ${Q.size};
|
|
321
332
|
line-height: 1;
|
|
322
333
|
font-weight: normal;
|
|
323
334
|
text-transform: none;
|
|
@@ -328,33 +339,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
328
339
|
text-rendering: auto;
|
|
329
340
|
-webkit-font-smoothing: antialiased;
|
|
330
341
|
-moz-osx-font-smoothing: grayscale;
|
|
331
|
-
vertical-align: ${
|
|
342
|
+
vertical-align: ${Q.verticalAlign};
|
|
332
343
|
}
|
|
333
344
|
|
|
334
345
|
i.ft-icon.ft-icon--fluid-topics {
|
|
335
|
-
font-family: ${
|
|
346
|
+
font-family: ${Q.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
336
347
|
|
|
337
348
|
/* Ugly fix because font is broken */
|
|
338
|
-
font-size: calc(0.75 * ${
|
|
339
|
-
line-height: ${
|
|
349
|
+
font-size: calc(0.75 * ${Q.size});
|
|
350
|
+
line-height: ${Q.size};
|
|
340
351
|
position: relative;
|
|
341
352
|
top: -4%;
|
|
342
353
|
justify-content: center;
|
|
343
354
|
}
|
|
344
355
|
|
|
345
356
|
.ft-icon--file-format {
|
|
346
|
-
font-family: ${
|
|
357
|
+
font-family: ${Q.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
347
358
|
}
|
|
348
359
|
|
|
349
360
|
.ft-icon--material {
|
|
350
|
-
font-family: ${
|
|
361
|
+
font-family: ${Q.materialFontFamily}, "Material Icons", sans-serif;
|
|
351
362
|
}
|
|
352
|
-
`,
|
|
353
|
-
<i class="ft-icon ft-icon--${
|
|
354
|
-
${(0,
|
|
355
|
-
<slot ?hidden=${
|
|
363
|
+
`,Ge.noTextSelect];var _e;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(_e||(_e={}));var Fr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},de=class extends gl.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=$r.nothing}render(){let t=this.variant&&Object.values(_e).includes(this.variant)?this.variant:_e.fluid_topics,o=t!==_e.material||!!this.value;return $r.html`
|
|
364
|
+
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
365
|
+
${(0,bl.unsafeHTML)(this.resolvedIcon)}
|
|
366
|
+
<slot ?hidden=${o}></slot>
|
|
356
367
|
</i>
|
|
357
|
-
`}getTextContent(){var o
|
|
368
|
+
`}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case _e.file_format:this.resolvedIcon=(t=A[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case _e.material:this.resolvedIcon=this.value||$r.nothing;break;default:this.resolvedIcon=(o=mr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};de.elementDefinitions={};de.styles=ml;Fr([(0,bt.property)()],de.prototype,"variant",void 0);Fr([(0,bt.property)()],de.prototype,"value",void 0);Fr([(0,bt.property)({reflect:!0,attribute:"aria-hidden"})],de.prototype,"ariaHidden",void 0);Fr([(0,bt.state)()],de.prototype,"resolvedIcon",void 0);Fr([(0,bt.query)("slot")],de.prototype,"slottedContent",void 0);(0,xl.customElement)("ft-icon")(de);var Gr=v(W()),M=v(_());var Da=v(_());var Hr=v(X()),Nl=v(_());var El=v(W()),B=v(_());var vl=v(W()),zr=v(_()),V={color:zr.FtCssVariableFactory.extend("--ft-loader-color","",zr.designSystemVariables.colorPrimary),size:zr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Sl=vl.css`
|
|
358
369
|
:host {
|
|
359
370
|
line-height: 0;
|
|
360
371
|
}
|
|
@@ -363,8 +374,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
363
374
|
display: inline-block;
|
|
364
375
|
position: relative;
|
|
365
376
|
|
|
366
|
-
width: ${
|
|
367
|
-
height: ${
|
|
377
|
+
width: ${V.size};
|
|
378
|
+
height: ${V.size};
|
|
368
379
|
}
|
|
369
380
|
|
|
370
381
|
.ft-loader div {
|
|
@@ -373,7 +384,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
373
384
|
width: 25%;
|
|
374
385
|
height: 25%;
|
|
375
386
|
border-radius: 50%;
|
|
376
|
-
background: ${
|
|
387
|
+
background: ${V.color};
|
|
377
388
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
378
389
|
}
|
|
379
390
|
|
|
@@ -420,10 +431,10 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
420
431
|
transform: translate(0, 0);
|
|
421
432
|
}
|
|
422
433
|
100% {
|
|
423
|
-
transform: translate(calc(0.35 * ${
|
|
434
|
+
transform: translate(calc(0.35 * ${V.size}), 0);
|
|
424
435
|
}
|
|
425
436
|
}
|
|
426
|
-
`;var
|
|
437
|
+
`;var Cl=B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorPrimary),q={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorSurface),borderRadius:B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusL),color:Cl,fontSize:B.FtCssVariableFactory.extend("--ft-button-font-size","",Ze.fontSize),iconSize:B.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:B.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cl),verticalPadding:B.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},Ol=B.FtCssVariableFactory.extend("--ft-button-primary-color","",B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorOnPrimary)),Ia={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-primary-background-color","",B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorPrimary)),color:Ol,rippleColor:B.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ol)},Je={borderRadius:B.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusM)),verticalPadding:B.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Al=[El.css`
|
|
427
438
|
:host {
|
|
428
439
|
display: inline-block;
|
|
429
440
|
max-width: 100%;
|
|
@@ -434,7 +445,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
434
445
|
box-shadow: 0px 0px 0px transparent;
|
|
435
446
|
border: 0px solid transparent;
|
|
436
447
|
text-shadow: 0px 0px 0px transparent;
|
|
437
|
-
font-size: ${
|
|
448
|
+
font-size: ${q.fontSize};
|
|
438
449
|
text-decoration: none;
|
|
439
450
|
}
|
|
440
451
|
|
|
@@ -464,31 +475,31 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
464
475
|
border: none;
|
|
465
476
|
pointer-events: auto;
|
|
466
477
|
|
|
467
|
-
--button-internal-line-height: max(calc(${
|
|
468
|
-
--button-internal-color: ${
|
|
469
|
-
${(0,
|
|
470
|
-
${(0,
|
|
478
|
+
--button-internal-line-height: max(calc(${q.fontSize} + 2px), ${q.iconSize});
|
|
479
|
+
--button-internal-color: ${q.color};
|
|
480
|
+
${(0,B.setVariable)(Q.size,q.iconSize)};
|
|
481
|
+
${(0,B.setVariable)(E.color,q.rippleColor)};
|
|
471
482
|
|
|
472
|
-
border-radius: ${
|
|
473
|
-
padding: ${
|
|
474
|
-
background-color: ${
|
|
483
|
+
border-radius: ${q.borderRadius};
|
|
484
|
+
padding: ${q.verticalPadding} ${q.horizontalPadding};
|
|
485
|
+
background-color: ${q.backgroundColor};
|
|
475
486
|
color: var(--button-internal-color);
|
|
476
487
|
-webkit-mask-image: radial-gradient(white, black);
|
|
477
488
|
}
|
|
478
489
|
|
|
479
490
|
.ft-button.ft-button--outlined {
|
|
480
491
|
border: 1px solid var(--button-internal-color);
|
|
481
|
-
padding: calc(${
|
|
492
|
+
padding: calc(${q.verticalPadding} - 1px) calc(${q.horizontalPadding} - 1px);
|
|
482
493
|
}
|
|
483
494
|
|
|
484
495
|
.ft-button.ft-button--dense {
|
|
485
|
-
padding: ${
|
|
486
|
-
border-radius: ${
|
|
487
|
-
gap: ${
|
|
496
|
+
padding: ${Je.verticalPadding} ${Je.horizontalPadding};
|
|
497
|
+
border-radius: ${Je.borderRadius};
|
|
498
|
+
gap: ${Je.iconPadding};
|
|
488
499
|
}
|
|
489
500
|
|
|
490
501
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
491
|
-
padding: calc(${
|
|
502
|
+
padding: calc(${Je.verticalPadding} - 1px) calc(${Je.horizontalPadding} - 1px);
|
|
492
503
|
}
|
|
493
504
|
|
|
494
505
|
.ft-button:not([disabled]):hover {
|
|
@@ -496,22 +507,22 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
496
507
|
}
|
|
497
508
|
|
|
498
509
|
.ft-button--round {
|
|
499
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
510
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${q.verticalPadding});
|
|
500
511
|
}
|
|
501
512
|
|
|
502
513
|
.ft-button--round.ft-button--dense {
|
|
503
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
514
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${Je.verticalPadding});
|
|
504
515
|
}
|
|
505
516
|
|
|
506
517
|
.ft-button[disabled] {
|
|
507
518
|
filter: grayscale(1);
|
|
508
|
-
opacity: ${
|
|
519
|
+
opacity: ${q.opacityDisabled};
|
|
509
520
|
}
|
|
510
521
|
|
|
511
522
|
.ft-button.ft-button--primary {
|
|
512
|
-
background-color: ${
|
|
513
|
-
--button-internal-color: ${
|
|
514
|
-
${(0,
|
|
523
|
+
background-color: ${Ia.backgroundColor};
|
|
524
|
+
--button-internal-color: ${Ia.color};
|
|
525
|
+
${(0,B.setVariable)(E.color,Ia.rippleColor)};
|
|
515
526
|
}
|
|
516
527
|
|
|
517
528
|
.ft-button:focus {
|
|
@@ -524,13 +535,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
524
535
|
white-space: nowrap;
|
|
525
536
|
text-overflow: ellipsis;
|
|
526
537
|
display: block;
|
|
527
|
-
margin: 0 ${
|
|
528
|
-
${(0,
|
|
529
|
-
${(0,
|
|
538
|
+
margin: 0 ${q.iconPadding};
|
|
539
|
+
${(0,B.setVariable)(Ze.fontSize,"1em")};
|
|
540
|
+
${(0,B.setVariable)(Ze.lineHeight,"var(--button-internal-line-height)")};
|
|
530
541
|
}
|
|
531
542
|
|
|
532
543
|
.ft-button--dense .ft-button--label {
|
|
533
|
-
margin: 0 ${
|
|
544
|
+
margin: 0 ${Je.iconPadding};
|
|
534
545
|
}
|
|
535
546
|
|
|
536
547
|
.ft-button--label[hidden] {
|
|
@@ -543,13 +554,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
543
554
|
}
|
|
544
555
|
|
|
545
556
|
.ft-button--label[hidden] + [part="icon"] {
|
|
546
|
-
margin: 0 calc(${
|
|
547
|
-
padding: 0 ${
|
|
557
|
+
margin: 0 calc(${q.horizontalPadding} * -1);
|
|
558
|
+
padding: 0 ${q.verticalPadding};
|
|
548
559
|
}
|
|
549
560
|
|
|
550
561
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
551
|
-
margin: 0 calc(${
|
|
552
|
-
padding: 0 ${
|
|
562
|
+
margin: 0 calc(${Je.horizontalPadding} * -1);
|
|
563
|
+
padding: 0 ${Je.verticalPadding};
|
|
553
564
|
}
|
|
554
565
|
|
|
555
566
|
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
@@ -557,17 +568,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
557
568
|
}
|
|
558
569
|
|
|
559
570
|
ft-loader {
|
|
560
|
-
${(0,
|
|
561
|
-
${(0,
|
|
571
|
+
${(0,B.setVariable)(V.size,q.iconSize)};
|
|
572
|
+
${(0,B.setVariable)(V.color,"var(--button-internal-color)")};
|
|
562
573
|
}
|
|
563
|
-
`,
|
|
574
|
+
`,B.noTextSelect];var vt=v(_());var Tl=v(_());var wl=v(W()),Rl=v(_());var Ut=class extends Rl.FtLitElement{render(){return wl.html`
|
|
564
575
|
<div class="ft-loader">
|
|
565
576
|
<div></div>
|
|
566
577
|
<div></div>
|
|
567
578
|
<div></div>
|
|
568
579
|
<div></div>
|
|
569
580
|
</div>
|
|
570
|
-
`}};
|
|
581
|
+
`}};Ut.styles=Sl;(0,Tl.customElement)("ft-loader")(Ut);var xt=v(W()),Pa=v(Mr()),ee=v(X());var _a=e=>e??te;var ae=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},z=class extends(0,vt.toFtFormComponent)(vt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=xt.html`
|
|
571
582
|
<ft-ripple part="ripple"
|
|
572
583
|
?disabled=${this.isDisabled()}
|
|
573
584
|
?activated=${this.activated}
|
|
@@ -575,41 +586,41 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
575
586
|
<ft-or-ftds-typography part="label"
|
|
576
587
|
variant="${this.typographyVariant}"
|
|
577
588
|
element="span"
|
|
578
|
-
class="ft-button--label ${
|
|
589
|
+
class="ft-button--label ${vt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
579
590
|
?hidden=${!this.hasTextContent()}>
|
|
580
591
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
581
592
|
</ft-or-ftds-typography>
|
|
582
593
|
${this.resolveIcon()}
|
|
583
|
-
`,
|
|
584
|
-
<a href="${
|
|
585
|
-
target="${(
|
|
594
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?xt.html`
|
|
595
|
+
<a href="${i}"
|
|
596
|
+
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
586
597
|
part="button"
|
|
587
|
-
class="${(0,
|
|
588
|
-
aria-label="${(
|
|
598
|
+
class="${(0,Pa.classMap)(this.buttonClasses)}"
|
|
599
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
589
600
|
?disabled=${this.isDisabled()}>
|
|
590
601
|
${a}
|
|
591
602
|
</a>
|
|
592
|
-
`:
|
|
603
|
+
`:xt.html`
|
|
593
604
|
<button part="button"
|
|
594
|
-
class="${(0,
|
|
605
|
+
class="${(0,Pa.classMap)(this.buttonClasses)}"
|
|
595
606
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
596
|
-
aria-haspopup="${
|
|
597
|
-
aria-pressed="${
|
|
607
|
+
aria-haspopup="${_a(this.ariaHasPopup)}"
|
|
608
|
+
aria-pressed="${_a(this.ariaPressed)}"
|
|
598
609
|
?disabled=${this.isDisabled()}>
|
|
599
610
|
${a}
|
|
600
611
|
</button>
|
|
601
|
-
`)}addTooltipIfNeeded(
|
|
612
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?xt.html`
|
|
602
613
|
<ft-tooltip part="tooltip"
|
|
603
614
|
text="${this.getLabel()}"
|
|
604
615
|
position="${this.tooltipPosition}">
|
|
605
|
-
${
|
|
616
|
+
${t}
|
|
606
617
|
</ft-tooltip>
|
|
607
|
-
`:
|
|
608
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
618
|
+
`:t}resolveIcon(){return this.loading?xt.html`
|
|
619
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?xt.html`
|
|
609
620
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
610
|
-
`:
|
|
621
|
+
`:xt.html`
|
|
611
622
|
<slot part="icon" name="icon"></slot>
|
|
612
|
-
`}focus(){var
|
|
623
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,vt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};z.elementDefinitions={"ft-ripple":K,"ft-tooltip":J,"ft-icon":de,"ft-loader":Ut};ae([(0,ee.property)()],z.prototype,"href",void 0);ae([(0,ee.property)()],z.prototype,"target",void 0);ae([(0,ee.property)()],z.prototype,"type",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"disabled",void 0);ae([(0,ee.property)()],z.prototype,"label",void 0);ae([(0,ee.property)()],z.prototype,"icon",void 0);ae([(0,ee.property)()],z.prototype,"iconVariant",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"trailingIcon",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"loading",void 0);ae([(0,ee.property)({attribute:"aria-label"})],z.prototype,"ariaLabel",void 0);ae([(0,ee.property)()],z.prototype,"ariaHasPopup",void 0);ae([(0,ee.property)({attribute:"aria-pressed"})],z.prototype,"ariaPressed",void 0);ae([(0,ee.property)()],z.prototype,"tooltipPosition",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"hideTooltip",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"forceTooltip",void 0);ae([(0,ee.property)({type:Boolean})],z.prototype,"activated",void 0);ae([(0,ee.query)(".ft-button")],z.prototype,"button",void 0);ae([(0,ee.query)(".ft-button--label slot")],z.prototype,"slottedContent",void 0);ae([(0,ee.query)("[part=tooltip]")],z.prototype,"tooltip",void 0);var $o=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Pe=class extends z{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 ct.button}};Pe.elementDefinitions={...z.elementDefinitions,"ft-or-ftds-typography":ve};Pe.styles=[Nl.safariEllipsisFix,Al];$o([(0,Hr.property)({type:Boolean})],Pe.prototype,"primary",void 0);$o([(0,Hr.property)({type:Boolean})],Pe.prototype,"outlined",void 0);$o([(0,Hr.property)({type:Boolean})],Pe.prototype,"dense",void 0);$o([(0,Hr.property)({type:Boolean})],Pe.prototype,"round",void 0);var Wr=v(X()),zo=v(_());var Ll=v(W()),C=v(_());var ka={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},Il=[Ll.css`
|
|
613
624
|
:host {
|
|
614
625
|
display: inline-block;
|
|
615
626
|
max-width: 100%;
|
|
@@ -660,7 +671,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
660
671
|
}
|
|
661
672
|
|
|
662
673
|
.ft-button:focus-visible {
|
|
663
|
-
outline-color: ${
|
|
674
|
+
outline-color: ${f.focusFocusRingColor};
|
|
664
675
|
outline-style: solid;
|
|
665
676
|
}
|
|
666
677
|
|
|
@@ -692,394 +703,394 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
692
703
|
}
|
|
693
704
|
|
|
694
705
|
.ft-button.ft-button--icon-only ft-icon {
|
|
695
|
-
transform: scale(${
|
|
706
|
+
transform: scale(${ka.iconOnlyScale});
|
|
696
707
|
}
|
|
697
708
|
|
|
698
709
|
/** Brand Primary styles **/
|
|
699
710
|
|
|
700
711
|
.ftds--family-brand.ft-button--primary {
|
|
701
|
-
${(0,
|
|
712
|
+
${(0,C.setVariable)(V.color,f.primaryBrandIconColor)};
|
|
702
713
|
|
|
703
|
-
${(0,
|
|
704
|
-
${(0,
|
|
705
|
-
${(0,
|
|
706
|
-
${(0,
|
|
707
|
-
${(0,
|
|
714
|
+
${(0,C.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
715
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
716
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
717
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
718
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
708
719
|
|
|
709
|
-
background-color: ${
|
|
710
|
-
color: ${
|
|
720
|
+
background-color: ${f.primaryBrandBackgroundColor};
|
|
721
|
+
color: ${f.primaryBrandColor};
|
|
711
722
|
border-style: none;
|
|
712
723
|
}
|
|
713
724
|
|
|
714
725
|
.ftds--family-brand.ft-button--primary[disabled] {
|
|
715
|
-
opacity: ${
|
|
726
|
+
opacity: ${f.primaryBrandDisabledComponentOpacity};
|
|
716
727
|
}
|
|
717
728
|
|
|
718
729
|
.ftds--family-brand.ft-button--primary ft-icon {
|
|
719
|
-
color: ${
|
|
730
|
+
color: ${f.primaryBrandIconColor};
|
|
720
731
|
}
|
|
721
732
|
|
|
722
733
|
/** Brand Secondary styles **/
|
|
723
734
|
|
|
724
735
|
.ftds--family-brand.ft-button--secondary {
|
|
725
|
-
${(0,
|
|
736
|
+
${(0,C.setVariable)(V.color,f.secondaryBrandIconColor)};
|
|
726
737
|
|
|
727
|
-
${(0,
|
|
728
|
-
${(0,
|
|
729
|
-
${(0,
|
|
730
|
-
${(0,
|
|
731
|
-
${(0,
|
|
738
|
+
${(0,C.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
739
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
740
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
741
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
742
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
732
743
|
|
|
733
|
-
background-color: ${
|
|
734
|
-
color: ${
|
|
735
|
-
border-color: ${
|
|
744
|
+
background-color: ${f.secondaryBrandBackgroundColor};
|
|
745
|
+
color: ${f.secondaryBrandColor};
|
|
746
|
+
border-color: ${f.secondaryBrandBorderColor};
|
|
736
747
|
border-style: solid;
|
|
737
748
|
}
|
|
738
749
|
|
|
739
750
|
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
740
|
-
opacity: ${
|
|
751
|
+
opacity: ${f.secondaryBrandDisabledComponentOpacity};
|
|
741
752
|
}
|
|
742
753
|
|
|
743
754
|
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
744
|
-
color: ${
|
|
755
|
+
color: ${f.secondaryBrandIconColor};
|
|
745
756
|
}
|
|
746
757
|
|
|
747
758
|
/** Brand Tertiary styles **/
|
|
748
759
|
|
|
749
760
|
.ftds--family-brand.ft-button--tertiary {
|
|
750
|
-
${(0,
|
|
761
|
+
${(0,C.setVariable)(V.color,f.tertiaryBrandIconColor)};
|
|
751
762
|
|
|
752
|
-
${(0,
|
|
753
|
-
${(0,
|
|
754
|
-
${(0,
|
|
755
|
-
${(0,
|
|
756
|
-
${(0,
|
|
763
|
+
${(0,C.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
764
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
765
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
766
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
767
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
757
768
|
|
|
758
|
-
background-color: ${
|
|
759
|
-
color: ${
|
|
769
|
+
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
770
|
+
color: ${f.tertiaryBrandColor};
|
|
760
771
|
border-style: none;
|
|
761
772
|
}
|
|
762
773
|
|
|
763
774
|
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
764
|
-
opacity: ${
|
|
775
|
+
opacity: ${f.tertiaryBrandDisabledComponentOpacity};
|
|
765
776
|
}
|
|
766
777
|
|
|
767
778
|
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
768
|
-
color: ${
|
|
779
|
+
color: ${f.tertiaryBrandIconColor};
|
|
769
780
|
}
|
|
770
781
|
|
|
771
782
|
/** Neutral Secondary styles **/
|
|
772
783
|
|
|
773
784
|
.ftds--family-neutral.ft-button--secondary {
|
|
774
|
-
${(0,
|
|
785
|
+
${(0,C.setVariable)(V.color,f.secondaryNeutralIconColor)};
|
|
775
786
|
|
|
776
|
-
${(0,
|
|
777
|
-
${(0,
|
|
778
|
-
${(0,
|
|
779
|
-
${(0,
|
|
780
|
-
${(0,
|
|
787
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
788
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
789
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
790
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
791
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
781
792
|
|
|
782
|
-
background-color: ${
|
|
783
|
-
color: ${
|
|
784
|
-
border-color: ${
|
|
793
|
+
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
794
|
+
color: ${f.secondaryNeutralColor};
|
|
795
|
+
border-color: ${f.secondaryNeutralBorderColor};
|
|
785
796
|
border-style: solid;
|
|
786
797
|
}
|
|
787
798
|
|
|
788
799
|
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
789
|
-
opacity: ${
|
|
800
|
+
opacity: ${f.secondaryNeutralDisabledComponentOpacity};
|
|
790
801
|
}
|
|
791
802
|
|
|
792
803
|
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
793
|
-
color: ${
|
|
804
|
+
color: ${f.secondaryNeutralIconColor};
|
|
794
805
|
}
|
|
795
806
|
|
|
796
807
|
/** Neutral Tertiary styles **/
|
|
797
808
|
|
|
798
809
|
.ftds--family-neutral.ft-button--tertiary {
|
|
799
|
-
${(0,
|
|
810
|
+
${(0,C.setVariable)(V.color,f.tertiaryNeutralIconColor)};
|
|
800
811
|
|
|
801
|
-
${(0,
|
|
802
|
-
${(0,
|
|
803
|
-
${(0,
|
|
804
|
-
${(0,
|
|
805
|
-
${(0,
|
|
812
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
813
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
814
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
815
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
816
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
806
817
|
|
|
807
|
-
background-color: ${
|
|
808
|
-
color: ${
|
|
818
|
+
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
819
|
+
color: ${f.tertiaryNeutralColor};
|
|
809
820
|
border-style: none;
|
|
810
821
|
}
|
|
811
822
|
|
|
812
823
|
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
813
|
-
opacity: ${
|
|
824
|
+
opacity: ${f.tertiaryNeutralDisabledComponentOpacity};
|
|
814
825
|
}
|
|
815
826
|
|
|
816
827
|
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
817
|
-
color: ${
|
|
828
|
+
color: ${f.tertiaryNeutralIconColor};
|
|
818
829
|
}
|
|
819
830
|
|
|
820
831
|
/** Info Secondary styles **/
|
|
821
832
|
|
|
822
833
|
.ftds--family-info.ft-button--secondary {
|
|
823
|
-
${(0,
|
|
834
|
+
${(0,C.setVariable)(V.color,f.secondaryInfoIconColor)};
|
|
824
835
|
|
|
825
|
-
${(0,
|
|
826
|
-
${(0,
|
|
827
|
-
${(0,
|
|
828
|
-
${(0,
|
|
829
|
-
${(0,
|
|
836
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
837
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
838
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
839
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
840
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
830
841
|
|
|
831
|
-
background-color: ${
|
|
832
|
-
color: ${
|
|
833
|
-
border-color: ${
|
|
842
|
+
background-color: ${f.secondaryInfoBackgroundColor};
|
|
843
|
+
color: ${f.secondaryInfoColor};
|
|
844
|
+
border-color: ${f.secondaryInfoBorderColor};
|
|
834
845
|
border-style: solid;
|
|
835
846
|
}
|
|
836
847
|
|
|
837
848
|
.ftds--family-info.ft-button--secondary[disabled] {
|
|
838
|
-
opacity: ${
|
|
849
|
+
opacity: ${f.secondaryInfoDisabledComponentOpacity};
|
|
839
850
|
}
|
|
840
851
|
|
|
841
852
|
.ftds--family-info.ft-button--secondary ft-icon {
|
|
842
|
-
color: ${
|
|
853
|
+
color: ${f.secondaryInfoIconColor};
|
|
843
854
|
}
|
|
844
855
|
|
|
845
856
|
/** Info Tertiary styles **/
|
|
846
857
|
|
|
847
858
|
.ftds--family-info.ft-button--tertiary {
|
|
848
|
-
${(0,
|
|
859
|
+
${(0,C.setVariable)(V.color,f.tertiaryInfoIconColor)};
|
|
849
860
|
|
|
850
|
-
${(0,
|
|
851
|
-
${(0,
|
|
852
|
-
${(0,
|
|
853
|
-
${(0,
|
|
854
|
-
${(0,
|
|
861
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
862
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
863
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
864
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
865
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
855
866
|
|
|
856
|
-
background-color: ${
|
|
857
|
-
color: ${
|
|
867
|
+
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
868
|
+
color: ${f.tertiaryInfoColor};
|
|
858
869
|
border-style: none;
|
|
859
870
|
}
|
|
860
871
|
|
|
861
872
|
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
862
|
-
opacity: ${
|
|
873
|
+
opacity: ${f.tertiaryInfoDisabledComponentOpacity};
|
|
863
874
|
}
|
|
864
875
|
|
|
865
876
|
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
866
|
-
color: ${
|
|
877
|
+
color: ${f.tertiaryInfoIconColor};
|
|
867
878
|
}
|
|
868
879
|
|
|
869
880
|
/** Success Secondary styles **/
|
|
870
881
|
|
|
871
882
|
.ftds--family-success.ft-button--secondary {
|
|
872
|
-
${(0,
|
|
883
|
+
${(0,C.setVariable)(V.color,f.secondarySuccessIconColor)};
|
|
873
884
|
|
|
874
|
-
${(0,
|
|
875
|
-
${(0,
|
|
876
|
-
${(0,
|
|
877
|
-
${(0,
|
|
878
|
-
${(0,
|
|
885
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
886
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
887
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
888
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
889
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
879
890
|
|
|
880
|
-
background-color: ${
|
|
881
|
-
color: ${
|
|
882
|
-
border-color: ${
|
|
891
|
+
background-color: ${f.secondarySuccessBackgroundColor};
|
|
892
|
+
color: ${f.secondarySuccessColor};
|
|
893
|
+
border-color: ${f.secondarySuccessBorderColor};
|
|
883
894
|
border-style: solid;
|
|
884
895
|
}
|
|
885
896
|
|
|
886
897
|
.ftds--family-success.ft-button--secondary[disabled] {
|
|
887
|
-
opacity: ${
|
|
898
|
+
opacity: ${f.secondarySuccessDisabledComponentOpacity};
|
|
888
899
|
}
|
|
889
900
|
|
|
890
901
|
.ftds--family-success.ft-button--secondary ft-icon {
|
|
891
|
-
color: ${
|
|
902
|
+
color: ${f.secondarySuccessIconColor};
|
|
892
903
|
}
|
|
893
904
|
|
|
894
905
|
/** Success Tertiary styles **/
|
|
895
906
|
|
|
896
907
|
.ftds--family-success.ft-button--tertiary {
|
|
897
|
-
${(0,
|
|
908
|
+
${(0,C.setVariable)(V.color,f.tertiarySuccessIconColor)};
|
|
898
909
|
|
|
899
|
-
${(0,
|
|
900
|
-
${(0,
|
|
901
|
-
${(0,
|
|
902
|
-
${(0,
|
|
903
|
-
${(0,
|
|
910
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
911
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
912
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
913
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
914
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
904
915
|
|
|
905
|
-
background-color: ${
|
|
906
|
-
color: ${
|
|
916
|
+
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
917
|
+
color: ${f.tertiarySuccessColor};
|
|
907
918
|
border-style: none;
|
|
908
919
|
}
|
|
909
920
|
|
|
910
921
|
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
911
|
-
opacity: ${
|
|
922
|
+
opacity: ${f.tertiarySuccessDisabledComponentOpacity};
|
|
912
923
|
}
|
|
913
924
|
|
|
914
925
|
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
915
|
-
color: ${
|
|
926
|
+
color: ${f.tertiarySuccessIconColor};
|
|
916
927
|
}
|
|
917
928
|
|
|
918
929
|
/** Warning Secondary styles **/
|
|
919
930
|
|
|
920
931
|
.ftds--family-warning.ft-button--secondary {
|
|
921
|
-
${(0,
|
|
932
|
+
${(0,C.setVariable)(V.color,f.secondaryWarningIconColor)};
|
|
922
933
|
|
|
923
|
-
${(0,
|
|
924
|
-
${(0,
|
|
925
|
-
${(0,
|
|
926
|
-
${(0,
|
|
927
|
-
${(0,
|
|
934
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
935
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
936
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
937
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
938
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
928
939
|
|
|
929
|
-
background-color: ${
|
|
930
|
-
color: ${
|
|
931
|
-
border-color: ${
|
|
940
|
+
background-color: ${f.secondaryWarningBackgroundColor};
|
|
941
|
+
color: ${f.secondaryWarningColor};
|
|
942
|
+
border-color: ${f.secondaryWarningBorderColor};
|
|
932
943
|
border-style: solid;
|
|
933
944
|
}
|
|
934
945
|
|
|
935
946
|
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
936
|
-
opacity: ${
|
|
947
|
+
opacity: ${f.secondaryWarningDisabledComponentOpacity};
|
|
937
948
|
}
|
|
938
949
|
|
|
939
950
|
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
940
|
-
color: ${
|
|
951
|
+
color: ${f.secondaryWarningIconColor};
|
|
941
952
|
}
|
|
942
953
|
|
|
943
954
|
/** Warning Tertiary styles **/
|
|
944
955
|
|
|
945
956
|
.ftds--family-warning.ft-button--tertiary {
|
|
946
|
-
${(0,
|
|
957
|
+
${(0,C.setVariable)(V.color,f.tertiaryWarningIconColor)};
|
|
947
958
|
|
|
948
|
-
${(0,
|
|
949
|
-
${(0,
|
|
950
|
-
${(0,
|
|
951
|
-
${(0,
|
|
952
|
-
${(0,
|
|
959
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
960
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
961
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
962
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
963
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
953
964
|
|
|
954
|
-
background-color: ${
|
|
955
|
-
color: ${
|
|
965
|
+
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
966
|
+
color: ${f.tertiaryWarningColor};
|
|
956
967
|
border-style: none;
|
|
957
968
|
}
|
|
958
969
|
|
|
959
970
|
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
960
|
-
opacity: ${
|
|
971
|
+
opacity: ${f.tertiaryWarningDisabledComponentOpacity};
|
|
961
972
|
}
|
|
962
973
|
|
|
963
974
|
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
964
|
-
color: ${
|
|
975
|
+
color: ${f.tertiaryWarningIconColor};
|
|
965
976
|
}
|
|
966
977
|
|
|
967
978
|
/** Error Secondary styles **/
|
|
968
979
|
|
|
969
980
|
.ftds--family-error.ft-button--secondary {
|
|
970
|
-
${(0,
|
|
981
|
+
${(0,C.setVariable)(V.color,f.secondaryErrorIconColor)};
|
|
971
982
|
|
|
972
|
-
${(0,
|
|
973
|
-
${(0,
|
|
974
|
-
${(0,
|
|
975
|
-
${(0,
|
|
976
|
-
${(0,
|
|
983
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
984
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
985
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
986
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
987
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
977
988
|
|
|
978
|
-
background-color: ${
|
|
979
|
-
color: ${
|
|
980
|
-
border-color: ${
|
|
989
|
+
background-color: ${f.secondaryErrorBackgroundColor};
|
|
990
|
+
color: ${f.secondaryErrorColor};
|
|
991
|
+
border-color: ${f.secondaryErrorBorderColor};
|
|
981
992
|
border-style: solid;
|
|
982
993
|
}
|
|
983
994
|
|
|
984
995
|
.ftds--family-error.ft-button--secondary[disabled] {
|
|
985
|
-
opacity: ${
|
|
996
|
+
opacity: ${f.secondaryErrorDisabledComponentOpacity};
|
|
986
997
|
}
|
|
987
998
|
|
|
988
999
|
.ftds--family-error.ft-button--secondary ft-icon {
|
|
989
|
-
color: ${
|
|
1000
|
+
color: ${f.secondaryErrorIconColor};
|
|
990
1001
|
}
|
|
991
1002
|
|
|
992
1003
|
/** Error Tertiary styles **/
|
|
993
1004
|
|
|
994
1005
|
.ftds--family-error.ft-button--tertiary {
|
|
995
|
-
${(0,
|
|
1006
|
+
${(0,C.setVariable)(V.color,f.tertiaryErrorIconColor)};
|
|
996
1007
|
|
|
997
|
-
${(0,
|
|
998
|
-
${(0,
|
|
999
|
-
${(0,
|
|
1000
|
-
${(0,
|
|
1001
|
-
${(0,
|
|
1008
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
1009
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
1010
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
1011
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1012
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1002
1013
|
|
|
1003
|
-
background-color: ${
|
|
1004
|
-
color: ${
|
|
1014
|
+
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
1015
|
+
color: ${f.tertiaryErrorColor};
|
|
1005
1016
|
border-style: none;
|
|
1006
1017
|
}
|
|
1007
1018
|
|
|
1008
1019
|
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1009
|
-
opacity: ${
|
|
1020
|
+
opacity: ${f.tertiaryErrorDisabledComponentOpacity};
|
|
1010
1021
|
}
|
|
1011
1022
|
|
|
1012
1023
|
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1013
|
-
color: ${
|
|
1024
|
+
color: ${f.tertiaryErrorIconColor};
|
|
1014
1025
|
}
|
|
1015
1026
|
|
|
1016
1027
|
/** Large styles **/
|
|
1017
1028
|
|
|
1018
1029
|
.ftds--size-large {
|
|
1019
|
-
${(0,
|
|
1020
|
-
${(0,
|
|
1030
|
+
${(0,C.setVariable)(Q.size,f.largeIconSize)};
|
|
1031
|
+
${(0,C.setVariable)(V.size,f.largeIconSize)};
|
|
1021
1032
|
|
|
1022
|
-
height: ${
|
|
1023
|
-
padding: 0 ${
|
|
1024
|
-
gap: ${
|
|
1025
|
-
border-radius: ${
|
|
1026
|
-
border-width: ${
|
|
1033
|
+
height: ${f.largeHeight};
|
|
1034
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
1035
|
+
gap: ${f.largeGap};
|
|
1036
|
+
border-radius: ${f.largeBorderRadius};
|
|
1037
|
+
border-width: ${f.largeBorderWidth};
|
|
1027
1038
|
}
|
|
1028
1039
|
|
|
1029
1040
|
.ftds--size-large:focus-visible {
|
|
1030
|
-
outline-width: ${
|
|
1031
|
-
outline-offset: ${
|
|
1041
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
1042
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
1032
1043
|
}
|
|
1033
1044
|
|
|
1034
1045
|
.ftds--size-large.ft-button--icon-only {
|
|
1035
|
-
width: ${
|
|
1046
|
+
width: ${f.largeIconOnlyWidth};
|
|
1036
1047
|
}
|
|
1037
1048
|
|
|
1038
1049
|
/** Small styles **/
|
|
1039
1050
|
|
|
1040
1051
|
.ftds--size-medium {
|
|
1041
|
-
${(0,
|
|
1042
|
-
${(0,
|
|
1052
|
+
${(0,C.setVariable)(Q.size,f.mediumIconSize)};
|
|
1053
|
+
${(0,C.setVariable)(V.size,f.mediumIconSize)};
|
|
1043
1054
|
|
|
1044
|
-
height: ${
|
|
1045
|
-
padding: 0 ${
|
|
1046
|
-
gap: ${
|
|
1047
|
-
border-radius: ${
|
|
1048
|
-
border-width: ${
|
|
1055
|
+
height: ${f.mediumHeight};
|
|
1056
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
1057
|
+
gap: ${f.mediumGap};
|
|
1058
|
+
border-radius: ${f.mediumBorderRadius};
|
|
1059
|
+
border-width: ${f.mediumBorderWidth};
|
|
1049
1060
|
}
|
|
1050
1061
|
|
|
1051
1062
|
.ftds--size-medium:focus-visible {
|
|
1052
|
-
outline-width: ${
|
|
1053
|
-
outline-offset: ${
|
|
1063
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
1064
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
1054
1065
|
}
|
|
1055
1066
|
|
|
1056
1067
|
.ftds--size-medium.ft-button--icon-only {
|
|
1057
|
-
width: ${
|
|
1068
|
+
width: ${f.mediumIconOnlyWidth};
|
|
1058
1069
|
}
|
|
1059
1070
|
|
|
1060
1071
|
|
|
1061
1072
|
/** Small styles **/
|
|
1062
1073
|
|
|
1063
1074
|
.ftds--size-small {
|
|
1064
|
-
${(0,
|
|
1065
|
-
${(0,
|
|
1075
|
+
${(0,C.setVariable)(Q.size,f.smallIconSize)};
|
|
1076
|
+
${(0,C.setVariable)(V.size,f.smallIconSize)};
|
|
1066
1077
|
|
|
1067
|
-
height: ${
|
|
1068
|
-
padding: 0 ${
|
|
1069
|
-
gap: ${
|
|
1070
|
-
border-radius: ${
|
|
1071
|
-
border-width: ${
|
|
1078
|
+
height: ${f.smallHeight};
|
|
1079
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
1080
|
+
gap: ${f.smallGap};
|
|
1081
|
+
border-radius: ${f.smallBorderRadius};
|
|
1082
|
+
border-width: ${f.smallBorderWidth};
|
|
1072
1083
|
}
|
|
1073
1084
|
|
|
1074
1085
|
.ftds--size-small:focus-visible {
|
|
1075
|
-
outline-width: ${
|
|
1076
|
-
outline-offset: ${
|
|
1086
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
1087
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
1077
1088
|
}
|
|
1078
1089
|
|
|
1079
1090
|
.ftds--size-small.ft-button--icon-only {
|
|
1080
|
-
width: ${
|
|
1091
|
+
width: ${f.smallIconOnlyWidth};
|
|
1081
1092
|
}
|
|
1082
|
-
`,
|
|
1093
|
+
`,C.noTextSelect];var Fo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ke=class extends(0,zo.toFtdsBase)(z){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Qr.brand,this.iconVariant=_e.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 Be.large:return Me.body2medium;case Be.medium:return Me.caption1medium;case Be.small:return Me.caption2medium}}};ke.elementDefinitions={...z.elementDefinitions,"ft-or-ftds-typography":Ue};ke.styles=[zo.safariEllipsisFix,Il];Fo([(0,Wr.property)({type:Boolean})],ke.prototype,"primary",void 0);Fo([(0,Wr.property)({type:Boolean})],ke.prototype,"secondary",void 0);Fo([(0,Wr.property)({type:Boolean})],ke.prototype,"tertiary",void 0);Fo([(0,Wr.property)({type:Boolean})],ke.prototype,"round",void 0);(0,Da.customElement)("ft-button")(Pe);(0,Da.customElement)("ftds-button")(ke);var _l=M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnSurface),ge={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorSurface),color:_l,fontSize:M.FtCssVariableFactory.extend("--ft-chip-font-size","",Ae.fontSize),fontWeight:M.FtCssVariableFactory.extend("--ft-chip-font-weight","",Ae.fontWeight),iconSize:M.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:M.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:M.FtCssVariableFactory.extend("--ft-chip-ripple-color","",_l),horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:M.FtCssVariableFactory.extend("--ft-chip-border-color","",M.designSystemVariables.colorOutline),opacityDisabled:M.FtCssVariableFactory.external(M.designSystemVariables.colorOpacityDisabled,"Design system")},Pl=M.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",M.FtCssVariableFactory.extend("--ft-chip-color","",M.designSystemVariables.colorOnPrimary)),Ba={backgroundColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",M.FtCssVariableFactory.extend("--ft-chip-background-color","",M.designSystemVariables.colorPrimary)),color:Pl,rippleColor:M.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Pl)},kl={horizontalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:M.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Dl=[M.noTextSelect,Gr.css`
|
|
1083
1094
|
:host {
|
|
1084
1095
|
display: inline-block;
|
|
1085
1096
|
max-width: 100%;
|
|
@@ -1095,21 +1106,21 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1095
1106
|
box-sizing: border-box;
|
|
1096
1107
|
pointer-events: auto;
|
|
1097
1108
|
|
|
1098
|
-
--chip-internal-font-size: ${
|
|
1099
|
-
--chip-internal-font-weight: ${
|
|
1109
|
+
--chip-internal-font-size: ${ge.fontSize};
|
|
1110
|
+
--chip-internal-font-weight: ${ge.fontWeight};
|
|
1100
1111
|
--chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
|
|
1101
|
-
${(0,
|
|
1102
|
-
--chip-internal-vertical-padding: ${
|
|
1103
|
-
--chip-internal-horizontal-padding: ${
|
|
1112
|
+
${(0,M.setVariable)(Q.size,ge.iconSize)};
|
|
1113
|
+
--chip-internal-vertical-padding: ${ge.verticalPadding};
|
|
1114
|
+
--chip-internal-horizontal-padding: ${ge.horizontalPadding};
|
|
1104
1115
|
--chip-internal-icon-padding: 3px;
|
|
1105
|
-
--chip-internal-content-height: max(var(--chip-internal-line-height), ${
|
|
1116
|
+
--chip-internal-content-height: max(var(--chip-internal-line-height), ${ge.iconSize});
|
|
1106
1117
|
|
|
1107
|
-
border: 1px solid ${
|
|
1108
|
-
color: ${
|
|
1109
|
-
${(0,
|
|
1110
|
-
border-radius: var(${(0,
|
|
1118
|
+
border: 1px solid ${ge.borderColor};
|
|
1119
|
+
color: ${ge.color};
|
|
1120
|
+
${(0,M.setVariable)(E.color,ge.rippleColor)};
|
|
1121
|
+
border-radius: var(${(0,Gr.unsafeCSS)(ge.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
|
|
1111
1122
|
padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
|
|
1112
|
-
background-color: ${
|
|
1123
|
+
background-color: ${ge.backgroundColor};
|
|
1113
1124
|
line-height: var(--chip-internal-content-height);
|
|
1114
1125
|
}
|
|
1115
1126
|
|
|
@@ -1119,28 +1130,28 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1119
1130
|
|
|
1120
1131
|
.ft-chip--dense {
|
|
1121
1132
|
--chip-internal-icon-padding: 3px;
|
|
1122
|
-
--chip-internal-vertical-padding: ${
|
|
1123
|
-
--chip-internal-horizontal-padding: ${
|
|
1133
|
+
--chip-internal-vertical-padding: ${kl.verticalPadding};
|
|
1134
|
+
--chip-internal-horizontal-padding: ${kl.horizontalPadding};
|
|
1124
1135
|
--chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
|
|
1125
1136
|
}
|
|
1126
1137
|
|
|
1127
1138
|
.ft-chip--no-content {
|
|
1128
|
-
--chip-internal-horizontal-padding: ${
|
|
1139
|
+
--chip-internal-horizontal-padding: ${ge.horizontalPadding.get(Gr.css`var(--chip-internal-vertical-padding)`)};
|
|
1129
1140
|
}
|
|
1130
1141
|
|
|
1131
1142
|
.ft-chip--disabled {
|
|
1132
1143
|
cursor: default;
|
|
1133
1144
|
pointer-events: none;
|
|
1134
1145
|
filter: grayscale(1);
|
|
1135
|
-
opacity: ${
|
|
1146
|
+
opacity: ${ge.opacityDisabled};
|
|
1136
1147
|
}
|
|
1137
1148
|
|
|
1138
1149
|
.ft-chip--highlighted {
|
|
1139
1150
|
border: none;
|
|
1140
1151
|
padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
|
|
1141
|
-
background-color: ${
|
|
1142
|
-
${(0,
|
|
1143
|
-
color: ${
|
|
1152
|
+
background-color: ${Ba.backgroundColor};
|
|
1153
|
+
${(0,M.setVariable)(E.color,Ba.rippleColor)};
|
|
1154
|
+
color: ${Ba.color};
|
|
1144
1155
|
}
|
|
1145
1156
|
|
|
1146
1157
|
.ft-chip--clickable {
|
|
@@ -1149,7 +1160,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1149
1160
|
}
|
|
1150
1161
|
|
|
1151
1162
|
.ft-chip:focus {
|
|
1152
|
-
outline: 2px solid ${
|
|
1163
|
+
outline: 2px solid ${M.designSystemVariables.colorPrimary};
|
|
1153
1164
|
outline-offset: 2px;
|
|
1154
1165
|
}
|
|
1155
1166
|
|
|
@@ -1171,9 +1182,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1171
1182
|
}
|
|
1172
1183
|
|
|
1173
1184
|
.ft-chip--icon-button {
|
|
1174
|
-
${(0,
|
|
1175
|
-
${(0,
|
|
1176
|
-
${(0,
|
|
1185
|
+
${(0,M.setVariable)(q.iconSize,ge.iconSize)};
|
|
1186
|
+
${(0,M.setVariable)(q.horizontalPadding,"var(--chip-internal-icon-padding)")};
|
|
1187
|
+
${(0,M.setVariable)(q.verticalPadding,"var(--chip-internal-icon-padding)")};
|
|
1177
1188
|
margin: calc((-1) * var(--chip-internal-icon-padding));
|
|
1178
1189
|
}
|
|
1179
1190
|
|
|
@@ -1181,9 +1192,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1181
1192
|
vertical-align: bottom;
|
|
1182
1193
|
display: block;
|
|
1183
1194
|
margin: 0 var(--chip-internal-horizontal-padding);
|
|
1184
|
-
${(0,
|
|
1185
|
-
${(0,
|
|
1186
|
-
${(0,
|
|
1195
|
+
${(0,M.setVariable)(Ae.fontSize,"var(--chip-internal-font-size)")};
|
|
1196
|
+
${(0,M.setVariable)(Ae.fontWeight,"var(--chip-internal-font-weight)")};
|
|
1197
|
+
${(0,M.setVariable)(Ae.lineHeight,"var(--chip-internal-content-height)")};
|
|
1187
1198
|
}
|
|
1188
1199
|
|
|
1189
1200
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1219,8 +1230,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1219
1230
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1220
1231
|
order: -1;
|
|
1221
1232
|
}
|
|
1222
|
-
`];var
|
|
1223
|
-
<div class="${(0,
|
|
1233
|
+
`];var be=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Wo=class extends CustomEvent{constructor(){super("icon-click")}},Y=class extends gr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":gr.isSafari};return Ho.html`
|
|
1234
|
+
<div class="${(0,Bl.classMap)(t)}"
|
|
1224
1235
|
aria-label="${this.getLabel()}"
|
|
1225
1236
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1226
1237
|
@keyup=${this.onKeyUp}
|
|
@@ -1231,7 +1242,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1231
1242
|
</ft-typography>
|
|
1232
1243
|
${this.internalIcon?this.renderIcon():null}
|
|
1233
1244
|
</div>
|
|
1234
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1245
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Ho.html`
|
|
1235
1246
|
<ft-button round
|
|
1236
1247
|
class="ft-chip--icon-button"
|
|
1237
1248
|
@click=${this.onIconClick}
|
|
@@ -1242,11 +1253,11 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1242
1253
|
part="icon-button"
|
|
1243
1254
|
?hideTooltip=${this.hideIconTooltip}
|
|
1244
1255
|
></ft-button>
|
|
1245
|
-
`:
|
|
1256
|
+
`:Ho.html`
|
|
1246
1257
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1247
1258
|
<ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
|
|
1248
1259
|
</div>
|
|
1249
|
-
`}onKeyUp(
|
|
1260
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Wo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Wo))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,gr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Y.elementDefinitions={"ft-ripple":K,"ft-typography":ve,"ft-icon":de,"ft-button":Pe};Y.styles=Dl;be([(0,ue.property)({type:Boolean})],Y.prototype,"highlighted",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"removable",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"disabled",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"clickable",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"iconClickable",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"dense",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"multiLine",void 0);be([(0,ue.property)()],Y.prototype,"label",void 0);be([(0,ue.property)()],Y.prototype,"iconLabel",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"hideIconTooltip",void 0);be([(0,ue.property)()],Y.prototype,"icon",void 0);be([(0,ue.property)()],Y.prototype,"iconVariant",void 0);be([(0,ue.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);be([(0,ue.query)("ft-typography slot")],Y.prototype,"slottedContent",void 0);var St=v(W()),Ct=v(X()),$l=v(Mr()),jo=v(_());var Ml=v(W());var Go=v(_());var Ul=[Ml.css`
|
|
1250
1261
|
:host {
|
|
1251
1262
|
display: inline-block;
|
|
1252
1263
|
max-width: 100%;
|
|
@@ -1280,16 +1291,16 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1280
1291
|
|
|
1281
1292
|
/* SMALL VARIANT */
|
|
1282
1293
|
.ftds--size-small {
|
|
1283
|
-
min-height: ${
|
|
1284
|
-
padding: 0 ${
|
|
1285
|
-
border-radius: ${
|
|
1286
|
-
border-width: ${
|
|
1294
|
+
min-height: ${k.smallMinHeight};
|
|
1295
|
+
padding: 0 ${k.smallHorizontalPadding};
|
|
1296
|
+
border-radius: ${k.smallBorderRadius};
|
|
1297
|
+
border-width: ${k.smallBorderWidth};
|
|
1287
1298
|
border-style: solid;
|
|
1288
|
-
${(0,
|
|
1299
|
+
${(0,Go.setVariable)(Q.size,k.smallIconSize)}
|
|
1289
1300
|
}
|
|
1290
1301
|
|
|
1291
1302
|
.ftds--size-small.ftds-chip--with-action {
|
|
1292
|
-
padding-right: ${
|
|
1303
|
+
padding-right: ${k.smallButtonRightPadding};
|
|
1293
1304
|
}
|
|
1294
1305
|
|
|
1295
1306
|
.ftds--size-small ftds-typography {
|
|
@@ -1299,17 +1310,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1299
1310
|
|
|
1300
1311
|
.ftds--size-small .ftds-chip--icon-container {
|
|
1301
1312
|
overflow: visible;
|
|
1302
|
-
height: ${
|
|
1303
|
-
margin-right: ${
|
|
1313
|
+
height: ${k.smallIconSize};
|
|
1314
|
+
margin-right: ${k.smallButtonRightPadding};
|
|
1304
1315
|
}
|
|
1305
1316
|
|
|
1306
1317
|
/* Dirty non-variabilized tweaks to properly center the icon */
|
|
1307
1318
|
.ftds--size-small .ftds-chip--remove-button {
|
|
1308
1319
|
overflow: visible;
|
|
1309
1320
|
top: -3px;
|
|
1310
|
-
height: ${
|
|
1321
|
+
height: ${k.smallIconSize};
|
|
1311
1322
|
transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
|
|
1312
|
-
${
|
|
1323
|
+
${ka.smallIconOnlyWidth.set("15px")};
|
|
1313
1324
|
}
|
|
1314
1325
|
|
|
1315
1326
|
.ftds--size-small .ftds-chip--remove-button::part(icon) {
|
|
@@ -1318,17 +1329,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1318
1329
|
|
|
1319
1330
|
/* MEDIUM VARIANT */
|
|
1320
1331
|
.ftds--size-medium {
|
|
1321
|
-
min-height: ${
|
|
1322
|
-
padding: 0 ${
|
|
1323
|
-
border-radius: ${
|
|
1324
|
-
border-width: ${
|
|
1332
|
+
min-height: ${k.mediumMinHeight};
|
|
1333
|
+
padding: 0 ${k.mediumHorizontalPadding};
|
|
1334
|
+
border-radius: ${k.mediumBorderRadius};
|
|
1335
|
+
border-width: ${k.mediumBorderWidth};
|
|
1325
1336
|
border-style: solid;
|
|
1326
|
-
gap: ${
|
|
1327
|
-
${(0,
|
|
1337
|
+
gap: ${k.mediumGap};
|
|
1338
|
+
${(0,Go.setVariable)(Q.size,k.mediumIconSize)}
|
|
1328
1339
|
}
|
|
1329
1340
|
|
|
1330
1341
|
.ftds--size-medium.ftds-chip--with-action {
|
|
1331
|
-
padding-right: ${
|
|
1342
|
+
padding-right: ${k.mediumButtonRightPadding};
|
|
1332
1343
|
}
|
|
1333
1344
|
|
|
1334
1345
|
.ftds--size-medium .ftds-chip--remove-button {
|
|
@@ -1337,17 +1348,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1337
1348
|
|
|
1338
1349
|
/* LARGE VARIANT */
|
|
1339
1350
|
.ftds--size-large {
|
|
1340
|
-
min-height: ${
|
|
1341
|
-
padding: 0 ${
|
|
1342
|
-
border-radius: ${
|
|
1343
|
-
border-width: ${
|
|
1351
|
+
min-height: ${k.largeMinHeight};
|
|
1352
|
+
padding: 0 ${k.largeHorizontalPadding};
|
|
1353
|
+
border-radius: ${k.largeBorderRadius};
|
|
1354
|
+
border-width: ${k.largeBorderWidth};
|
|
1344
1355
|
border-style: solid;
|
|
1345
|
-
gap: ${
|
|
1346
|
-
${(0,
|
|
1356
|
+
gap: ${k.largeGap};
|
|
1357
|
+
${(0,Go.setVariable)(Q.size,k.largeIconSize)}
|
|
1347
1358
|
}
|
|
1348
1359
|
|
|
1349
1360
|
.ftds--size-large.ftds-chip--with-action {
|
|
1350
|
-
padding-right: ${
|
|
1361
|
+
padding-right: ${k.largeButtonRightPadding};
|
|
1351
1362
|
}
|
|
1352
1363
|
|
|
1353
1364
|
.ftds--size-large .ftds-chip--remove-button {
|
|
@@ -1357,64 +1368,64 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1357
1368
|
|
|
1358
1369
|
/* NEUTRAL COLORS */
|
|
1359
1370
|
.ftds--family-neutral {
|
|
1360
|
-
background-color: ${
|
|
1361
|
-
border-color: ${
|
|
1362
|
-
color: ${
|
|
1371
|
+
background-color: ${k.neutralBackgroundColor};
|
|
1372
|
+
border-color: ${k.neutralBorderColor};
|
|
1373
|
+
color: ${k.neutralColor};
|
|
1363
1374
|
}
|
|
1364
1375
|
|
|
1365
1376
|
.ftds--family-neutral .ftds-chip--icon-container {
|
|
1366
|
-
color: ${
|
|
1377
|
+
color: ${k.neutralIconColor};
|
|
1367
1378
|
}
|
|
1368
1379
|
|
|
1369
1380
|
|
|
1370
1381
|
/* INFO COLORS */
|
|
1371
1382
|
.ftds--family-info {
|
|
1372
|
-
background-color: ${
|
|
1373
|
-
border-color: ${
|
|
1374
|
-
color: ${
|
|
1383
|
+
background-color: ${k.infoBackgroundColor};
|
|
1384
|
+
border-color: ${k.infoBorderColor};
|
|
1385
|
+
color: ${k.infoColor};
|
|
1375
1386
|
}
|
|
1376
1387
|
|
|
1377
1388
|
.ftds--family-info .ftds-chip--icon-container {
|
|
1378
|
-
color: ${
|
|
1389
|
+
color: ${k.infoIconColor};
|
|
1379
1390
|
}
|
|
1380
1391
|
|
|
1381
1392
|
|
|
1382
1393
|
/* SUCCESS COLORS */
|
|
1383
1394
|
.ftds--family-success {
|
|
1384
|
-
background-color: ${
|
|
1385
|
-
border-color: ${
|
|
1386
|
-
color: ${
|
|
1395
|
+
background-color: ${k.successBackgroundColor};
|
|
1396
|
+
border-color: ${k.successBorderColor};
|
|
1397
|
+
color: ${k.successColor};
|
|
1387
1398
|
}
|
|
1388
1399
|
|
|
1389
1400
|
.ftds--family-success .ftds-chip--icon-container {
|
|
1390
|
-
color: ${
|
|
1401
|
+
color: ${k.successIconColor};
|
|
1391
1402
|
}
|
|
1392
1403
|
|
|
1393
1404
|
|
|
1394
1405
|
/* WARNING COLORS */
|
|
1395
1406
|
.ftds--family-warning {
|
|
1396
|
-
background-color: ${
|
|
1397
|
-
border-color: ${
|
|
1398
|
-
color: ${
|
|
1407
|
+
background-color: ${k.warningBackgroundColor};
|
|
1408
|
+
border-color: ${k.warningBorderColor};
|
|
1409
|
+
color: ${k.warningColor};
|
|
1399
1410
|
}
|
|
1400
1411
|
|
|
1401
1412
|
.ftds--family-warning .ftds-chip--icon-container {
|
|
1402
|
-
color: ${
|
|
1413
|
+
color: ${k.warningIconColor};
|
|
1403
1414
|
}
|
|
1404
1415
|
|
|
1405
1416
|
|
|
1406
1417
|
/* ERROR COLORS */
|
|
1407
1418
|
.ftds--family-error {
|
|
1408
|
-
background-color: ${
|
|
1409
|
-
border-color: ${
|
|
1410
|
-
color: ${
|
|
1419
|
+
background-color: ${k.errorBackgroundColor};
|
|
1420
|
+
border-color: ${k.errorBorderColor};
|
|
1421
|
+
color: ${k.errorColor};
|
|
1411
1422
|
}
|
|
1412
1423
|
|
|
1413
1424
|
.ftds--family-error .ftds-chip--icon-container {
|
|
1414
|
-
color: ${
|
|
1425
|
+
color: ${k.errorIconColor};
|
|
1415
1426
|
}
|
|
1416
|
-
`];var
|
|
1417
|
-
<div class="${(0
|
|
1427
|
+
`];var br=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ma=class extends CustomEvent{constructor(){super("remove")}},De=class extends jo.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return St.html`
|
|
1428
|
+
<div class="${(0,$l.classMap)(t)}"
|
|
1418
1429
|
aria-label="${this.getLabel()}"
|
|
1419
1430
|
part="chip">
|
|
1420
1431
|
${this.renderIcon()}
|
|
@@ -1423,48 +1434,48 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
1423
1434
|
</ftds-typography>
|
|
1424
1435
|
${this.renderAction()}
|
|
1425
1436
|
</div>
|
|
1426
|
-
`}renderIcon(){return this.icon?
|
|
1437
|
+
`}renderIcon(){return this.icon?St.html`
|
|
1427
1438
|
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1428
|
-
<ft-icon .variant=${
|
|
1439
|
+
<ft-icon .variant=${_e.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
|
|
1429
1440
|
</div>
|
|
1430
|
-
`:
|
|
1441
|
+
`:St.nothing}renderAction(){return this.removable?St.html`
|
|
1431
1442
|
<ftds-button round
|
|
1432
1443
|
class="ftds-chip--remove-button"
|
|
1433
1444
|
@click=${this.dispatchRemoveEvent}
|
|
1434
|
-
icon="${
|
|
1445
|
+
icon="${mr.X_MARK}"
|
|
1435
1446
|
label="${this.removeButtonLabel}"
|
|
1436
|
-
family="${
|
|
1447
|
+
family="${jo.DesignSystemFamily.neutral}"
|
|
1437
1448
|
size="${this.resolveButtonSize()}"
|
|
1438
1449
|
part="icon-button"
|
|
1439
1450
|
></ftds-button>
|
|
1440
|
-
`:this.withAction?
|
|
1451
|
+
`:this.withAction?St.html`
|
|
1441
1452
|
<slot name="action"></slot>
|
|
1442
|
-
`:Ye.nothing}resolveButtonSize(){switch(this.size){case Se.large:return Se.medium;default:return Se.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new cn)}typographyVariant(){switch(this.size){case Se.large:return Oe.body2medium;default:return Oe.caption1medium}}};xe.elementDefinitions={"ftds-typography":Ce,"ft-icon":X,"ftds-button":be};xe.styles=Di;zt([(0,Xe.property)({type:Boolean})],xe.prototype,"withAction",void 0);zt([(0,Xe.property)({type:Boolean})],xe.prototype,"removable",void 0);zt([(0,Xe.property)()],xe.prototype,"removeButtonLabel",void 0);zt([(0,Xe.property)()],xe.prototype,"label",void 0);zt([(0,Xe.property)()],xe.prototype,"icon",void 0);zt([(0,Xe.query)("ftds-typography slot")],xe.prototype,"slottedContent",void 0);(0,ln.customElement)("ft-chip")(U);(0,ln.customElement)("ftds-chip")(xe);var $n=O(q());function mc(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;let r,n,a;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!Do(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!Do(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();let s=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=s(t),r=a.length,r!==s(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){let c=a[n];if(!Do(t[c],o[c]))return!1}return!0}return t!==t&&o!==o||t==null&&o==null}function Do(t,o){try{return mc(t,o)}catch{return!1}}function lo(t,o){return!Do(t,o)}function zo(t,o){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let a=o(n);return a[t]=!0,a}}var Wi=O(q(),1);var dn=t=>{let o=t??{};return(r,n)=>{var a;let s={hasChanged:lo,attribute:!1,...o};(0,Wi.property)(s)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=o.selector)!==null&&a!==void 0?a:d=>d[n],store:o.store})}};var Wo=class{constructor(){this.queue=[]}add(o,r=!1){r&&this.clear(o.type),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(o){typeof o=="string"?this.queue=this.queue.filter(r=>r.type!==o):this.queue=this.queue.filter(r=>!o.test(r.type))}};var ft=O(q(),1);var Mi=O(q(),1);function Hi(t,o){let r=()=>JSON.parse(JSON.stringify(t));return(0,Mi.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:lo,...o??{}})}var Mo=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,s=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Gi=O(M(),1);var Ho=globalThis,gc=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yg=Symbol();var Ui=(t,o)=>{if(gc)t.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of o){let n=document.createElement("style"),a=Ho.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}};var Uo=class extends Gi.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,s])=>o.registry.define(a,s)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ui(n,o.elementStyles),n}};function Fi(t,o,...r){var n;let a=t.querySelector(o);for(let s of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var Mt=function(t,o,r,n){var a=arguments.length,s=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,o,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(s=(a<3?c(s):a>3?c(o,r,s):c(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},Zi,Vi=Symbol("constructorPrototype"),ji=Symbol("constructorName"),qi=Symbol("exportpartsDebouncer"),Ki=Symbol("dynamicDependenciesLoaded"),Wt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Wt.eventName="exportparts-updated";var Te=class extends Uo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zi]=new Mo(5),this.scheduleExportpartsUpdate=()=>{var o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[qi].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ji]=this.constructor.name,this[Vi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ji]&&Object.setPrototypeOf(this,this[Vi])}connectedCallback(){var o;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Ki]||(r[Ki]=!0,this.importDynamicDependencies()),(o=this.shadowRoot)===null||o===void 0||o.addEventListener(Wt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.shadowRoot)===null||o===void 0||o.removeEventListener(Wt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.focusElementToFocus(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate(),o.has("exportparts")&&this.dispatchEvent(new Wt)})}contentAvailableCallback(o){}focusElementToFocus(o){if(o.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];r=Fi(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(o.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(o){var r,n,a,s,c,d;let p=m=>m!=null&&m.trim().length>0,f=o.filter(p).map(m=>m.trim());if(f.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],g=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(E=>E.split(":")[1]))!==null&&d!==void 0?d:[],v=[...b,...g].filter(p).map(E=>E.trim());for(let E of v)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let y=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...y].join(", ")}};Zi=qi;Mt([(0,ft.property)()],Te.prototype,"exportpartsPrefix",void 0);Mt([Hi([])],Te.prototype,"exportpartsPrefixes",void 0);Mt([(0,ft.property)({reflect:!0})],Te.prototype,"exportparts",void 0);Mt([(0,ft.property)()],Te.prototype,"customStylesheet",void 0);Mt([(0,ft.property)()],Te.prototype,"elementToFocus",void 0);Mt([(0,ft.state)()],Te.prototype,"useAdoptedStyleSheets",void 0);function Go(t){var o;return(o=t?.isFtReduxStore)!==null&&o!==void 0?o:!1}var po=Symbol("internalReduxEventsUnsubscribers"),Je=Symbol("internalStoresUnsubscribers"),ut=Symbol("internalStores"),bc=zo(Symbol("withRedux"),function(t){var o,r,n;class a extends t{constructor(){super(...arguments),this[o]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[ut].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ut].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[ut].get(c)}addStore(c,d){var p;d=(p=d??c.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(d),this[ut].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[ut].delete(d)}setupStores(){this.unsubscribeFromStores(),this[ut].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let p=this.constructor.getPropertyOptions(d);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:d)){let f=this.getStore(c.store);f&&(c.store?this[Je].has(c.store):this[Je].size>0)&&(this[d]=c.selector(f.getState(),this))}})}subscribeToStore(c,d){var p;this[Je].set(c,d.subscribe(()=>this.updateFromStores())),this[po].set(c,[]),Go(d)&&d.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||d.name===f.store)){let y=m=>this[h](m);d.addEventListener(f.eventName,y),this[po].get(c).push(()=>d.removeEventListener(f.eventName,y))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Je].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[Je].has(c)&&this[Je].get(c)(),this[Je].delete(c),(d=this[po].get(c))===null||d===void 0||d.forEach(p=>p()),this[po].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return o=Je,r=ut,n=po,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Yi=class extends bc(Te){};function ve(t){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(t){return!!t&&!!t[W]}function Re(t){var o;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Nc}(t)||Array.isArray(t)||!!t[rs]||!!(!((o=t.constructor)===null||o===void 0)&&o[rs])||xn(t)||vn(t))}function ht(t,o,r){r===void 0&&(r=!1),Gt(t)===0?(r?Object.keys:Ut)(t).forEach(function(n){r&&typeof n=="symbol"||o(n,t[n],t)}):t.forEach(function(n,a){return o(a,n,t)})}function Gt(t){var o=t[W];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:xn(t)?2:vn(t)?3:0}function Ht(t,o){return Gt(t)===2?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function xc(t,o){return Gt(t)===2?t.get(o):t[o]}function ns(t,o,r){var n=Gt(t);n===2?t.set(o,r):n===3?t.add(r):t[o]=r}function as(t,o){return t===o?t!==0||1/t==1/o:t!=t&&o!=o}function xn(t){return wc&&t instanceof Map}function vn(t){return Ec&&t instanceof Set}function Qe(t){return t.o||t.t}function Sn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=cs(t);delete o[W];for(var r=Ut(o),n=0;n<r.length;n++){var a=r[n],s=o[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(o[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),o)}function On(t,o){return o===void 0&&(o=!1),Cn(t)||He(t)||!Re(t)||(Gt(t)>1&&(t.set=t.add=t.clear=t.delete=vc),Object.freeze(t),o&&ht(t,function(r,n){return On(n,!0)},!0)),t}function vc(){ve(2)}function Cn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var o=bn[t];return o||ve(18,t),o}function Sc(t,o){bn[t]||(bn[t]=o)}function yn(){return uo}function pn(t,o){o&&(Be("Patches"),t.u=[],t.s=[],t.v=o)}function Fo(t){mn(t),t.p.forEach(Oc),t.p=null}function mn(t){t===uo&&(uo=t.l)}function Xi(t){return uo={p:[],l:uo,h:t,m:!0,_:0}}function Oc(t){var o=t[W];o.i===0||o.i===1?o.j():o.g=!0}function fn(t,o){o._=o.p.length;var r=o.p[0],n=t!==void 0&&t!==r;return o.h.O||Be("ES5").S(o,t,n),n?(r[W].P&&(Fo(o),ve(4)),Re(t)&&(t=Vo(o,t),o.l||jo(o,t)),o.u&&Be("Patches").M(r[W].t,t,o.u,o.s)):t=Vo(o,r,[]),Fo(o),o.u&&o.v(o.u,o.s),t!==ss?t:void 0}function Vo(t,o,r){if(Cn(o))return o;var n=o[W];if(!n)return ht(o,function(d,p){return Ji(t,n,o,d,p,r)},!0),o;if(n.A!==t)return o;if(!n.P)return jo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Sn(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),ht(s,function(d,p){return Ji(t,n,a,d,p,r,c)}),jo(t,a,!1),r&&t.u&&Be("Patches").N(n,r,t.u,t.s)}return n.o}function Ji(t,o,r,n,a,s,c){if(He(a)){var d=Vo(t,a,s&&o&&o.i!==3&&!Ht(o.R,n)?s.concat(n):void 0);if(ns(r,n,d),!He(d))return;t.m=!1}else c&&r.add(a);if(Re(a)&&!Cn(a)){if(!t.h.D&&t._<1)return;Vo(t,a),o&&o.A.l||jo(t,a)}}function jo(t,o,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&On(o,r)}function un(t,o){var r=t[W];return(r?Qe(r):t)[o]}function Qi(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function et(t){t.P||(t.P=!0,t.l&&et(t.l))}function hn(t){t.o||(t.o=Sn(t.t))}function gn(t,o,r){var n=xn(o)?Be("MapSet").F(o,r):vn(o)?Be("MapSet").T(o,r):t.O?function(a,s){var c=Array.isArray(a),d={i:c?1:0,A:s?s.A:yn(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},p=d,f=ho;c&&(p=[d],f=fo);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return d.k=m,d.j=y,m}(o,r):Be("ES5").J(o,r);return(r?r.A:yn()).p.push(n),n}function Cc(t){return He(t)||ve(22,t),function o(r){if(!Re(r))return r;var n,a=r[W],s=Gt(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,n=es(r,s),a.I=!1}else n=es(r,s);return ht(n,function(c,d){a&&xc(a.t,c)===d||ns(n,c,o(d))}),s===3?new Set(n):n}(t)}function es(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Sn(t)}function is(){function t(c,d){var p=s[c];return p?p.enumerable=d:s[c]=p={configurable:!0,enumerable:d,get:function(){var f=this[W];return ho.get(f,c)},set:function(f){var h=this[W];ho.set(h,c,f)}},p}function o(c){for(var d=c.length-1;d>=0;d--){var p=c[d][W];if(!p.P)switch(p.i){case 5:n(p)&&et(p);break;case 4:r(p)&&et(p)}}}function r(c){for(var d=c.t,p=c.k,f=Ut(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==W){var m=d[y];if(m===void 0&&!Ht(d,y))return!0;var b=p[y],g=b&&b[W];if(g?g.t!==m:!as(b,m))return!0}}var v=!!d[W];return f.length!==Ut(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(c){c.g&&ve(3,JSON.stringify(Qe(c)))}var s={};Sc("ES5",{J:function(c,d){var p=Array.isArray(c),f=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,t(g,!0));return b}var v=cs(m);delete v[W];for(var E=Ut(v),N=0;N<E.length;N++){var R=E[N];v[R]=t(R,y||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(p,c),h={i:p?5:4,A:d?d.A:yn(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,W,{value:h,writable:!0}),f},S:function(c,d,p){p?He(d)&&d[W].A===c&&o(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var y=h[W];if(y){var m=y.t,b=y.k,g=y.R,v=y.i;if(v===4)ht(b,function(B){B!==W&&(m[B]!==void 0||Ht(m,B)?g[B]||f(b[B]):(g[B]=!0,et(y)))}),ht(m,function(B){b[B]!==void 0||Ht(b,B)||(g[B]=!1,et(y))});else if(v===5){if(n(y)&&(et(y),g.length=!0),b.length<m.length)for(var E=b.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<b.length;N++)g[N]=!0;for(var R=Math.min(b.length,m.length),P=0;P<R;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(c.p[0]),o(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var ts,uo,wn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",wc=typeof Map<"u",Ec=typeof Set<"u",os=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ss=wn?Symbol.for("immer-nothing"):((ts={})["immer-nothing"]=!0,ts),rs=wn?Symbol.for("immer-draftable"):"__$immer_draftable",W=wn?Symbol.for("immer-state"):"__$immer_state";var Nc=""+Object.prototype.constructor,Ut=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,cs=Object.getOwnPropertyDescriptors||function(t){var o={};return Ut(t).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)}),o},bn={},ho={get:function(t,o){if(o===W)return t;var r=Qe(t);if(!Ht(r,o))return function(a,s,c){var d,p=Qi(s,c);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(t,r,o);var n=r[o];return t.I||!Re(n)?n:n===un(t.t,o)?(hn(t),t.o[o]=gn(t.A.h,n,t)):n},has:function(t,o){return o in Qe(t)},ownKeys:function(t){return Reflect.ownKeys(Qe(t))},set:function(t,o,r){var n=Qi(Qe(t),o);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=un(Qe(t),o),s=a?.[W];if(s&&s.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(as(r,a)&&(r!==void 0||Ht(t.t,o)))return!0;hn(t),et(t)}return t.o[o]===r&&(r!==void 0||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return un(t.t,o)!==void 0||o in t.t?(t.R[o]=!1,hn(t),et(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=Qe(t),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:t.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ve(12)}},fo={};ht(ho,function(t,o){fo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),fo.deleteProperty=function(t,o){return fo.set.call(this,t,o,void 0)},fo.set=function(t,o,r){return ho.set.call(this,t[0],o,r,t[0])};var Rc=function(){function t(r){var n=this;this.O=os,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var p=n;return function(v){var E=this;v===void 0&&(v=d);for(var N=arguments.length,R=Array(N>1?N-1:0),P=1;P<N;P++)R[P-1]=arguments[P];return p.produce(v,function(B){var _;return(_=s).call.apply(_,[E,B].concat(R))})}}var f;if(typeof s!="function"&&ve(6),c!==void 0&&typeof c!="function"&&ve(7),Re(a)){var h=Xi(n),y=gn(n,a,void 0),m=!0;try{f=s(y),m=!1}finally{m?Fo(h):mn(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return pn(h,c),fn(v,h)},function(v){throw Fo(h),v}):(pn(h,c),fn(f,h))}if(!a||typeof a!="object"){if((f=s(a))===void 0&&(f=a),f===ss&&(f=void 0),n.D&&On(f,!0),c){var b=[],g=[];Be("Patches").M(a,f,b,g),c(b,g)}return f}ve(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(y))})};var c,d,p=n.produce(a,s,function(f,h){c=f,d=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,c,d]}):[p,c,d]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=t.prototype;return o.createDraft=function(r){Re(r)||ve(8),He(r)&&(r=Cc(r));var n=Xi(this),a=gn(this,r,void 0);return a[W].C=!0,mn(n),a},o.finishDraft=function(r,n){var a=r&&r[W],s=a.A;return pn(s,n),fn(void 0,s)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!os&&ve(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){r=s.value;break}}a>-1&&(n=n.slice(a+1));var c=Be("Patches").$;return He(r)?c(r,n):this.produce(r,function(d){return c(d,n)})},t}(),pe=new Rc,Ac=pe.produce,Pg=pe.produceWithPatches.bind(pe),Ig=pe.setAutoFreeze.bind(pe),Tg=pe.setUseProxies.bind(pe),Bg=pe.applyPatches.bind(pe),$g=pe.createDraft.bind(pe),kg=pe.finishDraft.bind(pe),Ko=Ac;function yt(t){"@babel/helpers - typeof";return yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},yt(t)}function ls(t,o){if(yt(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,o||"default");if(yt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(t)}function ds(t){var o=ls(t,"string");return yt(o)=="symbol"?o:o+""}function ps(t,o,r){return(o=ds(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function fs(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function En(t){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?fs(Object(r),!0).forEach(function(n){ps(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Q(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 us=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Nn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Zo={INIT:"@@redux/INIT"+Nn(),REPLACE:"@@redux/REPLACE"+Nn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Nn()}};function Lc(t){if(typeof t!="object"||t===null)return!1;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}function Rn(t,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Q(1));return r(Rn)(t,o)}if(typeof t!="function")throw new Error(Q(2));var a=t,s=o,c=[],d=c,p=!1;function f(){d===c&&(d=c.slice())}function h(){if(p)throw new Error(Q(3));return s}function y(v){if(typeof v!="function")throw new Error(Q(4));if(p)throw new Error(Q(5));var E=!0;return f(),d.push(v),function(){if(E){if(p)throw new Error(Q(6));E=!1,f();var R=d.indexOf(v);d.splice(R,1),c=null}}}function m(v){if(!Lc(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(p)throw new Error(Q(9));try{p=!0,s=a(s,v)}finally{p=!1}for(var E=c=d,N=0;N<E.length;N++){var R=E[N];R()}return v}function b(v){if(typeof v!="function")throw new Error(Q(10));a=v,m({type:Zo.REPLACE})}function g(){var v,E=y;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(Q(11));function P(){R.next&&R.next(h())}P();var B=E(P);return{unsubscribe:B}}},v[us]=function(){return this},v}return m({type:Zo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:b},n[us]=g,n}function Pc(t){Object.keys(t).forEach(function(o){var r=t[o],n=r(void 0,{type:Zo.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof r(void 0,{type:Zo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function hs(t){for(var o=Object.keys(t),r={},n=0;n<o.length;n++){var a=o[n];typeof t[a]=="function"&&(r[a]=t[a])}var s=Object.keys(r),c,d;try{Pc(r)}catch(p){d=p}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var m=!1,b={},g=0;g<s.length;g++){var v=s[g],E=r[v],N=f[v],R=E(N,h);if(typeof R>"u"){var P=h&&h.type;throw new Error(Q(14))}b[v]=R,m=m||R!==N}return m=m||s.length!==Object.keys(f).length,m?b:f}}function Ft(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function ys(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(Q(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=o.map(function(p){return p(c)});return s=Ft.apply(void 0,d)(a.dispatch),En(En({},a),{},{dispatch:s})}}}function ms(t){var o=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,s,t):c(d)}}};return o}var gs=ms();gs.withExtraArgument=ms;var An=gs;var Os=function(){var t=function(o,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},t(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ic=function(t,o){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(s=f[0]&2?a.return:f[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,f[1])).done)return s;switch(a=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){r.label=f[1];break}if(f[0]===6&&r.label<s[1]){r.label=s[1],s=f;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(f);break}s[2]&&r.ops.pop(),r.trys.pop();continue}f=o.call(t,r)}catch(h){f=[6,h],a=0}finally{n=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Vt=function(t,o){for(var r=0,n=o.length,a=t.length;r<n;r++,a++)t[a]=o[r];return t},Tc=Object.defineProperty,Bc=Object.defineProperties,$c=Object.getOwnPropertyDescriptors,bs=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,xs=function(t,o,r){return o in t?Tc(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},tt=function(t,o){for(var r in o||(o={}))kc.call(o,r)&&xs(t,r,o[r]);if(bs)for(var n=0,a=bs(o);n<a.length;n++){var r=a[n];_c.call(o,r)&&xs(t,r,o[r])}return t},Ln=function(t,o){return Bc(t,$c(o))},Dc=function(t,o,r){return new Promise(function(n,a){var s=function(p){try{d(r.next(p))}catch(f){a(f)}},c=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(s,c)};d((r=r.apply(t,o)).next())})};var zc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ft:Ft.apply(null,arguments)},Qg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Wc(t){if(typeof t!="object"||t===null)return!1;var o=Object.getPrototypeOf(t);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var Mc=function(t){Os(o,t);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Vt([void 0],r[0].concat(this)))):new(o.bind.apply(o,Vt([void 0],r.concat(this))))},o}(Array),Hc=function(t){Os(o,t);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Vt([void 0],r[0].concat(this)))):new(o.bind.apply(o,Vt([void 0],r.concat(this))))},o}(Array);function Tn(t){return Re(t)?Ko(t,function(){}):t}function Uc(t){return typeof t=="boolean"}function Gc(){return function(o){return Fc(o)}}function Fc(t){t===void 0&&(t={});var o=t.thunk,r=o===void 0?!0:o,n=t.immutableCheck,a=n===void 0?!0:n,s=t.serializableCheck,c=s===void 0?!0:s,d=new Mc;if(r&&(Uc(r)?d.push(An):d.push(An.withExtraArgument(r.extraArgument))),0){if(a)var p;if(c)var f}return d}var Pn=!0;function Cs(t){var o=Gc(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,s=r.middleware,c=s===void 0?o():s,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,b;if(typeof a=="function")b=a;else if(Wc(a))b=hs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=c;if(typeof g=="function"&&(g=g(o),!Pn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Pn&&g.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ys.apply(void 0,g),E=Ft;p&&(E=zc(tt({trace:!Pn},typeof p=="object"&&p)));var N=new Hc(v),R=N;Array.isArray(m)?R=Vt([v],m):typeof m=="function"&&(R=m(N));var P=E.apply(void 0,R);return Rn(b,h,P)}function ot(t,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var s=o.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return tt(tt({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ws(t){var o={},r=[],n,a={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(d in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[d]=c,a},addMatcher:function(s,c){return r.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return t(a),[o,r,n]}function Vc(t){return typeof t=="function"}function jc(t,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?ws(o):[o,r,n],s=a[0],c=a[1],d=a[2],p;if(Vc(t))p=function(){return Tn(t())};else{var f=Tn(t);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var b=Vt([s[m.type]],c.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[d]),b.reduce(function(g,v){if(v)if(He(g)){var E=g,N=v(E,m);return N===void 0?g:N}else{if(Re(g))return Ko(g,function(R){return v(R,m)});var N=v(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},y)}return h.getInitialState=p,h}function Kc(t,o){return t+"/"+o}function Es(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Tn(t.initialState),n=t.reducers||{},a=Object.keys(n),s={},c={},d={};a.forEach(function(h){var y=n[h],m=Kc(o,h),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,s[h]=b,c[m]=b,d[h]=g?ot(m,g):ot(m)});function p(){var h=typeof t.extraReducers=="function"?ws(t.extraReducers):[t.extraReducers],y=h[0],m=y===void 0?{}:y,b=h[1],g=b===void 0?[]:b,v=h[2],E=v===void 0?void 0:v,N=tt(tt({},m),c);return jc(r,function(R){for(var P in N)R.addCase(P,N[P]);for(var B=0,_=g;B<_.length;B++){var fe=_[B];R.addMatcher(fe.matcher,fe.reducer)}E&&R.addDefaultCase(E)})}var f;return{name:o,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:d,caseReducers:s,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Zc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",qc=function(t){t===void 0&&(t=21);for(var o="",r=t;r--;)o+=Zc[Math.random()*64|0];return o},Yc=["name","message","stack","code"],In=function(){function t(o,r){this.payload=o,this.meta=r}return t}(),vs=function(){function t(o,r){this.payload=o,this.meta=r}return t}(),Xc=function(t){if(typeof t=="object"&&t!==null){for(var o={},r=0,n=Yc;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(o[a]=t[a])}return o}return{message:String(t)}},rb=function(){function t(o,r,n){var a=ot(o+"/fulfilled",function(h,y,m,b){return{payload:h,meta:Ln(tt({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),s=ot(o+"/pending",function(h,y,m){return{payload:void 0,meta:Ln(tt({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),c=ot(o+"/rejected",function(h,y,m,b,g){return{payload:b,error:(n&&n.serializeError||Xc)(h||"Rejected"),meta:Ln(tt({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!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(y,m,b){var g=n?.idGenerator?n.idGenerator(h):qc(),v=new p,E,N=!1;function R(B){E=B,v.abort()}var P=function(){return Dc(this,null,function(){var B,_,fe,Ue,er,Ge,ie;return Ic(this,function(ue){switch(ue.label){case 0:return ue.trys.push([0,4,,5]),Ue=(B=n?.condition)==null?void 0:B.call(n,h,{getState:m,extra:b}),Qc(Ue)?[4,Ue]:[3,2];case 1:Ue=ue.sent(),ue.label=2;case 2:if(Ue===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,er=new Promise(function(se,nt){return v.signal.addEventListener("abort",function(){return nt({name:"AbortError",message:E||"Aborted"})})}),y(s(g,h,(_=n?.getPendingMeta)==null?void 0:_.call(n,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([er,Promise.resolve(r(h,{dispatch:y,getState:m,extra:b,requestId:g,signal:v.signal,abort:R,rejectWithValue:function(se,nt){return new In(se,nt)},fulfillWithValue:function(se,nt){return new vs(se,nt)}})).then(function(se){if(se instanceof In)throw se;return se instanceof vs?a(se.payload,g,h,se.meta):a(se,g,h)})])];case 3:return fe=ue.sent(),[3,5];case 4:return Ge=ue.sent(),fe=Ge instanceof In?c(null,g,h,Ge.payload,Ge.meta):c(Ge,g,h),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(fe)&&fe.meta.condition,ie||y(fe),[2,fe]}})})}();return Object.assign(P,{abort:R,requestId:g,arg:h,unwrap:function(){return P.then(Jc)}})}}return Object.assign(f,{pending:s,rejected:c,fulfilled:a,typePrefix:o})}return t.withTypes=function(){return t},t}();function Jc(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Qc(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ns="listener",Rs="completed",As="cancelled",nb="task-"+As,ab="task-"+Rs,ib=Ns+"-"+As,sb=Ns+"-"+Rs;var Bn="listenerMiddleware";var cb=ot(Bn+"/add"),lb=ot(Bn+"/removeAll"),db=ot(Bn+"/remove");var Ss,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ss||(Ss=Promise.resolve())).then(t).catch(function(o){return setTimeout(function(){throw o},0)})},el=function(t){return function(o){setTimeout(o,t)}},fb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:el(10);is();var tl=zo(Symbol("withEventBus"),function(t,o){return class extends t{constructor(){super(...arguments),this.eventBus=o??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),qo=class extends tl(Object){};window.ftReduxStores||(window.ftReduxStores={});var Ls=class t extends qo{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,s=window.ftReduxStores[n];if(Go(s))return s;if(a==null)return;let c=Es({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=Cs({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:c.reducer(p,f)});return window.ftReduxStores[a.name]=new t(c,d,a.eventBus)}constructor(o,r,n){super(),this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Wo;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let p=c,f=s[p];return f?(...h)=>{let y=f(...h.map(a));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[p]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}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(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Yo=class{static format(o,r,n,a){return window.moment?window.moment(o).locale(r).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(o,r,n,a)}static getMomentDateFormat(o,r){return o?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(o,r,n,a){let s=typeof o=="string"?new Date(o):o,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(s);if(!a)return c;let d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(s);return`${c} ${d}`}static getTimezoneAsString(){let o=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${o(Math.abs(r)/60)}:${o(Math.abs(r)%60)}`}};var Jo=O($()),ol="ft-app-info",Xo=class t extends CustomEvent{constructor(o){super(t.eventName,{detail:o})}};Xo.eventName="authentication-change";var rl={session:(t,o)=>{(0,Jo.deepEqual)(t.session,o.payload)||(t.session=o.payload,setTimeout(()=>yo.dispatchEvent(new Xo(o.payload)),0))}},yo=Jo.FtReduxStore.get({name:ol,reducers:rl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Ps=O($()),Qo=function(t,o,r,n){var a=arguments.length,s=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,o,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(s=(a<3?c(s):a>3?c(o,r,s):c(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},Is=(0,Ps.applyMixinOnce)(Symbol("withDateFormat"),function(t){class o extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(yo)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?d=>Yo.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Qo([(0,$n.property)({type:Boolean})],o.prototype,"useLongDateFormat",void 0),Qo([(0,$n.property)({type:Boolean})],o.prototype,"useDateTimeFormat",void 0),Qo([dn({store:yo.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],o.prototype,"metadataDescriptors",void 0),Qo([dn({store:yo.name})],o.prototype,"uiLocale",void 0),o});var rt=function(t,o,r,n){var a=arguments.length,s=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,o,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(s=(a<3?c(s):a>3?c(o,r,s):c(o,r))||s);return a>3&&s&&Object.defineProperty(o,r,s),s},ae=class extends Is(xo){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.hierarchicalValueTruncatingLevel=3,this.forceTooltip=!1,this.editorMode=!1}render(){return Ae.html`
|
|
1453
|
+
`:St.nothing}resolveButtonSize(){switch(this.size){case Be.large:return Be.medium;default:return Be.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Ma)}typographyVariant(){switch(this.size){case Be.large:return Me.body2medium;default:return Me.caption1medium}}};De.elementDefinitions={"ftds-typography":Ue,"ft-icon":de,"ftds-button":ke};De.styles=Ul;br([(0,Ct.property)({type:Boolean})],De.prototype,"withAction",void 0);br([(0,Ct.property)({type:Boolean})],De.prototype,"removable",void 0);br([(0,Ct.property)()],De.prototype,"removeButtonLabel",void 0);br([(0,Ct.property)()],De.prototype,"label",void 0);br([(0,Ct.property)()],De.prototype,"icon",void 0);br([(0,Ct.query)("ftds-typography slot")],De.prototype,"slottedContent",void 0);(0,Ua.customElement)("ft-chip")(Y);(0,Ua.customElement)("ftds-chip")(De);var Ot=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},xe=class extends Fc(qr){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.hierarchicalValueTruncatingLevel=3,this.forceTooltip=!1,this.editorMode=!1}render(){return je.html`
|
|
1443
1454
|
${this.renderChip()}
|
|
1444
1455
|
${this.hideIfEmpty()}
|
|
1445
|
-
`}renderChip(){var o,
|
|
1456
|
+
`}renderChip(){var t,o,n,a;let i=!this.forceTooltip&&this.displayLabel&&((t=this.flatMetadata)===null||t===void 0?void 0:t.displayTooltipValue)==((o=this.flatMetadata)===null||o===void 0?void 0:o.displayValue),c=je.html`
|
|
1446
1457
|
<ft-chip part="chip"
|
|
1447
1458
|
exportpartsPrefix="chip"
|
|
1448
1459
|
label="${this.tooltipText}"
|
|
1449
1460
|
?multiLine=${this.multiLine}>
|
|
1450
|
-
${this.displayLabel?
|
|
1461
|
+
${this.displayLabel?je.html`
|
|
1451
1462
|
<span part="label">${(a=(n=this.flatMetadata)===null||n===void 0?void 0:n.label)!==null&&a!==void 0?a:this.key}: </span>
|
|
1452
|
-
`:
|
|
1453
|
-
${this.metadataValue.length===0?
|
|
1463
|
+
`:je.nothing}
|
|
1464
|
+
${this.metadataValue.length===0?je.nothing:je.html`
|
|
1454
1465
|
<span part="values">${this.metadataValue}</span>
|
|
1455
1466
|
`}
|
|
1456
1467
|
</ft-chip>
|
|
1457
|
-
`;return
|
|
1468
|
+
`;return i?c:je.html`
|
|
1458
1469
|
<ft-tooltip part="tooltip" text="${this.tooltipText}">
|
|
1459
1470
|
${c}
|
|
1460
1471
|
</ft-tooltip>
|
|
1461
|
-
`}get metadataValue(){var
|
|
1472
|
+
`}get metadataValue(){var t;return this.flatMetadata?(t=this.flatMetadata)===null||t===void 0?void 0:t.displayValue:this.key?`no value for ${this.key}`:"no metadata selected"}hideIfEmpty(){return!this.editorMode&&!this.flatMetadata?je.html`
|
|
1462
1473
|
<style>
|
|
1463
1474
|
:host {
|
|
1464
1475
|
display: none !important;
|
|
1465
1476
|
}
|
|
1466
1477
|
</style>
|
|
1467
|
-
`:
|
|
1478
|
+
`:je.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.displayTooltipValue:""}update(t){super.update(t),["key","tocNode"].some(o=>t.has(o))&&this.updateContent(),(t.has("metadata")||t.has("hierarchicalValueTruncatingLevel")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=this.metadata?Fl.ClusteringHelper.flattenMetadata(this.metadata,this.hierarchicalValueTruncatingLevel,this.getDateFormatter(this.metadata.key)):void 0)}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&((t=this.service)===null||t===void 0||t.getTopicInfo(this.tocNode).then(o=>this.metadata=o.metadata.find(n=>n.key===this.key)).catch(()=>null))}};xe.elementDefinitions={"ft-tooltip":J,"ft-chip":Y};xe.styles=ja;Ot([(0,Qe.property)()],xe.prototype,"key",void 0);Ot([(0,Qe.property)({type:Boolean})],xe.prototype,"multiLine",void 0);Ot([(0,Qe.property)({type:Boolean})],xe.prototype,"displayLabel",void 0);Ot([(0,Qe.property)({type:Number})],xe.prototype,"hierarchicalValueTruncatingLevel",void 0);Ot([(0,Qe.property)({type:Boolean})],xe.prototype,"forceTooltip",void 0);Ot([(0,Qe.state)()],xe.prototype,"editorMode",void 0);Ot([(0,Qe.state)()],xe.prototype,"metadata",void 0);Ot([(0,Qe.state)()],xe.prototype,"flatMetadata",void 0);(0,zl.customElement)("ft-reader-topic-metadata")(xe);})();
|
|
1468
1479
|
/*! Bundled license information:
|
|
1469
1480
|
|
|
1470
1481
|
lit-html/lit-html.js:
|
|
@@ -1481,17 +1492,17 @@ lit-html/static.js:
|
|
|
1481
1492
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1482
1493
|
*)
|
|
1483
1494
|
|
|
1484
|
-
lit-
|
|
1495
|
+
@lit/reactive-element/css-tag.js:
|
|
1485
1496
|
(**
|
|
1486
1497
|
* @license
|
|
1487
|
-
* Copyright
|
|
1498
|
+
* Copyright 2019 Google LLC
|
|
1488
1499
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1489
1500
|
*)
|
|
1490
1501
|
|
|
1491
|
-
|
|
1502
|
+
lit-html/directives/if-defined.js:
|
|
1492
1503
|
(**
|
|
1493
1504
|
* @license
|
|
1494
|
-
* Copyright
|
|
1505
|
+
* Copyright 2018 Google LLC
|
|
1495
1506
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1496
1507
|
*)
|
|
1497
1508
|
*/
|