@fluid-topics/ft-search-result-metadata 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
!function(t,o,e,i,r,n){const a=e.css`
|
|
2
|
-
`;var l,s,c,f,p,h,d,u,y,g,b,m,x,v;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;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(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(s||(s={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(c||(c={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(f||(f={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(p||(p={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(d||(d={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(u||(u={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(y||(y={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(g||(g={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(m||(m={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(x||(x={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(v||(v={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const O=e.css`
|
|
2
|
+
`;var l,s,c,f,p,h,d,u,y,g,b,m,x,v;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;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(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(s||(s={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(c||(c={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(f||(f={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(p||(p={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(d||(d={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(u||(u={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(y||(y={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(g||(g={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(m||(m={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(x||(x={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(v||(v={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const O=e.css`
|
|
3
3
|
`,N=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class S{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=N.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?S.build(t):null!==(o=S.API)&&void 0!==o?o:S.API=S.build()}static await(t){return new Promise((o=>{let e=S.get(t);if(e)o(e);else{const i=N.subscribe((()=>{e=S.get(t),e&&(i(),o(e))}))}}))}}var w;const C=Symbol("clearAfterUnitTest");class ${constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[w]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}w=C,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new $((async(t,o)=>(await S.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new $((async(t,o)=>(await S.await()).getCustomMessageContext(t,o))));const I=window.FluidTopicsI18nService,E=window.FluidTopicsCustomI18nService;var R=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class U extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>S.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
4
4
|
<slot></slot>
|
|
5
|
-
`}update(t){super.update(t),t.has("baseUrl")&&N.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&N.actions.setNoCustom(this.noCustom),t.has("editorMode")&&N.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.setSession(this.session),t.has("availableUiLocales")&&N.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>I.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}U.elementDefinitions={},U.styles=O,R([i.property()],U.prototype,"baseUrl",void 0),R([i.property()],U.prototype,"apiIntegrationIdentifier",void 0),R([i.property()],U.prototype,"uiLocale",void 0),R([o.jsonProperty([])],U.prototype,"availableUiLocales",void 0),R([i.property({type:Boolean})],U.prototype,"editorMode",void 0),R([i.property({type:Boolean})],U.prototype,"noCustom",void 0),R([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],U.prototype,"noCustomComponent",void 0),R([i.property({type:Boolean})],U.prototype,"withManualResources",void 0),R([o.jsonProperty([])],U.prototype,"messageContexts",void 0),R([o.jsonProperty(void 0)],U.prototype,"session",void 0),R([i.property({type:Object})],U.prototype,"apiProvider",void 0);class k{async listMySearches(){var t;return(null===(t=N.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await S.await()).listMySearches(N.getState().session.profile.userId):[]}}const L=new o.CacheRegistry;class W{async listMyBookmarks(){return L.get("bookmarks",(async()=>(await S.await()).listMyBookmarks(N.getState().session.profile.userId)))}clearCache(){L.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new W,N.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=N.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new k,o=await t.listMySearches();z.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;z.actions.bookmarks(o)}}},o.customElement("ft-app-context")(U);class K extends Event{constructor(){super(K.eventName)}}K.eventName="search-context-clear-all-filters";var
|
|
5
|
+
`}update(t){super.update(t),t.has("baseUrl")&&N.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&N.actions.setNoCustom(this.noCustom),t.has("editorMode")&&N.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.setSession(this.session),t.has("availableUiLocales")&&N.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>I.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}U.elementDefinitions={},U.styles=O,R([i.property()],U.prototype,"baseUrl",void 0),R([i.property()],U.prototype,"apiIntegrationIdentifier",void 0),R([i.property()],U.prototype,"uiLocale",void 0),R([o.jsonProperty([])],U.prototype,"availableUiLocales",void 0),R([i.property({type:Boolean})],U.prototype,"editorMode",void 0),R([i.property({type:Boolean})],U.prototype,"noCustom",void 0),R([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],U.prototype,"noCustomComponent",void 0),R([i.property({type:Boolean})],U.prototype,"withManualResources",void 0),R([o.jsonProperty([])],U.prototype,"messageContexts",void 0),R([o.jsonProperty(void 0)],U.prototype,"session",void 0),R([i.property({type:Object})],U.prototype,"apiProvider",void 0);class k{async listMySearches(){var t;return(null===(t=N.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await S.await()).listMySearches(N.getState().session.profile.userId):[]}}const L=new o.CacheRegistry;class W{async listMyBookmarks(){return L.get("bookmarks",(async()=>(await S.await()).listMyBookmarks(N.getState().session.profile.userId)))}clearCache(){L.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new W,N.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=N.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new k,o=await t.listMySearches();z.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;z.actions.bookmarks(o)}}},o.customElement("ft-app-context")(U);class K extends Event{constructor(){super(K.eventName)}}K.eventName="search-context-clear-all-filters";var A=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Z extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class D extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[B]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[B]):this.dispatchEvent(new Z)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=B,A([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var F=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class T extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const P=Symbol("registerInterval");class H extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[P]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[P]):this.dispatchEvent(new T)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=P,F([i.property({attribute:!1})],e.prototype,"result",void 0),e}(D)){}const j=e.css`
|
|
6
6
|
`;var M=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const G=Symbol("i18nProperties"),_=Symbol("i18nUnsubs");function Y(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?E:I}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o;null===(o=this[G])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[G])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[G]&&new Set([...this[G].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[_].has(t)||this[_].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[_].forEach((t=>t())),this[_].clear()}}return o=_,M([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class V extends(Y(o.FtLitElement)){}class X extends(Y(o.FtLitElementRedux)){}var q=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class J extends X{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return this.key&&this.context?e.html`
|
|
7
7
|
<span class="ft-i18n">
|
|
8
8
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2017 Google LLC
|
|
14
14
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
|
-
*/function Ct(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==it?it.createHTML(o):o}const $t=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=dt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===dt?"!--"===s[1]?a=ut:void 0!==s[1]?a=yt:void 0!==s[2]?(xt.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=gt):void 0!==s[3]&&(a=gt):a===gt?">"===s[0]?(a=r??dt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?gt:'"'===s[3]?mt:bt):a===mt||a===bt?a=gt:a===ut||a===yt?a=dt:(a=gt,r=void 0);const p=a===gt&&t[o+1].startsWith("/>")?" ":"";n+=a===dt?e+lt:c>=0?(i.push(l),e.slice(0,c)+rt+e.slice(c)+nt+p):e+nt+(-2===c?o:p)}return[Ct(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class It{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=$t(t,o);if(this.el=It.createElement(s,e),wt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=wt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(rt)){const o=c[n++],e=i.getAttribute(t).split(nt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?Lt:"?"===a[1]?Wt:"@"===a[1]?zt:kt}),i.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(xt.test(i.tagName)){const t=i.textContent.split(nt),o=t.length-1;if(o>0){i.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ct()),wt.nextNode(),l.push({type:2,index:++r});i.append(t[o],ct())}}}else if(8===i.nodeType)if(i.data===at)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(nt,t+1));)l.push({type:7,index:r}),t+=nt.length-1}r++}}static createElement(t,o){const e=st.createElement("template");return e.innerHTML=t,e}}function Et(t,o,e=t,i){if(o===Ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=ft(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Et(t,r._$AS(t,o.values),r,i)),o}class Rt{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){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??st).importNode(o,!0);wt.currentNode=i;let r=wt.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Ut(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Kt(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=wt.nextNode(),n++)}return wt.currentNode=st,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Ut{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Nt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Et(this,t,o),ft(t)?t===Nt||null==t||""===t?(this._$AH!==Nt&&this._$AR(),this._$AH=Nt):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>pt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Nt&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(st.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(Ct(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Rt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=St.get(t.strings);return void 0===o&&St.set(t.strings,o=new It(t)),o}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Ut(this.k(ct()),this.k(ct()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Nt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Nt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Et(this,t,o,0),n=!ft(t)||t!==this._$AH&&t!==Ot,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Et(this,i[e+a],o,a),l===Ot&&(l=this._$AH[a]),n||=!ft(l)||l!==this._$AH[a],l===Nt?t=Nt:t!==Nt&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===Nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lt extends kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Nt?void 0:t}}class Wt extends kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Nt)}}class zt extends kt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Et(this,t,o,0)??Nt)===Ot)return;const e=this._$AH,i=t===Nt&&e!==Nt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Nt&&(e===Nt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Kt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Et(this,t)}}const
|
|
15
|
+
*/function Ct(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==it?it.createHTML(o):o}const $t=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=dt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===dt?"!--"===s[1]?a=ut:void 0!==s[1]?a=yt:void 0!==s[2]?(xt.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=gt):void 0!==s[3]&&(a=gt):a===gt?">"===s[0]?(a=r??dt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?gt:'"'===s[3]?mt:bt):a===mt||a===bt?a=gt:a===ut||a===yt?a=dt:(a=gt,r=void 0);const p=a===gt&&t[o+1].startsWith("/>")?" ":"";n+=a===dt?e+lt:c>=0?(i.push(l),e.slice(0,c)+rt+e.slice(c)+nt+p):e+nt+(-2===c?o:p)}return[Ct(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class It{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=$t(t,o);if(this.el=It.createElement(s,e),wt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=wt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(rt)){const o=c[n++],e=i.getAttribute(t).split(nt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?Lt:"?"===a[1]?Wt:"@"===a[1]?zt:kt}),i.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(xt.test(i.tagName)){const t=i.textContent.split(nt),o=t.length-1;if(o>0){i.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ct()),wt.nextNode(),l.push({type:2,index:++r});i.append(t[o],ct())}}}else if(8===i.nodeType)if(i.data===at)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(nt,t+1));)l.push({type:7,index:r}),t+=nt.length-1}r++}}static createElement(t,o){const e=st.createElement("template");return e.innerHTML=t,e}}function Et(t,o,e=t,i){if(o===Ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=ft(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Et(t,r._$AS(t,o.values),r,i)),o}class Rt{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){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??st).importNode(o,!0);wt.currentNode=i;let r=wt.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Ut(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Kt(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=wt.nextNode(),n++)}return wt.currentNode=st,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Ut{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Nt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Et(this,t,o),ft(t)?t===Nt||null==t||""===t?(this._$AH!==Nt&&this._$AR(),this._$AH=Nt):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>pt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Nt&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(st.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(Ct(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Rt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=St.get(t.strings);return void 0===o&&St.set(t.strings,o=new It(t)),o}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Ut(this.k(ct()),this.k(ct()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Nt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Nt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Et(this,t,o,0),n=!ft(t)||t!==this._$AH&&t!==Ot,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Et(this,i[e+a],o,a),l===Ot&&(l=this._$AH[a]),n||=!ft(l)||l!==this._$AH[a],l===Nt?t=Nt:t!==Nt&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===Nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lt extends kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Nt?void 0:t}}class Wt extends kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Nt)}}class zt extends kt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Et(this,t,o,0)??Nt)===Ot)return;const e=this._$AH,i=t===Nt&&e!==Nt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Nt&&(e===Nt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Kt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Et(this,t)}}const At=ot.litHtmlPolyfillSupport;At?.(It,Ut),(ot.litHtmlVersions??=[]).push("3.1.0");
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2020 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
20
|
*/
|
|
21
|
-
const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$litStatic$:t,r:At}),Ft=new Map,Tt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Bt(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Ft.get(t))&&(a.raw=a,Ft.set(t,o=a)),e=l}return t(o,...e)})(vt);var Pt;!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"}(Pt||(Pt={}));const Ht=t=>"string"==typeof t?e.unsafeCSS(t):t;class jt{static create(t,o,i,r){const n=t=>Ht(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ht(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Ht(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Ht(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Mt={colorWhite:jt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:jt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:jt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:jt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:jt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:jt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:jt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:jt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:jt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:jt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:jt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:jt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:jt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:jt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:jt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:jt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:jt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:jt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:jt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:jt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:jt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:jt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:jt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:jt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:jt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:jt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:jt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:jt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:jt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:jt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:jt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:jt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:jt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:jt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:jt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:jt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:jt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:jt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:jt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:jt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:jt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:jt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:jt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:jt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:jt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:jt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:jt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:jt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:jt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:jt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:jt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:jt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:jt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:jt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:jt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:jt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:jt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:jt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:jt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:jt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:jt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:jt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:jt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:jt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:jt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:jt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:jt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:jt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:jt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:jt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:jt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:jt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:jt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:jt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:jt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:jt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:jt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:jt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:jt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:jt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:jt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:jt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:jt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:jt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:jt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:jt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:jt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:jt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:jt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:jt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:jt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:jt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:jt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:jt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:jt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:jt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:jt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:jt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:jt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:jt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:jt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:jt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:jt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:jt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:jt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:jt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:jt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:jt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:jt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:jt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:jt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:jt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:jt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:jt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:jt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:jt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:jt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:jt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:jt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:jt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:jt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:jt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:jt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:jt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:jt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:jt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:jt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:jt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:jt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:jt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:jt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:jt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:jt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:jt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:jt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:jt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:jt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:jt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:jt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:jt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:jt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:jt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:jt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:jt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:jt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:jt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:jt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:jt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:jt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:jt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:jt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:jt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:jt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:jt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:jt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:jt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:jt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:jt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:jt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:jt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:jt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:jt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:jt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:jt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:jt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:jt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:jt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:jt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:jt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:jt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:jt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:jt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:jt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:jt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:jt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:jt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:jt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:jt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:jt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:jt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:jt.create("--ft-opacity-0","","NUMBER","0"),opacity8:jt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:jt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:jt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:jt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:jt.create("--ft-opacity-80","","NUMBER","0.8")},Gt={display:{fontFamily:jt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:jt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:jt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:jt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:jt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:jt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:jt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:jt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:jt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:jt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:jt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:jt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:jt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:jt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:jt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:jt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:jt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:jt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:jt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:jt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:jt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:jt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:jt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:jt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:jt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:jt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:jt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},_t={backgroundActionPrimary:jt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:jt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:jt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:jt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:jt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:jt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:jt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:jt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:jt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:jt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:jt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:jt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:jt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:jt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:jt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:jt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:jt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:jt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:jt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:jt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:jt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:jt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:jt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:jt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:jt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:jt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:jt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:jt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:jt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:jt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:jt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:jt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:jt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:jt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)},Yt={largeHeight:jt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:jt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),largeGap:jt.extend("--ft-button-large-gap","",Mt.spacing2),largeBorderRadius:jt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),largeIconSize:jt.extend("--ft-button-large-icon-size","",Mt.iconSize3),largeBorderWidth:jt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:jt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:jt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:jt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:jt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:jt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),smallGap:jt.extend("--ft-button-small-gap","",Mt.spacing2),smallBorderRadius:jt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),smallIconSize:jt.extend("--ft-button-small-icon-size","",Mt.iconSize2),smallBorderWidth:jt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:jt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:jt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:jt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:jt.extend("--ft-button-primary-background-color","",_t.backgroundActionPrimary),primaryColor:jt.extend("--ft-button-primary-color","",_t.contentGlobalOnColor),primaryIconColor:jt.extend("--ft-button-primary-icon-color","",_t.contentGlobalOnColor),primaryStateLayerColor:jt.extend("--ft-button-primary-state-layer-color","",_t.contentGlobalOnColor),primaryStateLayerOpacityHover:jt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),primaryStateLayerOpacityFocus:jt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),primaryStateLayerOpacityActive:jt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),primaryComponentOpacityDisabled:jt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),focusFocusRingColor:jt.extend("--ft-button-focus-focus-ring-color","",_t.borderActionFocusRing),tertiaryBackgroundColor:jt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:jt.extend("--ft-button-tertiary-color","",_t.contentActionPrimary),tertiaryIconColor:jt.extend("--ft-button-tertiary-icon-color","",_t.contentActionPrimary),tertiaryStateLayerColor:jt.extend("--ft-button-tertiary-state-layer-color","",_t.contentActionPrimary),tertiaryStateLayerOpacityHover:jt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),tertiaryStateLayerOpacityFocus:jt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),tertiaryStateLayerOpacityActive:jt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),tertiaryComponentOpacityDisabled:jt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),secondaryBackgroundColor:jt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:jt.extend("--ft-button-secondary-color","",_t.contentActionPrimary),secondaryIconColor:jt.extend("--ft-button-secondary-icon-color","",_t.contentActionPrimary),secondaryStateLayerColor:jt.extend("--ft-button-secondary-state-layer-color","",_t.contentActionPrimary),secondaryStateLayerOpacityHover:jt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),secondaryStateLayerOpacityFocus:jt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),secondaryStateLayerOpacityActive:jt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),secondaryComponentOpacityDisabled:jt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),secondaryBorderColor:jt.extend("--ft-button-secondary-border-color","",_t.borderActionPrimary),neutralBackgroundColor:jt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:jt.extend("--ft-button-neutral-icon-color","",_t.contentGlobalSecondary),neutralColor:jt.extend("--ft-button-neutral-color","",_t.contentGlobalSecondary),neutralStateLayerColor:jt.extend("--ft-button-neutral-state-layer-color","",_t.contentGlobalSecondary),neutralStateLayerOpacityHover:jt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),neutralStateLayerOpacityFocus:jt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),neutralStateLayerOpacityActive:jt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),neutralComponentOpacityDisabled:jt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40)};jt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),jt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),jt.extend("--ft-tabs-label-gap","",Mt.spacing1),jt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-group-gap","",Mt.spacing1),jt.extend("--ft-switch-group-background-color","",_t.backgroundGlobalSurface),jt.extend("--ft-switch-group-border-color","",_t.borderGlobalSubtle),jt.create("--ft-switch-group-border-radius","","SIZE","6px"),jt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),jt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),jt.create("--ft-switch-focus-outline-width","","SIZE","2px"),jt.extend("--ft-switch-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),jt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),jt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-switch-off-color","",_t.contentGlobalSubtle),jt.extend("--ft-switch-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),jt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),jt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),jt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),jt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),jt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),jt.extend("--ft-chart-4-light","",Mt.colorCyan50),jt.extend("--ft-chart-4-base","",Mt.colorCyan100),jt.extend("--ft-chart-5-light","",Mt.colorRed40),jt.extend("--ft-chart-5-base","",Mt.colorRed60),jt.extend("--ft-chart-6-light","",Mt.colorGreen40),jt.extend("--ft-chart-6-base","",Mt.colorGreen70),jt.extend("--ft-chart-7-light","",Mt.colorOrange70),jt.extend("--ft-chart-7-base","",Mt.colorOrange100),jt.extend("--ft-chart-8-light","",Mt.colorAvocado70),jt.extend("--ft-chart-8-base","",Mt.colorAvocado200),jt.extend("--ft-chart-9-light","",Mt.colorBrown50),jt.extend("--ft-chart-9-base","",Mt.colorBrown200),jt.extend("--ft-chart-10-light","",Mt.colorGray50),jt.extend("--ft-chart-10-base","",Mt.colorGray80),jt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),jt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),jt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),jt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),jt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),jt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),jt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),jt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),jt.extend("--ft-chip-large-gap","",Mt.spacing1),jt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-large-border-width","","SIZE","1px"),jt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),jt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),jt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),jt.extend("--ft-chip-medium-gap","",Mt.spacing1),jt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-medium-border-width","","SIZE","1px"),jt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),jt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),jt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),jt.extend("--ft-chip-small-gap","",Mt.spacing1),jt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-small-border-width","","SIZE","1px"),jt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),jt.extend("--ft-chip-neutral-background-color","",_t.backgroundGlobalOnSurface),jt.extend("--ft-chip-neutral-color","",_t.contentGlobalPrimary),jt.extend("--ft-chip-neutral-border-color","",_t.borderGlobalSubtle),jt.extend("--ft-chip-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-chip-info-color","",_t.contentInfoPrimary),jt.extend("--ft-chip-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-chip-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-chip-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-chip-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-chip-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-chip-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-chip-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-chip-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-chip-error-color","",_t.contentErrorPrimary),jt.extend("--ft-chip-error-border-color","",_t.borderErrorPrimary),jt.create("--ft-notice-border-width","","SIZE","1px"),jt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),jt.extend("--ft-notice-vertical-padding","",Mt.spacing1),jt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),jt.extend("--ft-notice-gap","",Mt.spacing2),jt.extend("--ft-notice-icon-size","",Mt.iconSize3),jt.extend("--ft-notice-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notice-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notice-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notice-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notice-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notice-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-checkbox-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-checkbox-checked-background-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-color","",_t.contentGlobalOnColor),jt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),jt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),jt.extend("--ft-checkbox-gap","",Mt.spacing3),jt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-off-background-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-icon-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-on-background-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-icon-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-toggle-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-toggle-gap","",Mt.spacing3),jt.extend("--ft-radio-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-radio-selected-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),jt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),jt.create("--ft-radio-focus-outline-width","","SIZE","2px"),jt.extend("--ft-radio-gap","",Mt.spacing3),jt.extend("--ft-notification-icon-size","",Mt.iconSize4),jt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),jt.extend("--ft-notification-vertical-padding","",Mt.spacing4),jt.extend("--ft-notification-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notification-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notification-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notification-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-notification-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-notification-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-notification-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notification-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-notification-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notification-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-notification-error-color","",_t.contentErrorPrimary),jt.extend("--ft-notification-error-border-color","",_t.borderErrorPrimary),jt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),jt.create("--ft-notification-border-width","","SIZE","1px"),jt.extend("--ft-notification-gap-leading","",Mt.spacing2),jt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),qt={fontFamily:Xt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Vt),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",qt.fontSize,"20px"),to=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",qt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",qt.letterSpacing,"0.15px"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",qt.lineHeight,"1.2"),io=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",qt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Vt),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",qt.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",qt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",qt.letterSpacing,"0.105px"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",qt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",qt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Xt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",qt.fontSize,"16px"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",qt.fontWeight,"600"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",qt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",qt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",qt.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Xt),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",qt.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",qt.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",qt.letterSpacing,"0.098px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",qt.lineHeight,"1.7"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",qt.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Xt),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",qt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",qt.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",qt.letterSpacing,"0.496px"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",qt.lineHeight,"1.5"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",qt.textTransform,"inherit"),Ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",qt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",qt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",qt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",qt.textTransform,"inherit")},Uo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Xt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",qt.fontSize,"12px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",qt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",qt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",qt.lineHeight,"1.33"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",qt.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Xt),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",qt.fontSize,"10px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",qt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",qt.letterSpacing,"0.33px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",qt.lineHeight,"1.6"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",qt.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Xt),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",qt.fontSize,"10px"),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",qt.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",qt.letterSpacing,"1.5px"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",qt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",qt.textTransform,"uppercase"),Yo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",qt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",qt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",qt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",qt.textTransform,"uppercase")},Vo=e.css`
|
|
21
|
+
const Zt=Symbol.for(""),Bt=t=>{if(t?.r===Zt)return t?._$litStatic$},Dt=t=>({_$litStatic$:t,r:Zt}),Ft=new Map,Tt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Bt(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Ft.get(t))&&(a.raw=a,Ft.set(t,o=a)),e=l}return t(o,...e)})(vt);var Pt;!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"}(Pt||(Pt={}));const Ht=t=>"string"==typeof t?e.unsafeCSS(t):t;class jt{static create(t,o,i,r){const n=t=>Ht(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ht(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Ht(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Ht(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Mt={colorWhite:jt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:jt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:jt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:jt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:jt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:jt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:jt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:jt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:jt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:jt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:jt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:jt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:jt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:jt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:jt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:jt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:jt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:jt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:jt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:jt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:jt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:jt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:jt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:jt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:jt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:jt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:jt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:jt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:jt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:jt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:jt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:jt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:jt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:jt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:jt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:jt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:jt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:jt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:jt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:jt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:jt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:jt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:jt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:jt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:jt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:jt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:jt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:jt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:jt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:jt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:jt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:jt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:jt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:jt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:jt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:jt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:jt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:jt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:jt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:jt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:jt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:jt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:jt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:jt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:jt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:jt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:jt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:jt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:jt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:jt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:jt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:jt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:jt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:jt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:jt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:jt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:jt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:jt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:jt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:jt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:jt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:jt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:jt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:jt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:jt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:jt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:jt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:jt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:jt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:jt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:jt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:jt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:jt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:jt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:jt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:jt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:jt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:jt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:jt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:jt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:jt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:jt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:jt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:jt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:jt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:jt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:jt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:jt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:jt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:jt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:jt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:jt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:jt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:jt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:jt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:jt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:jt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:jt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:jt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:jt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:jt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:jt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:jt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:jt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:jt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:jt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:jt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:jt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:jt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:jt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:jt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:jt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:jt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:jt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:jt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:jt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:jt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:jt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:jt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:jt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:jt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:jt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:jt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:jt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:jt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:jt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:jt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:jt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:jt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:jt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:jt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:jt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:jt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:jt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:jt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:jt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:jt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:jt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:jt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:jt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:jt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:jt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:jt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:jt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:jt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:jt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:jt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:jt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:jt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:jt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:jt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:jt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:jt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:jt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:jt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:jt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:jt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:jt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:jt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:jt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:jt.create("--ft-opacity-0","","NUMBER","0"),opacity8:jt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:jt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:jt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:jt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:jt.create("--ft-opacity-80","","NUMBER","0.8")},Gt={display:{fontFamily:jt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:jt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:jt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:jt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:jt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:jt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:jt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:jt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:jt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:jt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:jt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:jt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:jt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:jt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:jt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:jt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:jt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:jt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:jt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:jt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:jt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:jt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:jt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:jt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:jt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:jt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:jt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},_t={backgroundActionPrimary:jt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:jt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:jt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:jt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:jt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:jt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:jt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:jt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:jt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:jt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:jt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:jt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:jt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:jt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:jt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:jt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:jt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:jt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:jt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:jt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:jt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:jt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:jt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:jt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:jt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:jt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:jt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:jt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:jt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:jt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:jt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:jt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:jt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:jt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)},Yt={largeHeight:jt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:jt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),largeGap:jt.extend("--ft-button-large-gap","",Mt.spacing2),largeBorderRadius:jt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),largeIconSize:jt.extend("--ft-button-large-icon-size","",Mt.iconSize3),largeBorderWidth:jt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:jt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:jt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:jt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:jt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:jt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),smallGap:jt.extend("--ft-button-small-gap","",Mt.spacing2),smallBorderRadius:jt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),smallIconSize:jt.extend("--ft-button-small-icon-size","",Mt.iconSize2),smallBorderWidth:jt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:jt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:jt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:jt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:jt.extend("--ft-button-primary-background-color","",_t.backgroundActionPrimary),primaryColor:jt.extend("--ft-button-primary-color","",_t.contentGlobalOnColor),primaryIconColor:jt.extend("--ft-button-primary-icon-color","",_t.contentGlobalOnColor),primaryStateLayerColor:jt.extend("--ft-button-primary-state-layer-color","",_t.contentGlobalOnColor),primaryStateLayerOpacityHover:jt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),primaryStateLayerOpacityFocus:jt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),primaryStateLayerOpacityActive:jt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),primaryComponentOpacityDisabled:jt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),focusFocusRingColor:jt.extend("--ft-button-focus-focus-ring-color","",_t.borderActionFocusRing),tertiaryBackgroundColor:jt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:jt.extend("--ft-button-tertiary-color","",_t.contentActionPrimary),tertiaryIconColor:jt.extend("--ft-button-tertiary-icon-color","",_t.contentActionPrimary),tertiaryStateLayerColor:jt.extend("--ft-button-tertiary-state-layer-color","",_t.contentActionPrimary),tertiaryStateLayerOpacityHover:jt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),tertiaryStateLayerOpacityFocus:jt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),tertiaryStateLayerOpacityActive:jt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),tertiaryComponentOpacityDisabled:jt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),secondaryBackgroundColor:jt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:jt.extend("--ft-button-secondary-color","",_t.contentActionPrimary),secondaryIconColor:jt.extend("--ft-button-secondary-icon-color","",_t.contentActionPrimary),secondaryStateLayerColor:jt.extend("--ft-button-secondary-state-layer-color","",_t.contentActionPrimary),secondaryStateLayerOpacityHover:jt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),secondaryStateLayerOpacityFocus:jt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),secondaryStateLayerOpacityActive:jt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),secondaryComponentOpacityDisabled:jt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),secondaryBorderColor:jt.extend("--ft-button-secondary-border-color","",_t.borderActionPrimary),neutralBackgroundColor:jt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:jt.extend("--ft-button-neutral-icon-color","",_t.contentGlobalSecondary),neutralColor:jt.extend("--ft-button-neutral-color","",_t.contentGlobalSecondary),neutralStateLayerColor:jt.extend("--ft-button-neutral-state-layer-color","",_t.contentGlobalSecondary),neutralStateLayerOpacityHover:jt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),neutralStateLayerOpacityFocus:jt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),neutralStateLayerOpacityActive:jt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),neutralComponentOpacityDisabled:jt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40)};jt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),jt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),jt.extend("--ft-tabs-label-gap","",Mt.spacing1),jt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-group-gap","",Mt.spacing1),jt.extend("--ft-switch-group-background-color","",_t.backgroundGlobalSurface),jt.extend("--ft-switch-group-border-color","",_t.borderGlobalSubtle),jt.create("--ft-switch-group-border-radius","","SIZE","6px"),jt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),jt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),jt.create("--ft-switch-focus-outline-width","","SIZE","2px"),jt.extend("--ft-switch-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),jt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),jt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-switch-off-color","",_t.contentGlobalSubtle),jt.extend("--ft-switch-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),jt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),jt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),jt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),jt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),jt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),jt.extend("--ft-chart-4-light","",Mt.colorCyan50),jt.extend("--ft-chart-4-base","",Mt.colorCyan100),jt.extend("--ft-chart-5-light","",Mt.colorRed40),jt.extend("--ft-chart-5-base","",Mt.colorRed60),jt.extend("--ft-chart-6-light","",Mt.colorGreen40),jt.extend("--ft-chart-6-base","",Mt.colorGreen70),jt.extend("--ft-chart-7-light","",Mt.colorOrange70),jt.extend("--ft-chart-7-base","",Mt.colorOrange100),jt.extend("--ft-chart-8-light","",Mt.colorAvocado70),jt.extend("--ft-chart-8-base","",Mt.colorAvocado200),jt.extend("--ft-chart-9-light","",Mt.colorBrown50),jt.extend("--ft-chart-9-base","",Mt.colorBrown200),jt.extend("--ft-chart-10-light","",Mt.colorGray50),jt.extend("--ft-chart-10-base","",Mt.colorGray80),jt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),jt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),jt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),jt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),jt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),jt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),jt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),jt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),jt.extend("--ft-chip-large-gap","",Mt.spacing1),jt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-large-border-width","","SIZE","1px"),jt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),jt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),jt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),jt.extend("--ft-chip-medium-gap","",Mt.spacing1),jt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-medium-border-width","","SIZE","1px"),jt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),jt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),jt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),jt.extend("--ft-chip-small-gap","",Mt.spacing1),jt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-small-border-width","","SIZE","1px"),jt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),jt.extend("--ft-chip-neutral-background-color","",_t.backgroundGlobalOnSurface),jt.extend("--ft-chip-neutral-color","",_t.contentGlobalPrimary),jt.extend("--ft-chip-neutral-border-color","",_t.borderGlobalSubtle),jt.extend("--ft-chip-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-chip-info-color","",_t.contentInfoPrimary),jt.extend("--ft-chip-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-chip-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-chip-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-chip-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-chip-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-chip-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-chip-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-chip-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-chip-error-color","",_t.contentErrorPrimary),jt.extend("--ft-chip-error-border-color","",_t.borderErrorPrimary),jt.create("--ft-notice-border-width","","SIZE","1px"),jt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),jt.extend("--ft-notice-vertical-padding","",Mt.spacing1),jt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),jt.extend("--ft-notice-gap","",Mt.spacing2),jt.extend("--ft-notice-icon-size","",Mt.iconSize3),jt.extend("--ft-notice-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notice-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notice-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notice-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notice-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notice-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-checkbox-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-checkbox-checked-background-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-color","",_t.contentGlobalOnColor),jt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),jt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),jt.extend("--ft-checkbox-gap","",Mt.spacing3),jt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-off-background-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-icon-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-on-background-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-icon-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-toggle-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-toggle-gap","",Mt.spacing3),jt.extend("--ft-radio-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-radio-selected-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),jt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),jt.create("--ft-radio-focus-outline-width","","SIZE","2px"),jt.extend("--ft-radio-gap","",Mt.spacing3),jt.extend("--ft-notification-icon-size","",Mt.iconSize4),jt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),jt.extend("--ft-notification-vertical-padding","",Mt.spacing4),jt.extend("--ft-notification-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notification-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notification-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notification-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-notification-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-notification-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-notification-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notification-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-notification-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notification-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-notification-error-color","",_t.contentErrorPrimary),jt.extend("--ft-notification-error-border-color","",_t.borderErrorPrimary),jt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),jt.create("--ft-notification-border-width","","SIZE","1px"),jt.extend("--ft-notification-gap-leading","",Mt.spacing2),jt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),qt={fontFamily:Xt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Vt),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",qt.fontSize,"20px"),to=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",qt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",qt.letterSpacing,"0.15px"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",qt.lineHeight,"1.2"),io=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",qt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Vt),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",qt.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",qt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",qt.letterSpacing,"0.105px"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",qt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",qt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Xt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",qt.fontSize,"16px"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",qt.fontWeight,"600"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",qt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",qt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",qt.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Xt),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",qt.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",qt.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",qt.letterSpacing,"0.098px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",qt.lineHeight,"1.7"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",qt.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Xt),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",qt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",qt.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",qt.letterSpacing,"0.496px"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",qt.lineHeight,"1.5"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",qt.textTransform,"inherit"),Ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",qt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",qt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",qt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",qt.textTransform,"inherit")},Uo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Xt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",qt.fontSize,"12px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",qt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",qt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",qt.lineHeight,"1.33"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",qt.textTransform,"inherit"),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Xt),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",qt.fontSize,"10px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",qt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",qt.letterSpacing,"0.33px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",qt.lineHeight,"1.6"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",qt.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Xt),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",qt.fontSize,"10px"),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",qt.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",qt.letterSpacing,"1.5px"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",qt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",qt.textTransform,"uppercase"),Yo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",qt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",qt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",qt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",qt.textTransform,"uppercase")},Vo=e.css`
|
|
22
22
|
.ft-typography--title {
|
|
23
23
|
font-family: ${Jt};
|
|
24
24
|
font-size: ${Qt};
|
|
@@ -84,8 +84,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
84
84
|
}
|
|
85
85
|
`,ee=e.css`
|
|
86
86
|
.ft-typography--breadcrumb {
|
|
87
|
-
font-family: ${
|
|
88
|
-
font-size: ${
|
|
87
|
+
font-family: ${Ao};
|
|
88
|
+
font-size: ${Zo};
|
|
89
89
|
font-weight: ${Bo};
|
|
90
90
|
letter-spacing: ${Do};
|
|
91
91
|
line-height: ${Fo};
|
|
@@ -158,7 +158,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
158
158
|
position: relative;
|
|
159
159
|
word-break: break-word;
|
|
160
160
|
}
|
|
161
|
-
`,ge=["start","end"],be=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ge[0],o+"-"+ge[1])),[]),me=Math.min,xe=Math.max,ve=Math.round,Oe=t=>({x:t,y:t}),Ne={left:"right",right:"left",bottom:"top",top:"bottom"},Se={start:"end",end:"start"};function we(t,o,e){return xe(t,me(o,e))}function Ce(t,o){return"function"==typeof t?t(o):t}function $e(t){return t.split("-")[0]}function Ie(t){return t.split("-")[1]}function Ee(t){return"x"===t?"y":"x"}function Re(t){return"y"===t?"height":"width"}function Ue(t){return["top","bottom"].includes($e(t))?"y":"x"}function ke(t){return Ee(Ue(t))}function Le(t){return t.replace(/left|right|bottom|top/g,(t=>Ne[t]))}function We(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ze(t,o,e){let{reference:i,floating:r}=t;const n=Ue(o),a=ke(o),l=Re(a),s=$e(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Ie(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ke(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Ce(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=l[h?"floating"===p?"reference":"floating":p],g=We(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=We(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Ze(t,o,e){return(t?[...e.filter((o=>Ie(o)===t)),...e.filter((o=>Ie(o)!==t))]:e.filter((t=>$e(t)===t))).filter((e=>!t||(Ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Se[t]))}(e)!==e)))}const Ae=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=be,autoAlignment:d=!0,...u}=Ce(t,o),y=void 0!==p||h===be?Ze(p||null,d,h):h,g=await Ke(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ie(t),r=ke(t),n=Re(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Le(a)),[a,Le(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[$e(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ie(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ie(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Be(t){return Te(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Fe(t){var o;return null==(o=(Te(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Te(t){return t instanceof Node||t instanceof De(t).Node}function Pe(t){return t instanceof Element||t instanceof De(t).Element}function He(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function je(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof De(t).ShadowRoot)}function Me(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Xe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ge(t){return["table","td","th"].includes(Be(t))}function _e(t){const o=Ye(),e=Xe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ye(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ve(t){return["html","body","#document"].includes(Be(t))}function Xe(t){return De(t).getComputedStyle(t)}function qe(t){return Pe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Je(t){if("html"===Be(t))return t;const o=t.assignedSlot||t.parentNode||je(t)&&t.host||Fe(t);return je(o)?o.host:o}function Qe(t){const o=Je(t);return Ve(o)?t.ownerDocument?t.ownerDocument.body:t.body:He(o)&&Me(o)?o:Qe(o)}function ti(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Qe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=De(r);return n?o.concat(a,a.visualViewport||[],Me(r)?r:[],a.frameElement&&e?ti(a.frameElement):[]):o.concat(r,ti(r,[],e))}function oi(t){const o=Xe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=He(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=ve(e)!==n||ve(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ei(t){return Pe(t)?t:t.contextElement}function ii(t){const o=ei(t);if(!He(o))return Oe(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=oi(o);let a=(n?ve(e.width):e.width)/i,l=(n?ve(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ri=Oe(0);function ni(t){const o=De(t);return Ye()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ri}function ai(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ei(t);let a=Oe(1);o&&(i?Pe(i)&&(a=ii(i)):a=ii(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==De(t))&&o}(n,e,i)?ni(n):Oe(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=De(n),o=i&&Pe(i)?De(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ii(e),o=e.getBoundingClientRect(),i=Xe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=De(e).frameElement}}return We({width:f,height:p,x:s,y:c})}function li(t){return ai(Fe(t)).left+qe(t).scrollLeft}function si(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=De(t),i=Fe(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ye();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=Fe(t),e=qe(t),i=t.ownerDocument.body,r=xe(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=xe(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+li(t);const l=-e.scrollTop;return"rtl"===Xe(i).direction&&(a+=xe(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Fe(t));else if(Pe(o))i=function(t,o){const e=ai(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=He(t)?ii(t):Oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ni(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return We(i)}function ci(t,o){const e=Je(t);return!(e===o||!Pe(e)||Ve(e))&&("fixed"===Xe(e).position||ci(e,o))}function fi(t,o,e){const i=He(o),r=Fe(o),n="fixed"===e,a=ai(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Oe(0);if(i||!i&&!n)if(("body"!==Be(o)||Me(r))&&(l=qe(o)),i){const t=ai(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=li(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function pi(t,o){return He(t)&&"fixed"!==Xe(t).position?o?o(t):t.offsetParent:null}function hi(t,o){const e=De(t);if(!He(t))return e;let i=pi(t,o);for(;i&&Ge(i)&&"static"===Xe(i).position;)i=pi(i,o);return i&&("html"===Be(i)||"body"===Be(i)&&"static"===Xe(i).position&&!_e(i))?e:i||function(t){let o=Je(t);for(;He(o)&&!Ve(o);){if(_e(o))return o;o=Je(o)}return null}(t)||e}const di={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=He(e),n=Fe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Oe(1);const s=Oe(0);if((r||!r&&"fixed"!==i)&&(("body"!==Be(e)||Me(n))&&(a=qe(e)),He(e))){const t=ai(e);l=ii(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Fe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ti(t,[],!1).filter((t=>Pe(t)&&"body"!==Be(t))),r=null;const n="fixed"===Xe(t).position;let a=n?Je(t):t;for(;Pe(a)&&!Ve(a);){const o=Xe(a),e=_e(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Me(a)&&!e&&ci(t,a))?i=i.filter((t=>t!==a)):r=o,a=Je(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...n,i],l=a[0],s=a.reduce(((t,e)=>{const i=si(o,e,r);return t.top=xe(i.top,t.top),t.right=me(i.right,t.right),t.bottom=me(i.bottom,t.bottom),t.left=xe(i.left,t.left),t}),si(o,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:hi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||hi,n=this.getDimensions;return{reference:fi(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return oi(t)},getScale:ii,isElement:Pe,isRTL:function(t){return"rtl"===Xe(t).direction}},ui=(t,o,e)=>{const i=new Map,r={platform:di,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ze(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=ze(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
161
|
+
`,ge=["start","end"],be=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ge[0],o+"-"+ge[1])),[]),me=Math.min,xe=Math.max,ve=Math.round,Oe=t=>({x:t,y:t}),Ne={left:"right",right:"left",bottom:"top",top:"bottom"},Se={start:"end",end:"start"};function we(t,o,e){return xe(t,me(o,e))}function Ce(t,o){return"function"==typeof t?t(o):t}function $e(t){return t.split("-")[0]}function Ie(t){return t.split("-")[1]}function Ee(t){return"x"===t?"y":"x"}function Re(t){return"y"===t?"height":"width"}function Ue(t){return["top","bottom"].includes($e(t))?"y":"x"}function ke(t){return Ee(Ue(t))}function Le(t){return t.replace(/left|right|bottom|top/g,(t=>Ne[t]))}function We(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ze(t,o,e){let{reference:i,floating:r}=t;const n=Ue(o),a=ke(o),l=Re(a),s=$e(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Ie(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ke(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Ce(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=l[h?"floating"===p?"reference":"floating":p],g=We(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=We(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Ae(t,o,e){return(t?[...e.filter((o=>Ie(o)===t)),...e.filter((o=>Ie(o)!==t))]:e.filter((t=>$e(t)===t))).filter((e=>!t||(Ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Se[t]))}(e)!==e)))}const Ze=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=be,autoAlignment:d=!0,...u}=Ce(t,o),y=void 0!==p||h===be?Ae(p||null,d,h):h,g=await Ke(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ie(t),r=ke(t),n=Re(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Le(a)),[a,Le(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[$e(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ie(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ie(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Be(t){return Te(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Fe(t){var o;return null==(o=(Te(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Te(t){return t instanceof Node||t instanceof De(t).Node}function Pe(t){return t instanceof Element||t instanceof De(t).Element}function He(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function je(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof De(t).ShadowRoot)}function Me(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Xe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ge(t){return["table","td","th"].includes(Be(t))}function _e(t){const o=Ye(),e=Xe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ye(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ve(t){return["html","body","#document"].includes(Be(t))}function Xe(t){return De(t).getComputedStyle(t)}function qe(t){return Pe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Je(t){if("html"===Be(t))return t;const o=t.assignedSlot||t.parentNode||je(t)&&t.host||Fe(t);return je(o)?o.host:o}function Qe(t){const o=Je(t);return Ve(o)?t.ownerDocument?t.ownerDocument.body:t.body:He(o)&&Me(o)?o:Qe(o)}function ti(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Qe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=De(r);return n?o.concat(a,a.visualViewport||[],Me(r)?r:[],a.frameElement&&e?ti(a.frameElement):[]):o.concat(r,ti(r,[],e))}function oi(t){const o=Xe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=He(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=ve(e)!==n||ve(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ei(t){return Pe(t)?t:t.contextElement}function ii(t){const o=ei(t);if(!He(o))return Oe(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=oi(o);let a=(n?ve(e.width):e.width)/i,l=(n?ve(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ri=Oe(0);function ni(t){const o=De(t);return Ye()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ri}function ai(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ei(t);let a=Oe(1);o&&(i?Pe(i)&&(a=ii(i)):a=ii(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==De(t))&&o}(n,e,i)?ni(n):Oe(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=De(n),o=i&&Pe(i)?De(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ii(e),o=e.getBoundingClientRect(),i=Xe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=De(e).frameElement}}return We({width:f,height:p,x:s,y:c})}function li(t){return ai(Fe(t)).left+qe(t).scrollLeft}function si(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=De(t),i=Fe(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ye();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=Fe(t),e=qe(t),i=t.ownerDocument.body,r=xe(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=xe(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+li(t);const l=-e.scrollTop;return"rtl"===Xe(i).direction&&(a+=xe(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Fe(t));else if(Pe(o))i=function(t,o){const e=ai(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=He(t)?ii(t):Oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ni(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return We(i)}function ci(t,o){const e=Je(t);return!(e===o||!Pe(e)||Ve(e))&&("fixed"===Xe(e).position||ci(e,o))}function fi(t,o,e){const i=He(o),r=Fe(o),n="fixed"===e,a=ai(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Oe(0);if(i||!i&&!n)if(("body"!==Be(o)||Me(r))&&(l=qe(o)),i){const t=ai(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=li(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function pi(t,o){return He(t)&&"fixed"!==Xe(t).position?o?o(t):t.offsetParent:null}function hi(t,o){const e=De(t);if(!He(t))return e;let i=pi(t,o);for(;i&&Ge(i)&&"static"===Xe(i).position;)i=pi(i,o);return i&&("html"===Be(i)||"body"===Be(i)&&"static"===Xe(i).position&&!_e(i))?e:i||function(t){let o=Je(t);for(;He(o)&&!Ve(o);){if(_e(o))return o;o=Je(o)}return null}(t)||e}const di={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=He(e),n=Fe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Oe(1);const s=Oe(0);if((r||!r&&"fixed"!==i)&&(("body"!==Be(e)||Me(n))&&(a=qe(e)),He(e))){const t=ai(e);l=ii(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Fe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ti(t,[],!1).filter((t=>Pe(t)&&"body"!==Be(t))),r=null;const n="fixed"===Xe(t).position;let a=n?Je(t):t;for(;Pe(a)&&!Ve(a);){const o=Xe(a),e=_e(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Me(a)&&!e&&ci(t,a))?i=i.filter((t=>t!==a)):r=o,a=Je(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...n,i],l=a[0],s=a.reduce(((t,e)=>{const i=si(o,e,r);return t.top=xe(i.top,t.top),t.right=me(i.right,t.right),t.bottom=me(i.bottom,t.bottom),t.left=xe(i.left,t.left),t}),si(o,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:hi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||hi,n=this.getDimensions;return{reference:fi(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return oi(t)},getScale:ii,isElement:Pe,isRTL:function(t){return"rtl"===Xe(t).direction}},ui=(t,o,e)=>{const i=new Map,r={platform:di,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ze(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=ze(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
162
162
|
<div part="container"
|
|
163
163
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
164
164
|
@mouseenter=${this.onHover}
|
|
@@ -176,7 +176,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
176
176
|
</div>
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
|
-
`}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()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const 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"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ui(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ce(t,o),c={x:e,y:i},f=await Ke(o,s),p=Ue($e(r)),h=Ee(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=we(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=we(u+f["y"===p?"top":"left"],u,u-f[t])}const y=l.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),
|
|
179
|
+
`}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()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const 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"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ui(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ce(t,o),c={x:e,y:i},f=await Ke(o,s),p=Ue($e(r)),h=Ee(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=we(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=we(u+f["y"===p?"top":"left"],u,u-f[t])}const y=l.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Ze({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}gi.elementDefinitions={"ft-typography":se},gi.styles=ye,yi([i.property()],gi.prototype,"text",void 0),yi([i.property({type:Boolean})],gi.prototype,"manual",void 0),yi([i.property({type:Boolean})],gi.prototype,"inline",void 0),yi([i.property({type:Number})],gi.prototype,"delay",void 0),yi([i.property()],gi.prototype,"position",void 0),yi([i.queryAssignedNodes()],gi.prototype,"slotNodes",void 0),yi([i.query(".ft-tooltip--container")],gi.prototype,"container",void 0),yi([i.query(".ft-tooltip")],gi.prototype,"tooltip",void 0),yi([i.query(".ft-tooltip--content")],gi.prototype,"tooltipContent",void 0),yi([i.state()],gi.prototype,"visible",void 0),yi([i.eventOptions({passive:!0})],gi.prototype,"onTouch",null),yi([i.eventOptions({passive:!0})],gi.prototype,"onHover",null),yi([i.eventOptions({passive:!0})],gi.prototype,"onOut",null),o.customElement("ft-tooltip")(gi);const bi=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),mi={color:bi,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bi),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},xi=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),vi=xi,Oi=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xi),Ni=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Si=Ni,wi=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ni),Ci=e.css`
|
|
180
180
|
:host {
|
|
181
181
|
display: contents;
|
|
182
182
|
}
|
|
@@ -352,7 +352,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
352
352
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
353
353
|
<slot ?hidden=${o}></slot>
|
|
354
354
|
</i>
|
|
355
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=Ii[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Li.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=$i[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=ki,Wi([i.property()],zi.prototype,"variant",void 0),Wi([i.property()],zi.prototype,"value",void 0),Wi([i.state()],zi.prototype,"resolvedIcon",void 0),Wi([i.query("slot")],zi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(zi);const Ki={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},
|
|
355
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=Ii[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Li.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=$i[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=ki,Wi([i.property()],zi.prototype,"variant",void 0),Wi([i.property()],zi.prototype,"value",void 0),Wi([i.state()],zi.prototype,"resolvedIcon",void 0),Wi([i.query("slot")],zi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(zi);const Ki={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ai=e.css`
|
|
356
356
|
:host {
|
|
357
357
|
line-height: 0;
|
|
358
358
|
}
|
|
@@ -421,7 +421,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
421
421
|
transform: translate(calc(0.35 * ${Ki.size}), 0);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Zi=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Bi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Zi,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Yo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Zi),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Di=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Fi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Di,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Di)},Ti=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Pi=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Hi=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ji=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Mi=[e.css`
|
|
425
425
|
:host {
|
|
426
426
|
display: inline-block;
|
|
427
427
|
max-width: 100%;
|
|
@@ -565,7 +565,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$li
|
|
|
565
565
|
<div></div>
|
|
566
566
|
<div></div>
|
|
567
567
|
</div>
|
|
568
|
-
`}}Gi.styles=
|
|
568
|
+
`}}Gi.styles=Ai,o.customElement("ft-loader")(Gi);var _i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Yi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
569
569
|
<button part="button"
|
|
570
570
|
class="${r.classMap(this.buttonClasses)}"
|
|
571
571
|
aria-label="${this.getLabel()}"
|
|
@@ -123,7 +123,7 @@ let ve=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
123
123
|
width: 0;
|
|
124
124
|
}
|
|
125
125
|
`;class De{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Me=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!A(t,e),attribute:!1,...e};$(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Te{constructor(){this.stack=[]}add(t,e=!1){e&&(this.stack=this.stack.filter((e=>e.type!==t.type))),this.stack.push(t)}consume(t){const e=this.stack.find((e=>e.type===t));return e&&(this.stack=this.stack.filter((t=>t!==e))),e}}function Ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _e,He,Ge;const Ve=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class Xe extends Pe{constructor(){super(...arguments),this[_e]=new Map,this[He]=new Map,this[Ge]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ye].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ye].delete(e)}setupStore(t,e){this[Ye].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qe].set(t,e.subscribe((()=>this.updateFromStores()))),Ze(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ve].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ve].forEach((t=>t())),this[Ve]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qe(t){return!!t&&!!t[Bo]}function to(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Do}(t)||Array.isArray(t)||!!t[zo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[zo])||ao(t)||so(t))}function eo(t,e,o){void 0===o&&(o=!1),0===oo(t)?(o?Object.keys:Mo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function oo(t){var e=t[Bo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ao(t)?2:so(t)?3:0}function ro(t,e){return 2===oo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function io(t,e,o){var r=oo(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function no(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ao(t){return jo&&t instanceof Map}function so(t){return Fo&&t instanceof Set}function co(t){return t.o||t.t}function lo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=To(t);delete e[Bo];for(var o=Mo(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function fo(t,e){return void 0===e&&(e=!1),po(t)||Qe(t)||!to(t)||(oo(t)>1&&(t.set=t.add=t.clear=t.delete=ho),Object.freeze(t),e&&eo(t,(function(t,e){return fo(e,!0)}),!0)),t}function ho(){Je(2)}function po(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function uo(t){var e=Zo[t];return e||Je(18,t),e}function yo(){return Ao}function go(t,e){e&&(uo("Patches"),t.u=[],t.s=[],t.v=e)}function bo(t){mo(t),t.p.forEach(xo),t.p=null}function mo(t){t===Ao&&(Ao=t.l)}function vo(t){return Ao={p:[],l:Ao,h:t,m:!0,_:0}}function xo(t){var e=t[Bo];0===e.i||1===e.i?e.j():e.g=!0}function Oo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||uo("ES5").S(e,t,r),r?(o[Bo].P&&(bo(e),Je(4)),to(t)&&(t=wo(e,t),e.l||No(e,t)),e.u&&uo("Patches").M(o[Bo].t,t,e.u,e.s)):t=wo(e,o,[]),bo(e),e.u&&e.v(e.u,e.s),t!==Ko?t:void 0}function wo(t,e,o){if(po(e))return e;var r=e[Bo];if(!r)return eo(e,(function(i,n){return So(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return No(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=lo(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),eo(n,(function(e,n){return So(t,r,i,e,n,o,a)})),No(t,i,!1),o&&t.u&&uo("Patches").N(r,o,t.u,t.s)}return r.o}function So(t,e,o,r,i,n,a){if(Qe(i)){var s=wo(t,i,n&&e&&3!==e.i&&!ro(e.R,r)?n.concat(r):void 0);if(io(o,r,s),!Qe(s))return;t.m=!1}else a&&o.add(i);if(to(i)&&!po(i)){if(!t.h.D&&t._<1)return;wo(t,i),e&&e.A.l||No(t,i)}}function No(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fo(e,o)}function Co(t,e){var o=t[Bo];return(o?co(o):t)[e]}function Eo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function $o(t){t.P||(t.P=!0,t.l&&$o(t.l))}function Ro(t){t.o||(t.o=lo(t.t))}function Uo(t,e,o){var r=ao(e)?uo("MapSet").F(e,o):so(e)?uo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:yo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=_o;o&&(i=[r],n=Ho);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):uo("ES5").J(e,o);return(o?o.A:yo()).p.push(r),r}function Io(t){return Qe(t)||Je(22,t),function t(e){if(!to(e))return e;var o,r=e[Bo],i=oo(e);if(r){if(!r.P&&(r.i<4||!uo("ES5").K(r)))return r.t;r.I=!0,o=ko(e,i),r.I=!1}else o=ko(e,i);return eo(o,(function(e,i){r&&function(t,e){return 2===oo(t)?t.get(e):t[e]}(r.t,e)===i||io(o,e,t(i))})),3===i?new Set(o):o}(t)}function ko(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return lo(t)}_e=qe,He=Ye,Ge=Ve;var Lo,Ao,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),jo="undefined"!=typeof Map,Fo="undefined"!=typeof Set,Po="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Wo?Symbol.for("immer-nothing"):((Lo={})["immer-nothing"]=!0,Lo),zo=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Bo=Wo?Symbol.for("immer-state"):"__$immer_state",Do=""+Object.prototype.constructor,Mo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,To=Object.getOwnPropertyDescriptors||function(t){var e={};return Mo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Zo={},_o={get:function(t,e){if(e===Bo)return t;var o=co(t);if(!ro(o,e))return function(t,e,o){var r,i=Eo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!to(r)?r:r===Co(t.t,e)?(Ro(t),t.o[e]=Uo(t.A.h,r,t)):r},has:function(t,e){return e in co(t)},ownKeys:function(t){return Reflect.ownKeys(co(t))},set:function(t,e,o){var r=Eo(co(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Co(co(t),e),n=null==i?void 0:i[Bo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(no(o,i)&&(void 0!==o||ro(t.t,e)))return!0;Ro(t),$o(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Co(t.t,e)||e in t.t?(t.R[e]=!1,Ro(t),$o(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=co(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},Ho={};eo(_o,(function(t,e){Ho[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ho.deleteProperty=function(t,e){return Ho.set.call(this,t,e,void 0)},Ho.set=function(t,e,o){return _o.set.call(this,t[0],e,o,t[0])};var Go=function(){function t(t){var e=this;this.O=Po,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),to(t)){var s=vo(e),c=Uo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?bo(s):mo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return go(s,r),Oo(t,s)}),(function(t){throw bo(s),t})):(go(s,r),Oo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ko&&(a=void 0),e.D&&fo(a,!0),r){var f=[],h=[];uo("Patches").M(t,a,f,h),r(f,h)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){to(t)||Je(8),Qe(t)&&(t=Io(t));var e=vo(this),o=Uo(this,t,void 0);return o[Bo].C=!0,mo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Bo]).A;return go(o,e),Oo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Po&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=uo("Patches").$;return Qe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Vo=new Go,qo=Vo.produce;function Yo(t){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}function Xo(t){var e=function(t,e){if("object"!==Yo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Yo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Yo(e)?e:String(e)}function Jo(t,e,o){return(e=Xo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function tr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Qo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function er(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. "}Vo.produceWithPatches.bind(Vo),Vo.setAutoFreeze.bind(Vo),Vo.setUseProxies.bind(Vo),Vo.applyPatches.bind(Vo),Vo.createDraft.bind(Vo),Vo.finishDraft.bind(Vo);var or="function"==typeof Symbol&&Symbol.observable||"@@observable",rr=function(){return Math.random().toString(36).substring(7).split("").join(".")},ir={INIT:"@@redux/INIT"+rr(),REPLACE:"@@redux/REPLACE"+rr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rr()}};function nr(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(er(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(er(1));return o(nr)(t,e)}if("function"!=typeof t)throw new Error(er(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(er(3));return n}function h(t){if("function"!=typeof t)throw new Error(er(4));if(c)throw new Error(er(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(er(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(er(7));if(void 0===t.type)throw new Error(er(8));if(c)throw new Error(er(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ir.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(er(10));i=t,p({type:ir.REPLACE})}})[or]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(er(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[or]=function(){return this},t},r}function ar(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ir.INIT}))throw new Error(er(12));if(void 0===o(void 0,{type:ir.PROBE_UNKNOWN_ACTION()}))throw new Error(er(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(er(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function sr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function cr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(er(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=sr.apply(void 0,n)(o.dispatch),tr(tr({},o),{},{dispatch:r})}}}function lr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var fr=lr();fr.withExtraArgument=lr;var hr,pr=fr,ur=(hr=function(t,e){return hr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},hr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}hr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),dr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},gr=Object.defineProperty,br=Object.defineProperties,mr=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,wr=function(t,e,o){return e in t?gr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Sr=function(t,e){for(var o in e||(e={}))xr.call(e,o)&&wr(t,o,e[o]);if(vr)for(var r=0,i=vr(e);r<i.length;r++){o=i[r];Or.call(e,o)&&wr(t,o,e[o])}return t},Nr=function(t,e){return br(t,mr(e))},Cr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sr:sr.apply(null,arguments)};var Er=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,yr([void 0],t.concat(this))))},e}(Array),$r=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,yr([void 0],t.concat(this))))},e}(Array);function Rr(t){return to(t)?qo(t,(function(){})):t}function Ur(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Er;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(pr.withExtraArgument(o.extraArgument)):r.push(pr));return r}(t)}}function Ir(t){var e,o=Ur(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ar(n)}var d=s;"function"==typeof d&&(d=d(o));var y=cr.apply(void 0,d),g=sr;l&&(g=Cr(Sr({trace:!1},"object"==typeof l&&l)));var b=new $r(y),m=b;return Array.isArray(u)?m=yr([y],u):"function"==typeof u&&(m=u(b)),nr(e,h,g.apply(void 0,m))}function kr(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Sr(Sr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Lr(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ar(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Rr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Lr(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Sr(Sr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Lr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Rr(t())};else{var l=Rr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=yr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Qe(t))return void 0===(r=o(t,e))?t:r;if(to(t))return qo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?kr(l,r):kr(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],jr=function(t,e){this.payload=t,this.meta=e},Fr=function(t,e){this.payload=t,this.meta=e},Pr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Kr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=kr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Nr(Sr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=kr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Nr(Sr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=kr(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Pr)(t||"Rejected"),meta:Nr(Sr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return dr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new jr(t,e)},fulfillWithValue:function(t,e){return new Fr(t,e)}})).then((function(e){if(e instanceof jr)throw e;return e instanceof Fr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof jr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Kr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var zr="listenerMiddleware";kr(zr+"/add"),kr(zr+"/removeAll"),kr(zr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Bo];return _o.get(e,t)},set:function(e){var o=this[Bo];_o.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Bo];if(!i.P)switch(i.i){case 5:r(i)&&$o(i);break;case 4:o(i)&&$o(i)}}}function o(t){for(var e=t.t,o=t.k,r=Mo(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Bo){var a=e[n];if(void 0===a&&!ro(e,n))return!0;var s=o[n],c=s&&s[Bo];if(c?c.t!==a:!no(s,a))return!0}}var l=!!e[Bo];return r.length!==Mo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Zo[t]||(Zo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=To(o);delete n[Bo];for(var a=Mo(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:yo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Bo,{value:n,writable:!0}),i},S:function(t,o,i){i?Qe(o)&&o[Bo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Bo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)eo(n,(function(e){e!==Bo&&(void 0!==i[e]||ro(i,e)?a[e]||t(n[e]):(a[e]=!0,$o(o)))})),eo(i,(function(t){void 0!==n[t]||ro(n,t)||(a[t]=!1,$o(o))}));else if(5===s){if(r(o)&&($o(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Br{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Ze(i))return i;if(null==r)return;const n=Ar({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ir({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Br(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Te,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}const Dr=Symbol("elementInternals");var Mr,Tr,Zr;const _r=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Zr=null===(Tr=null===(Mr=window.safari)||void 0===Mr?void 0:Mr.pushNotification)||void 0===Tr?void 0:Tr.toString())&&void 0!==Zr?Zr:""),Hr=wt`
|
|
126
|
-
`;var Gr,Vr,qr,Yr,Xr,Jr,Qr,ti,ei,oi,ri,ii,ni,ai;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;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(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Gr||(Gr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Vr||(Vr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(qr||(qr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Yr||(Yr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Xr||(Xr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Jr||(Jr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Qr||(Qr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ti||(ti={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ei||(ei={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(oi||(oi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ri||(ri={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ii||(ii={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(ni||(ni={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ai||(ai={})),ai.PERSONAL_BOOK_SHARE_USER,ai.PERSONAL_BOOK_USER,ai.HTML_EXPORT_USER,ai.PERSONAL_BOOK_USER,ai.PDF_EXPORT_USER,ai.PERSONAL_BOOK_USER,ai.KHUB_ADMIN,ai.CONTENT_PUBLISHER,ai.ADMIN,ai.KHUB_ADMIN,ai.USERS_ADMIN,ai.PORTAL_ADMIN,ai.DEVELOPER,ai.BETA_USER,ai.DEBUG_USER;const si=wt`
|
|
126
|
+
`;var Gr,Vr,qr,Yr,Xr,Jr,Qr,ti,ei,oi,ri,ii,ni,ai;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;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(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Gr||(Gr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Vr||(Vr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(qr||(qr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Yr||(Yr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Xr||(Xr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Jr||(Jr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Qr||(Qr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ti||(ti={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ei||(ei={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(oi||(oi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ri||(ri={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ii||(ii={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ni||(ni={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ai||(ai={})),ai.PERSONAL_BOOK_SHARE_USER,ai.PERSONAL_BOOK_USER,ai.HTML_EXPORT_USER,ai.PERSONAL_BOOK_USER,ai.PDF_EXPORT_USER,ai.PERSONAL_BOOK_USER,ai.KHUB_ADMIN,ai.CONTENT_PUBLISHER,ai.ADMIN,ai.KHUB_ADMIN,ai.USERS_ADMIN,ai.PORTAL_ADMIN,ai.DEVELOPER,ai.BETA_USER,ai.DEBUG_USER;const si=wt`
|
|
127
127
|
`,ci=Br.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class li{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=ci.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?li.build(t):null!==(e=li.API)&&void 0!==e?e:li.API=li.build()}static await(t){return new Promise((e=>{let o=li.get(t);if(o)e(o);else{const r=ci.subscribe((()=>{o=li.get(t),o&&(r(),e(o))}))}}))}}var fi;const hi=Symbol("clearAfterUnitTest");class pi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[fi]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=ci.getState().uiLocale,ci.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ci.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};A(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new De(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}fi=hi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new pi((async(t,e)=>(await li.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new pi((async(t,e)=>(await li.await()).getCustomMessageContext(t,e))));const ui=window.FluidTopicsI18nService,di=window.FluidTopicsCustomI18nService;var yi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gi extends Pe{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>li.get(),this.cache=new r,this.cleanSessionDebouncer=new L}render(){return ie`
|
|
128
128
|
<slot></slot>
|
|
129
129
|
`}update(t){super.update(t),t.has("baseUrl")&&ci.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ci.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ci.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ci.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ci.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ci.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ci.actions.setSession(this.session),t.has("availableUiLocales")&&ci.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ui.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}gi.elementDefinitions={},gi.styles=si,yi([$()],gi.prototype,"baseUrl",void 0),yi([$()],gi.prototype,"apiIntegrationIdentifier",void 0),yi([$()],gi.prototype,"uiLocale",void 0),yi([j([])],gi.prototype,"availableUiLocales",void 0),yi([$({type:Boolean})],gi.prototype,"editorMode",void 0),yi([$({type:Boolean})],gi.prototype,"noCustom",void 0),yi([$({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],gi.prototype,"noCustomComponent",void 0),yi([$({type:Boolean})],gi.prototype,"withManualResources",void 0),yi([j([])],gi.prototype,"messageContexts",void 0),yi([j(void 0)],gi.prototype,"session",void 0),yi([$({type:Object})],gi.prototype,"apiProvider",void 0);class bi{async listMySearches(){var t;return(null===(t=ci.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await li.await()).listMySearches(ci.getState().session.profile.userId):[]}}const mi=new r;class vi{async listMyBookmarks(){return mi.get("bookmarks",(async()=>(await li.await()).listMyBookmarks(ci.getState().session.profile.userId)))}clearCache(){mi.clear("bookmarks")}}const xi=Br.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ci.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vi,ci.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ci.getState();A(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){xi.actions.savedSearches(void 0)}clearMyBookmarks(){xi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new bi,e=await t.listMySearches();xi.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;xi.actions.bookmarks(e)}}},W("ft-app-context")(gi);class Oi extends Event{constructor(){super(Oi.eventName)}}Oi.eventName="search-context-clear-all-filters";var wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Si extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Ni=Symbol("registerInterval");class Ci extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ni]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ni]):this.dispatchEvent(new Si)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ni,wi([R()],o.prototype,"stateManager",void 0),o}(Xe)){}var Ei=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $i extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Ri=Symbol("registerInterval");class Ui extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[Ri]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Ri]):this.dispatchEvent(new $i)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=Ri,Ei([$({attribute:!1})],o.prototype,"result",void 0),o}(Ci)){}const Ii=wt`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-result-metadata",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Search result metadata for integrated search component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-chip": "1.1.
|
|
23
|
-
"@fluid-topics/ft-search-result-context": "1.1.
|
|
24
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
25
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-chip": "1.1.7",
|
|
23
|
+
"@fluid-topics/ft-search-result-context": "1.1.7",
|
|
24
|
+
"@fluid-topics/ft-tooltip": "1.1.7",
|
|
25
|
+
"@fluid-topics/ft-wc-utils": "1.1.7",
|
|
26
26
|
"lit": "3.1.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@fluid-topics/public-api": "1.0.
|
|
29
|
+
"@fluid-topics/public-api": "1.0.52"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "732f43d1a665d4917e01d0e34665779782fdd3c9"
|
|
32
32
|
}
|