@fluid-topics/ft-reader-topic-content 1.0.59 → 1.0.60
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.
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
.topic-loading {
|
|
16
16
|
height: 100vh;
|
|
17
17
|
}
|
|
18
|
-
`;var r;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(r||(r={}));var l=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class x extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,l([s.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}var d=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const v=Symbol("registerInterval");class p extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[v]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[v]):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=v,d([s.state()],i.prototype,"tocNode",void 0),d([s.state()],i.prototype,"disableContextInteractions",void 0),i}(x)){}var f,m;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(f||(f={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(m||(m={})),new Map([...["abw"].map((t=>[t,m.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,m.AUDIO])),...["avi"].map((t=>[t,m.AVI])),...["chm","xhs"].map((t=>[t,m.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,m.CODE])),...["csv"].map((t=>[t,m.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,m.DITA])),...["epub"].map((t=>[t,m.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,m.EXCEL])),...["flac"].map((t=>[t,m.FLAC])),...["gif"].map((t=>[t,m.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,m.GZIP])),...["html","htm","xhtml"].map((t=>[t,m.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,m.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,m.JPEG])),...["json"].map((t=>[t,m.JSON])),...["m4a","m4p"].map((t=>[t,m.M4A])),...["mov","qt"].map((t=>[t,m.MOV])),...["mp3"].map((t=>[t,m.MP3])),...["mp4","m4v"].map((t=>[t,m.MP4])),...["ogg","oga"].map((t=>[t,m.OGG])),...["pdf","ps"].map((t=>[t,m.PDF])),...["png"].map((t=>[t,m.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,m.POWERPOINT])),...["rar"].map((t=>[t,m.RAR])),...["stp"].map((t=>[t,m.STP])),...["txt","rtf","md","mdown"].map((t=>[t,m.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,m.VIDEO])),...["wav"].map((t=>[t,m.WAV])),...["wma"].map((t=>[t,m.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,m.WORD])),...["xml","xsl","rdf"].map((t=>[t,m.XML])),...["yaml","yml","x-yaml"].map((t=>[t,m.YAML])),...["zip"].map((t=>[t,m.ZIP]))]);const b=e.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),w=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),g=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),y=e.FtCssVariableFactory.extend("--ft-icon-material-font-family",e.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),C=e.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset"),k=i.css`
|
|
18
|
+
`;var r;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(r||(r={}));var l=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class x extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,l([s.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}var d=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const v=Symbol("registerInterval");class p extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[v]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[v]):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=v,d([s.state()],i.prototype,"tocNode",void 0),d([s.state()],i.prototype,"disableContextInteractions",void 0),i}(x)){}var f,m;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(f||(f={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(m||(m={})),new Map([...["abw"].map((t=>[t,m.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,m.AUDIO])),...["avi"].map((t=>[t,m.AVI])),...["chm","xhs"].map((t=>[t,m.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,m.CODE])),...["csv"].map((t=>[t,m.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,m.DITA])),...["epub"].map((t=>[t,m.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,m.EXCEL])),...["flac"].map((t=>[t,m.FLAC])),...["gif"].map((t=>[t,m.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,m.GZIP])),...["html","htm","xhtml"].map((t=>[t,m.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,m.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,m.JPEG])),...["json"].map((t=>[t,m.JSON])),...["m4a","m4p"].map((t=>[t,m.M4A])),...["mov","qt"].map((t=>[t,m.MOV])),...["mp3"].map((t=>[t,m.MP3])),...["mp4","m4v"].map((t=>[t,m.MP4])),...["ogg","oga"].map((t=>[t,m.OGG])),...["pdf","ps"].map((t=>[t,m.PDF])),...["png"].map((t=>[t,m.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,m.POWERPOINT])),...["rar"].map((t=>[t,m.RAR])),...["stp"].map((t=>[t,m.STP])),...["txt","rtf","md","mdown"].map((t=>[t,m.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,m.VIDEO])),...["wav"].map((t=>[t,m.WAV])),...["wma"].map((t=>[t,m.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,m.WORD])),...["xml","xsl","rdf"].map((t=>[t,m.XML])),...["yaml","yml","x-yaml"].map((t=>[t,m.YAML])),...["zip"].map((t=>[t,m.ZIP]))]);const b=e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),w=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),g=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),y=e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),C=e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),k=i.css`
|
|
19
19
|
:host, i.ft-icon {
|
|
20
20
|
display: inline-flex;
|
|
21
21
|
align-items: center;
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,n=window.customElements,r=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=r.prototype.attributeChangedCallback,c=new Set(r.observedAttributes||[]);h(r,c,a);const u={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,u),this._definitionsByClass.set(r,u);let l=i.call(n,t);l||(l=f(t),e.call(n,t,l)),this===window.customElements&&(s.set(r,u),u.standInClass=l);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)o.delete(t),v(t,u,!0)}const p=this._whenDefinedPromises.get(t);return void 0!==p&&(p.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),n.upgrade.apply(n,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let n=this._awaitingUpgrade.get(e);n||this._awaitingUpgrade.set(e,n=new Set),i?n.add(t):n.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,i),e},window.HTMLElement.prototype=t.prototype;const u=t=>t===document||t instanceof ShadowRoot,l=t=>{let e=t.getRootNode();if(!u(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),u(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const n=l(i)||window.customElements,r=n._getDefinition(e);return r?v(i,r):o.set(i,n),i}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):o.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,i)=>{if(0===e.size||void 0===i)return;const n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,r){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o,r),i.call(this,o,t,r)}else n.call(this,o,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n),i.call(this,n,t,null)}else r.call(this,n)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},v=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},p=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=p.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(t,e,i=void 0)=>{const n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=n.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const n=e.call(this,...i);return t.set(n,this),n},i.forEach((e=>{const i=window.ElementInternals.prototype,n=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==r.get(i).formAssociated)throw new DOMException(`Failed to execute ${n} on 'ElementInternals': The target element is not a form-associated custom element.`);n?.call(this,...e)}}));class n extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class o{constructor(t){const e=new Map;t.forEach(((t,i)=>{const n=t.getAttribute("name"),r=e.get(n)||[];this[+i]=t,r.push(t),e.set(n,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new n(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=r.get(i);t&&!0!==t.formAssociated||e.push(i)}return new o(e)}})}}try{window.customElements.define("custom-element",null)}catch(_i){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{if(null!==i)try{t.bind(window.customElements)(e,i,n)}catch(t){console.info(e,i,n,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,n)=>t((t=>{this.isCanceled?n(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?n(new e("Promise has been canceled",void 0,t)):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class n{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,n){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=n&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),n)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class r{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const n=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void n(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,c=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=n.prototype.attributeChangedCallback,s=new Set(n.observedAttributes||[]);d(n,s,c);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=e.call(r,t);f||(f=u(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),h(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},u=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?h(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)})},p=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):p(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){p(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let b=[document];const g=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&c.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(Be){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof e&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const i=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function a(t){return(o,e)=>void 0!==e?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,e):i(t,o)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function c(t){return a({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
@@ -35,29 +35,29 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
35
35
|
* Copyright 2021 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
var
|
|
38
|
+
var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;function l(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!l(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!l(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!l(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const f=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function u(t,o){const e=()=>JSON.parse(JSON.stringify(t));return a({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!l(t,o),...null!=o?o:{}})}
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2019 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/const
|
|
43
|
+
*/const d=window,p=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),y=new WeakMap;let b=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(p&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&y.set(o,t))}return t}toString(){return this.cssText}};const g=t=>new b("string"==typeof t?t:t+"",void 0,h),m=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new b(e,t,h)},v=(t,o)=>{p?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=d.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},O=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return g(o)})(t):t
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
|
-
*/;var
|
|
48
|
+
*/;var x;const N=window,w=N.trustedTypes,S=w?w.emptyScript:"",C=N.reactiveElementPolyfillSupport,E={toAttribute(t,o){switch(o){case Boolean:t=t?S:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},R=(t,o)=>o!==t&&(o==o||t==t),U={attribute:!0,type:String,converter:E,reflect:!1,hasChanged:R};let I=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=U){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const n=this[t];this[o]=r,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||U}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(O(t))}else void 0!==t&&o.push(O(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return v(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=U){var r;const n=this.constructor._$Ep(t,e);if(void 0!==n&&!0===e.reflect){const i=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:E).toAttribute(o,e.type);this._$El=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,n=r._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=r.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:E;this._$El=n,this[n]=i.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
53
|
*/
|
|
54
|
-
var
|
|
54
|
+
var L;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(x=N.reactiveElementVersions)&&void 0!==x?x:N.reactiveElementVersions=[]).push("1.6.1");const k=window,W=k.trustedTypes,K=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,j="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,M=`<${Z}>`,F=document,P=()=>F.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,_=/>/g,G=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,q=/"/g,V=/^(?:script|style|textarea|title)$/i,Y=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),J=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=F.createTreeWalker(F,129,null,!1);class ot{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=z;for(let o=0;o<e;o++){const e=t[o];let c,s,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===z?"!--"===s[1]?a=T:void 0!==s[1]?a=_:void 0!==s[2]?(V.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=G):void 0!==s[3]&&(a=G):a===G?">"===s[0]?(a=null!=n?n:z,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?G:'"'===s[3]?q:H):a===q||a===H?a=G:a===T||a===_?a=z:(a=G,n=void 0);const u=a===G&&t[o+1].startsWith("/>")?" ":"";i+=a===z?e+M:l>=0?(r.push(c),e.slice(0,l)+j+e.slice(l)+A+u):e+A+(-2===l?(r.push(void 0),o):u)}const c=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(c):c,r]})(t,o);if(this.el=ot.createElement(s,e),tt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=tt.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(j)||o.startsWith(A)){const e=l[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+j).split(A),o=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?it:"?"===o[1]?ct:"@"===o[1]?st:nt})}else c.push({type:6,index:n})}for(const o of t)r.removeAttribute(o)}if(V.test(r.tagName)){const t=r.textContent.split(A),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),tt.nextNode(),c.push({type:2,index:++n});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===Z)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)c.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}}function et(t,o,e=t,r){var n,i,a,c;if(o===J)return o;let s=void 0!==r?null===(n=e._$Co)||void 0===n?void 0:n[r]:e._$Cl;const l=$(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(c=e)._$Co)&&void 0!==a?a:c._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=et(t,s._$AS(t,o.values),s,r)),o}let rt=class t{constructor(t,o,e,r){var n;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(n=null==r?void 0:r.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0: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),$(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(t)||"function"==typeof(null==t?void 0: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!==X&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=ot.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(e);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:F).importNode(e,!0);tt.currentNode=n;let i=tt.nextNode(),a=0,c=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new rt(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new lt(i,this,t)),this._$AV.push(o),s=r[++c]}a!==(null==s?void 0:s.index)&&(i=tt.nextNode(),a++)}return n}v(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++}}(n,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new ot(t)),o}T(o){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(P()),this.k(P()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},nt=class{constructor(t,o,e,r,n){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=et(this,t,o,0),i=!$(t)||t!==this._$AH&&t!==J,i&&(this._$AH=t);else{const r=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=et(this,r[e+a],o,a),c===J&&(c=this._$AH[a]),i||(i=!$(c)||c!==this._$AH[a]),c===X?t=X:t!==X&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!r&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},it=class extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}};const at=W?W.emptyScript:"";let ct=class extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}},st=class extends nt{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=et(this,t,o,0))&&void 0!==e?e:X)===J)return;const r=this._$AH,n=t===X&&r!==X||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==X&&(r===X||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},lt=class{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 ft=k.litHtmlPolyfillSupport;null==ft||ft(ot,rt),(null!==(L=k.litHtmlVersions)&&void 0!==L?L:k.litHtmlVersions=[]).push("2.7.3");
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
59
|
*/
|
|
60
|
-
var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var n,r;const o=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let s=o._$litPart$;if(void 0===s){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;o._$litPart$=s=new nt(e.insertBefore(I(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}};dt.finalized=!0,dt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:dt});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:dt}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");class pt{static create(t,e,i){let n=t=>x(null!=t?t:i),r=y`var(${x(t)}, ${n(i)})`;return r.name=t,r.category=e,r.defaultValue=i,r.defaultCssValue=n,r.get=e=>y`var(${x(t)}, ${n(e)})`,r.breadcrumb=()=>[],r.lastResortDefaultValue=()=>i,r}static extend(t,e,i){let n=t=>e.get(null!=t?t:i),r=y`var(${x(t)}, ${n(i)})`;return r.name=t,r.category=e.category,r.fallbackVariable=e,r.defaultValue=i,r.defaultCssValue=n,r.get=e=>y`var(${x(t)}, ${n(e)})`,r.breadcrumb=()=>[e.name,...e.breadcrumb()],r.lastResortDefaultValue=()=>i,r}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),n=y`var(${x(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=e,n.defaultCssValue=i,n.get=e=>y`var(${x(t.name)}, ${i(e)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},n}}const bt={colorPrimary:pt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:pt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:pt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:pt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:pt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:pt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:pt.create("--ft-color-error","COLOR","#B00020"),colorOutline:pt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:pt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:pt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:pt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:pt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:pt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:pt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:pt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:pt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:pt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:pt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:pt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:pt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:pt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:pt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:pt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:pt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:pt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:pt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:pt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:pt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:pt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:pt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:pt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:pt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:pt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:pt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:pt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:pt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:pt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:pt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:pt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:pt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:pt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:pt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:pt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:pt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:pt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:pt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:pt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:pt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:pt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:pt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:pt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:pt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:pt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:pt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:pt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:pt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:pt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:pt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:pt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:pt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:pt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:pt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class xt extends dt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return m(i,t.elementStyles),i}}var yt,mt=function(t,e,i,n){for(var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s};const wt=Symbol("constructorPrototype"),gt=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class St extends xt{constructor(){super(),this[yt]=new r(5),this[gt]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gt]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ot].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,n,r,o,s;const a=t=>null!=t&&t.trim().length>0,c=t.filter(a).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const u=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(r=null===(n=t.getAttribute("part"))||void 0===n?void 0:n.split(" "))&&void 0!==r?r:[],i=null!==(s=null===(o=t.getAttribute("exportparts"))||void 0===o?void 0:o.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>u.add(t)))}if(0===u.size)return void this.removeAttribute("exportparts");const l=[...u.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}}yt=Ot,mt([s()],St.prototype,"exportpartsPrefix",void 0),mt([f([])],St.prototype,"exportpartsPrefixes",void 0),mt([s()],St.prototype,"customStylesheet",void 0),y`
|
|
60
|
+
var ut,dt;let pt=class extends I{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,n;const i=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new rt(o.insertBefore(P(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};pt.finalized=!0,pt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:pt});const ht=globalThis.litElementPolyfillSupport;null==ht||ht({LitElement:pt}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const yt=t=>"string"==typeof t?g(t):t;class bt{static create(t,o,e,r){const n=t=>yt(null!=t?t:r),i=m`var(${yt(t)}, ${n(r)})`;return i.name=t,i.description=t,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>m`var(${yt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=m`var(${yt(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>m`var(${yt(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),r=m`var(${yt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>m`var(${yt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const gt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")};bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-display-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const mt={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",gt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",gt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",gt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",gt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",gt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",gt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",gt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",gt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",gt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",gt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",gt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",gt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",gt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",gt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",gt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",gt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",gt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",gt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",gt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",gt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",gt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",gt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",gt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",gt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",gt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",gt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",gt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",gt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",gt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",gt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",gt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",gt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",gt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",gt.colorGray80)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",gt.spacing4),bt.extend("--ft-button-large-gap","",gt.spacing2),bt.extend("--ft-button-large-border-radius","",gt.borderRadiusS),bt.extend("--ft-button-large-icon-size","",gt.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",gt.spacing3),bt.extend("--ft-button-small-gap","",gt.spacing2),bt.extend("--ft-button-small-border-radius","",gt.borderRadiusS),bt.extend("--ft-button-small-icon-size","",gt.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",mt.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",mt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-secondary-background-color","",gt.colorWhite),bt.extend("--ft-button-secondary-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-button-secondary-border-color","",mt.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",mt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-button-neutral-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-tabs-top-left-border-radius","",gt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",gt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",gt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",gt.spacing3),bt.extend("--ft-tabs-label-gap","",gt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",gt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",gt.spacing1),bt.extend("--ft-switch-group-gap","",gt.spacing1),bt.extend("--ft-switch-group-background-color","",mt.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",mt.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",gt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",gt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",gt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",gt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",mt.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",gt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",gt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",gt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",gt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-switch-off-color","",mt.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",mt.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",gt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",gt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",gt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",gt.colorYellow100),bt.extend("--ft-chart-3-light","",gt.colorUltramarine40),bt.extend("--ft-chart-3-base","",gt.colorUltramarine70),bt.extend("--ft-chart-4-light","",gt.colorCyan50),bt.extend("--ft-chart-4-base","",gt.colorCyan100),bt.extend("--ft-chart-5-light","",gt.colorRed40),bt.extend("--ft-chart-5-base","",gt.colorRed60),bt.extend("--ft-chart-6-light","",gt.colorGreen40),bt.extend("--ft-chart-6-base","",gt.colorGreen70),bt.extend("--ft-chart-7-light","",gt.colorOrange70),bt.extend("--ft-chart-7-base","",gt.colorOrange100),bt.extend("--ft-chart-8-light","",gt.colorAvocado70),bt.extend("--ft-chart-8-base","",gt.colorAvocado200),bt.extend("--ft-chart-9-light","",gt.colorBrown50),bt.extend("--ft-chart-9-base","",gt.colorBrown200),bt.extend("--ft-chart-10-light","",gt.colorGray50),bt.extend("--ft-chart-10-base","",gt.colorGray80),bt.extend("--ft-chart-monochrome-10","",gt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",gt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",gt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",gt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",gt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",gt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",gt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",gt.spacing2),bt.extend("--ft-chip-large-gap","",gt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",gt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",gt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",gt.spacing1),bt.extend("--ft-chip-medium-gap","",gt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",gt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",gt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",gt.spacing05),bt.extend("--ft-chip-small-gap","",gt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",gt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",gt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",mt.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",mt.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",mt.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",mt.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",mt.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",mt.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",mt.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",mt.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",mt.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",mt.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",gt.spacing2),bt.extend("--ft-notice-vertical-padding","",gt.spacing1),bt.extend("--ft-notice-border-radius","",gt.borderRadiusS),bt.extend("--ft-notice-gap","",gt.spacing2),bt.extend("--ft-notice-icon-size","",gt.iconSize3),bt.extend("--ft-notice-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-notice-info-color","",mt.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",mt.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",mt.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",gt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",gt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",gt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-toggle-off-background-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",mt.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-toggle-on-background-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-toggle-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",mt.borderActionFocusRing),bt.extend("--ft-toggle-gap","",gt.spacing3),bt.extend("--ft-radio-label-color","",mt.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",mt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",mt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",gt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",gt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",gt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",gt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",gt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",mt.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",gt.spacing3),bt.extend("--ft-notification-icon-size","",gt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",gt.spacing4),bt.extend("--ft-notification-vertical-padding","",gt.spacing4),bt.extend("--ft-notification-info-background-color","",mt.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",mt.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",mt.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",mt.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",mt.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",mt.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",mt.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",mt.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",mt.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",mt.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",mt.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",mt.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",gt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",gt.spacing2),bt.extend("--ft-notification-gap-trailing","",gt.spacing8);const vt={colorPrimary:bt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:bt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:bt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:bt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:bt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:bt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:bt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:bt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:bt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:bt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:bt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:bt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ot extends pt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return v(e,t.elementStyles),e}}var xt,Nt=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const wt=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ct=Symbol("exportpartsDebouncer");class Et extends Ot{constructor(){super(),this[xt]=new n(5),this[St]=this.constructor.name,this[wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ct].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}xt=Ct,Nt([a()],Et.prototype,"exportpartsPrefix",void 0),Nt([u([])],Et.prototype,"exportpartsPrefixes",void 0),Nt([a()],Et.prototype,"customStylesheet",void 0),m`
|
|
61
61
|
.ft-no-text-select {
|
|
62
62
|
-webkit-touch-callout: none;
|
|
63
63
|
-webkit-user-select: none;
|
|
@@ -66,7 +66,7 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
66
66
|
-ms-user-select: none;
|
|
67
67
|
user-select: none;
|
|
68
68
|
}
|
|
69
|
-
`,
|
|
69
|
+
`,m`
|
|
70
70
|
.ft-word-wrap {
|
|
71
71
|
white-space: normal;
|
|
72
72
|
word-wrap: break-word;
|
|
@@ -78,7 +78,7 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
78
78
|
-webkit-hyphens: auto;
|
|
79
79
|
hyphens: auto
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,m`
|
|
82
82
|
.ft-safari-ellipsis-fix {
|
|
83
83
|
margin-right: 0;
|
|
84
84
|
|
|
@@ -89,9 +89,9 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
89
89
|
display: inline-block;
|
|
90
90
|
width: 0;
|
|
91
91
|
}
|
|
92
|
-
`;class Et{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let r=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),r}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;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 i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function jt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ct,Nt,Rt;const kt=Symbol("internalReduxEventsUnsubscribers"),Mt=Symbol("internalStoresUnsubscribers"),At=Symbol("internalStores");class Ut extends St{constructor(){super(...arguments),this[Ct]=new Map,this[Nt]=new Map,this[Rt]=[]}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[At].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[At].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[At].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:jt(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[At].delete(e)}setupStore(t,e){this[At].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[At].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(t.store?this[Mt].has(t.store):this[Mt].size>0)&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Mt].set(t,e.subscribe((()=>this.updateFromStores()))),jt(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[kt].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Mt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[kt].forEach((t=>t())),this[kt]=[]}unsubscribeFromStore(t){this[Mt].has(t)&&this[Mt].get(t)(),this[Mt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function $t(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[we]}function Tt(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 i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===ge}(t)||Array.isArray(t)||!!t[me]||!!(null===(e=t.constructor)||void 0===e?void 0:e[me])||Dt(t)||Wt(t))}function Lt(t,e,i){void 0===i&&(i=!1),0===_t(t)?(i?Object.keys:Oe)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function _t(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Dt(t)?2:Wt(t)?3:0}function Ft(t,e){return 2===_t(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function It(t,e,i){var n=_t(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Bt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Dt(t){return pe&&t instanceof Map}function Wt(t){return be&&t instanceof Set}function Kt(t){return t.o||t.t}function zt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Se(t);delete e[we];for(var i=Oe(e),n=0;n<i.length;n++){var r=i[n],o=e[r];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(e[r]={configurable:!0,writable:!0,enumerable:o.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function Ht(t,e){return void 0===e&&(e=!1),Vt(t)||Pt(t)||!Tt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=qt),Object.freeze(t),e&&Lt(t,(function(t,e){return Ht(e,!0)}),!0)),t}function qt(){$t(2)}function Vt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Jt(t){var e=Ee[t];return e||$t(18,t),e}function Zt(){return de}function Xt(t,e){e&&(Jt("Patches"),t.u=[],t.s=[],t.v=e)}function Gt(t){Qt(t),t.p.forEach(te),t.p=null}function Qt(t){t===de&&(de=t.l)}function Yt(t){return de={p:[],l:de,h:t,m:!0,_:0}}function te(t){var e=t[we];0===e.i||1===e.i?e.j():e.g=!0}function ee(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Jt("ES5").S(e,t,n),n?(i[we].P&&(Gt(e),$t(4)),Tt(t)&&(t=ie(e,t),e.l||re(e,t)),e.u&&Jt("Patches").M(i[we].t,t,e.u,e.s)):t=ie(e,i,[]),Gt(e),e.u&&e.v(e.u,e.s),t!==ye?t:void 0}function ie(t,e,i){if(Vt(e))return e;var n=e[we];if(!n)return Lt(e,(function(r,o){return ne(t,n,e,r,o,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return re(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=zt(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),Lt(o,(function(e,o){return ne(t,n,r,e,o,i,s)})),re(t,r,!1),i&&t.u&&Jt("Patches").N(n,i,t.u,t.s)}return n.o}function ne(t,e,i,n,r,o,s){if(Pt(r)){var a=ie(t,r,o&&e&&3!==e.i&&!Ft(e.R,n)?o.concat(n):void 0);if(It(i,n,a),!Pt(a))return;t.m=!1}else s&&i.add(r);if(Tt(r)&&!Vt(r)){if(!t.h.D&&t._<1)return;ie(t,r),e&&e.A.l||re(t,r)}}function re(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Ht(e,i)}function oe(t,e){var i=t[we];return(i?Kt(i):t)[e]}function se(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function ae(t){t.P||(t.P=!0,t.l&&ae(t.l))}function ce(t){t.o||(t.o=zt(t.t))}function ue(t,e,i){var n=Dt(e)?Jt("MapSet").F(e,i):Wt(e)?Jt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:Zt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=n,o=je;i&&(r=[n],o=Ce);var s=Proxy.revocable(r,o),a=s.revoke,c=s.proxy;return n.k=c,n.j=a,c}(e,i):Jt("ES5").J(e,i);return(i?i.A:Zt()).p.push(n),n}function le(t){return Pt(t)||$t(22,t),function t(e){if(!Tt(e))return e;var i,n=e[we],r=_t(e);if(n){if(!n.P&&(n.i<4||!Jt("ES5").K(n)))return n.t;n.I=!0,i=fe(e,r),n.I=!1}else i=fe(e,r);return Lt(i,(function(e,r){n&&function(t,e){return 2===_t(t)?t.get(e):t[e]}(n.t,e)===r||It(i,e,t(r))})),3===r?new Set(i):i}(t)}function fe(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return zt(t)}Ct=Mt,Nt=At,Rt=kt;var he,de,ve="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),pe="undefined"!=typeof Map,be="undefined"!=typeof Set,xe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ye=ve?Symbol.for("immer-nothing"):((he={})["immer-nothing"]=!0,he),me=ve?Symbol.for("immer-draftable"):"__$immer_draftable",we=ve?Symbol.for("immer-state"):"__$immer_state",ge=""+Object.prototype.constructor,Oe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Se=Object.getOwnPropertyDescriptors||function(t){var e={};return Oe(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},Ee={},je={get:function(t,e){if(e===we)return t;var i=Kt(t);if(!Ft(i,e))return function(t,e,i){var n,r=se(e,i);return r?"value"in r?r.value:null===(n=r.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Tt(n)?n:n===oe(t.t,e)?(ce(t),t.o[e]=ue(t.A.h,n,t)):n},has:function(t,e){return e in Kt(t)},ownKeys:function(t){return Reflect.ownKeys(Kt(t))},set:function(t,e,i){var n=se(Kt(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var r=oe(Kt(t),e),o=null==r?void 0:r[we];if(o&&o.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Bt(i,r)&&(void 0!==i||Ft(t.t,e)))return!0;ce(t),ae(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==oe(t.t,e)||e in t.t?(t.R[e]=!1,ce(t),ae(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=Kt(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){$t(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){$t(12)}},Ce={};Lt(je,(function(t,e){Ce[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ce.deleteProperty=function(t,e){return Ce.set.call(this,t,e,void 0)},Ce.set=function(t,e,i){return je.set.call(this,t[0],e,i,t[0])};var Ne=function(){function t(t){var e=this;this.O=xe,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var r=i;i=t;var o=e;return function(t){var e=this;void 0===t&&(t=r);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return o.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&$t(6),void 0!==n&&"function"!=typeof n&&$t(7),Tt(t)){var a=Yt(e),c=ue(e,t,void 0),u=!0;try{s=i(c),u=!1}finally{u?Gt(a):Qt(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Xt(a,n),ee(t,a)}),(function(t){throw Gt(a),t})):(Xt(a,n),ee(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===ye&&(s=void 0),e.D&&Ht(s,!0),n){var l=[],f=[];Jt("Patches").M(t,s,l,f),n(l,f)}return s}$t(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(r))}))};var n,r,o=e.produce(t,i,(function(t,e){n=t,r=e}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(t){return[t,n,r]})):[o,n,r]},"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){Tt(t)||$t(8),Pt(t)&&(t=le(t));var e=Yt(this),i=ue(this,t,void 0);return i[we].C=!0,Qt(e),i},e.finishDraft=function(t,e){var i=(t&&t[we]).A;return Xt(i,e),ee(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!xe&&$t(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var r=Jt("Patches").$;return Pt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Re=new Ne,ke=Re.produce;function Me(t){return Me="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},Me(t)}function Ae(t){var e=function(t,e){if("object"!==Me(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Me(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Me(e)?e:String(e)}function Ue(t,e,i){return(e=Ae(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function $e(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Pe(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?$e(Object(i),!0).forEach((function(e){Ue(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):$e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Te(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. "}Re.produceWithPatches.bind(Re),Re.setAutoFreeze.bind(Re),Re.setUseProxies.bind(Re),Re.applyPatches.bind(Re),Re.createDraft.bind(Re),Re.finishDraft.bind(Re);var Le="function"==typeof Symbol&&Symbol.observable||"@@observable",_e=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fe={INIT:"@@redux/INIT"+_e(),REPLACE:"@@redux/REPLACE"+_e(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_e()}};function Ie(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Te(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Te(1));return i(Ie)(t,e)}if("function"!=typeof t)throw new Error(Te(2));var r=t,o=e,s=[],a=s,c=!1;function u(){a===s&&(a=s.slice())}function l(){if(c)throw new Error(Te(3));return o}function f(t){if("function"!=typeof t)throw new Error(Te(4));if(c)throw new Error(Te(5));var e=!0;return u(),a.push(t),function(){if(e){if(c)throw new Error(Te(6));e=!1,u();var i=a.indexOf(t);a.splice(i,1),s=null}}}function h(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(Te(7));if(void 0===t.type)throw new Error(Te(8));if(c)throw new Error(Te(9));try{c=!0,o=r(o,t)}finally{c=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return h({type:Fe.INIT}),(n={dispatch:h,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Te(10));r=t,h({type:Fe.REPLACE})}})[Le]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Te(11));function i(){t.next&&t.next(l())}return i(),{unsubscribe:e(i)}}})[Le]=function(){return this},t},n}function Be(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var r=e[n];"function"==typeof t[r]&&(i[r]=t[r])}var o,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Fe.INIT}))throw new Error(Te(12));if(void 0===i(void 0,{type:Fe.PROBE_UNKNOWN_ACTION()}))throw new Error(Te(13))}))}(i)}catch(t){o=t}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,r={},a=0;a<s.length;a++){var c=s[a],u=i[c],l=t[c],f=u(l,e);if(void 0===f)throw e&&e.type,new Error(Te(14));r[c]=f,n=n||f!==l}return(n=n||s.length!==Object.keys(t).length)?r:t}}function De(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];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 We(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(Te(15))},r={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},o=e.map((function(t){return t(r)}));return n=De.apply(void 0,o)(i.dispatch),Pe(Pe({},i),{},{dispatch:n})}}}function Ke(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(i,n,t):e(r)}}}}var ze=Ke();ze.withExtraArgument=Ke;var He,qe=ze,Ve=(He=function(t,e){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},He(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 i(){this.constructor=t}He(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Je=function(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],n=0}finally{i=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},Ze=function(t,e){for(var i=0,n=e.length,r=t.length;i<n;i++,r++)t[r]=e[i];return t},Xe=Object.defineProperty,Ge=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,ii=function(t,e,i){return e in t?Xe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ni=function(t,e){for(var i in e||(e={}))ti.call(e,i)&&ii(t,i,e[i]);if(Ye)for(var n=0,r=Ye(e);n<r.length;n++){i=r[n];ei.call(e,i)&&ii(t,i,e[i])}return t},ri=function(t,e){return Ge(t,Qe(e))},oi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?De:De.apply(null,arguments)};var si=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ve(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ze([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ze([void 0],t.concat(this))))},e}(Array),ai=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r=t.apply(this,i)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ve(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ze([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ze([void 0],t.concat(this))))},e}(Array);function ci(t){return Tt(t)?ke(t,(function(){})):t}function ui(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new si;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(qe.withExtraArgument(i.extraArgument)):n.push(qe));return n}(t)}}function li(t){var e,i=ui(),n=t||{},r=n.reducer,o=void 0===r?void 0:r,s=n.middleware,a=void 0===s?i():s,c=n.devTools,u=void 0===c||c,l=n.preloadedState,f=void 0===l?void 0:l,h=n.enhancers,d=void 0===h?void 0:h;if("function"==typeof o)e=o;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(o))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=Be(o)}var v=a;"function"==typeof v&&(v=v(i));var p=We.apply(void 0,v),b=De;u&&(b=oi(ni({trace:!1},"object"==typeof u&&u)));var x=new ai(p),y=x;return Array.isArray(d)?y=Ze([p],d):"function"==typeof d&&(y=d(x)),Ie(e,f,b.apply(void 0,y))}function fi(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var r=e.apply(void 0,i);if(!r)throw new Error("prepareAction did not return an object");return ni(ni({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function hi(t){var e,i={},n=[],r={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,r},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[i,n,e]}function di(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:ci(t.initialState),r=t.reducers||{},o=Object.keys(r),s={},a={},c={};function u(){var e="function"==typeof t.extraReducers?hi(t.extraReducers):[t.extraReducers],i=e[0],r=void 0===i?{}:i,o=e[1],s=void 0===o?[]:o,c=e[2],u=void 0===c?void 0:c,l=ni(ni({},r),a);return function(t,e,i,n){void 0===i&&(i=[]);var r,o="function"==typeof e?hi(e):[e,i,n],s=o[0],a=o[1],c=o[2];if(function(t){return"function"==typeof t}(t))r=function(){return ci(t())};else{var u=ci(t);r=function(){return u}}function l(t,e){void 0===t&&(t=r());var i=Ze([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[c]),i.reduce((function(t,i){if(i){var n;if(Pt(t))return void 0===(n=i(t,e))?t:n;if(Tt(t))return ke(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return l.getInitialState=r,l}(n,(function(t){for(var e in l)t.addCase(e,l[e]);for(var i=0,n=s;i<n.length;i++){var r=n[i];t.addMatcher(r.matcher,r.reducer)}u&&t.addDefaultCase(u)}))}return o.forEach((function(t){var i,n,o=r[t],u=e+"/"+t;"reducer"in o?(i=o.reducer,n=o.prepare):i=o,s[t]=i,a[u]=i,c[t]=n?fi(u,n):fi(u)})),{name:e,reducer:function(t,e){return i||(i=u()),i(t,e)},actions:c,caseReducers:s,getInitialState:function(){return i||(i=u()),i.getInitialState()}}}var vi=["name","message","stack","code"],pi=function(t,e){this.payload=t,this.meta=e},bi=function(t,e){this.payload=t,this.meta=e},xi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=vi;i<n.length;i++){var r=n[i];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function yi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=fi(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:ri(ni({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),r=fi(t+"/pending",(function(t,e,i){return{payload:void 0,meta:ri(ni({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),o=fi(t+"/rejected",(function(t,e,n,r,o){return{payload:r,error:(i&&i.serializeError||xi)(t||"Rejected"),meta:ri(ni({},o||{}),{arg:n,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="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(a,c,u){var l,f=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new s;function d(t){l=t,h.abort()}var v=function(){return s=this,v=null,p=function(){var s,v,p,b,x,y;return Je(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:c,extra:u}),null===(w=b)||"object"!=typeof w||"function"!=typeof w.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return x=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:l||"Aborted"})}))})),a(r(f,t,null==(v=null==i?void 0:i.getPendingMeta)?void 0:v.call(i,{requestId:f,arg:t},{getState:c,extra:u}))),[4,Promise.race([x,Promise.resolve(e(t,{dispatch:a,getState:c,extra:u,requestId:f,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new pi(t,e)},fulfillWithValue:function(t,e){return new bi(t,e)}})).then((function(e){if(e instanceof pi)throw e;return e instanceof bi?n(e.payload,f,t,e.meta):n(e,f,t)}))])];case 3:return p=m.sent(),[3,5];case 4:return y=m.sent(),p=y instanceof pi?o(null,f,t,y.payload,y.meta):o(y,f,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&o.match(p)&&p.meta.condition||a(p),[2,p]}var w}))},new Promise((function(t,e){var i=function(t){try{r(p.next(t))}catch(t){e(t)}},n=function(t){try{r(p.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};r((p=p.apply(s,v)).next())}));var s,v,p}();return Object.assign(v,{abort:d,requestId:f,arg:t,unwrap:function(){return v.then(yi)}})}}),{pending:r,rejected:o,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var mi="listenerMiddleware";fi(mi+"/add"),fi(mi+"/removeAll"),fi(mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=r[t];return i?i.enumerable=e:r[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[we];return je.get(e,t)},set:function(e){var i=this[we];je.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][we];if(!r.P)switch(r.i){case 5:n(r)&&ae(r);break;case 4:i(r)&&ae(r)}}}function i(t){for(var e=t.t,i=t.k,n=Oe(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==we){var s=e[o];if(void 0===s&&!Ft(e,o))return!0;var a=i[o],c=a&&a[we];if(c?c.t!==s:!Bt(a,s))return!0}}var u=!!e[we];return n.length!==Oe(e).length+(u?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var r={};!function(t,e){Ee[t]||(Ee[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),r=function(e,i){if(e){for(var n=Array(i.length),r=0;r<i.length;r++)Object.defineProperty(n,""+r,t(r,!0));return n}var o=Se(i);delete o[we];for(var s=Oe(o),a=0;a<s.length;a++){var c=s[a];o[c]=t(c,e||!!o[c].enumerable)}return Object.create(Object.getPrototypeOf(i),o)}(n,e),o={i:n?5:4,A:i?i.A:Zt(),P:!1,I:!1,R:{},l:i,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,we,{value:o,writable:!0}),r},S:function(t,i,r){r?Pt(i)&&i[we].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[we];if(i){var r=i.t,o=i.k,s=i.R,a=i.i;if(4===a)Lt(o,(function(e){e!==we&&(void 0!==r[e]||Ft(r,e)?s[e]||t(o[e]):(s[e]=!0,ae(i)))})),Lt(r,(function(t){void 0!==o[t]||Ft(o,t)||(s[t]=!1,ae(i))}));else if(5===a){if(n(i)&&(ae(i),s.length=!0),o.length<r.length)for(var c=o.length;c<r.length;c++)s[c]=!1;else for(var u=r.length;u<o.length;u++)s[u]=!0;for(var l=Math.min(o.length,r.length),f=0;f<l;f++)o.hasOwnProperty(f)||(s[f]=!0),void 0===s[f]&&t(o[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class wi{static get(t){var e;const i="string"==typeof t?t:t.name,n="string"==typeof t?void 0:t,r=window.ftReduxStores[i];if(jt(r))return r;if(null==n)return;const o=di({...n,reducers:null!==(e=n.reducers)&&void 0!==e?e:{}}),s=li({reducer:(t,e)=>{var i;switch(e.type){case"CLEAR_FT_REDUX_STORE":return o.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(i=e.overwrites)&&void 0!==i?i:{}};default:return o.reducer(t,e)}}});return window.ftReduxStores[n.name]=new wi(o,s)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=e,r=t[n];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[n]: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 gi=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const r={hasChanged:(t,e)=>!u(t,e),attribute:!1,...e};s(r)(t,i);const o=t;o.reduxProperties=o.reduxProperties||new Map,o.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}};var Oi,Si;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Si=null===(Oi=window.safari)||void 0===Oi?void 0:Oi.pushNotification)||void 0===Si||Si.toString());const Ei={colorError:pt.external(bt.colorError,"Design system"),fontFamily:pt.external(bt.contentFont,"Design system")},ji=y`
|
|
92
|
+
`;class Rt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Ut(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var It,Lt,kt;const Wt=Symbol("internalReduxEventsUnsubscribers"),Kt=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores");class At extends Et{constructor(){super(...arguments),this[It]=new Map,this[Lt]=new Map,this[kt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[jt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ut(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[jt].delete(o)}setupStore(t,o){this[jt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Kt].has(t.store):this[Kt].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Kt].set(t,o.subscribe((()=>this.updateFromStores()))),Ut(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Wt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Kt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Wt].forEach((t=>t())),this[Wt]=[]}unsubscribeFromStore(t){this[Kt].has(t)&&this[Kt].get(t)(),this[Kt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Zt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mt(t){return!!t&&!!t[So]}function Ft(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Co}(t)||Array.isArray(t)||!!t[wo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[wo])||Tt(t)||_t(t))}function Pt(t,o,e){void 0===e&&(e=!1),0===$t(t)?(e?Object.keys:Eo)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function $t(t){var o=t[So];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Tt(t)?2:_t(t)?3:0}function Bt(t,o){return 2===$t(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Dt(t,o,e){var r=$t(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function zt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Tt(t){return vo&&t instanceof Map}function _t(t){return Oo&&t instanceof Set}function Gt(t){return t.o||t.t}function Ht(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Ro(t);delete o[So];for(var e=Eo(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function qt(t,o){return void 0===o&&(o=!1),Yt(t)||Mt(t)||!Ft(t)||($t(t)>1&&(t.set=t.add=t.clear=t.delete=Vt),Object.freeze(t),o&&Pt(t,(function(t,o){return qt(o,!0)}),!0)),t}function Vt(){Zt(2)}function Yt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Jt(t){var o=Uo[t];return o||Zt(18,t),o}function Xt(){return go}function Qt(t,o){o&&(Jt("Patches"),t.u=[],t.s=[],t.v=o)}function to(t){oo(t),t.p.forEach(ro),t.p=null}function oo(t){t===go&&(go=t.l)}function eo(t){return go={p:[],l:go,h:t,m:!0,_:0}}function ro(t){var o=t[So];0===o.i||1===o.i?o.j():o.g=!0}function no(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Jt("ES5").S(o,t,r),r?(e[So].P&&(to(o),Zt(4)),Ft(t)&&(t=io(o,t),o.l||co(o,t)),o.u&&Jt("Patches").M(e[So].t,t,o.u,o.s)):t=io(o,e,[]),to(o),o.u&&o.v(o.u,o.s),t!==No?t:void 0}function io(t,o,e){if(Yt(o))return o;var r=o[So];if(!r)return Pt(o,(function(n,i){return ao(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return co(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Ht(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Pt(i,(function(o,i){return ao(t,r,n,o,i,e,a)})),co(t,n,!1),e&&t.u&&Jt("Patches").N(r,e,t.u,t.s)}return r.o}function ao(t,o,e,r,n,i,a){if(Mt(n)){var c=io(t,n,i&&o&&3!==o.i&&!Bt(o.R,r)?i.concat(r):void 0);if(Dt(e,r,c),!Mt(c))return;t.m=!1}else a&&e.add(n);if(Ft(n)&&!Yt(n)){if(!t.h.D&&t._<1)return;io(t,n),o&&o.A.l||co(t,n)}}function co(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&qt(o,e)}function so(t,o){var e=t[So];return(e?Gt(e):t)[o]}function lo(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function fo(t){t.P||(t.P=!0,t.l&&fo(t.l))}function uo(t){t.o||(t.o=Ht(t.t))}function po(t,o,e){var r=Tt(o)?Jt("MapSet").F(o,e):_t(o)?Jt("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Xt(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Io;e&&(n=[r],i=Lo);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return r.k=s,r.j=c,s}(o,e):Jt("ES5").J(o,e);return(e?e.A:Xt()).p.push(r),r}function ho(t){return Mt(t)||Zt(22,t),function t(o){if(!Ft(o))return o;var e,r=o[So],n=$t(o);if(r){if(!r.P&&(r.i<4||!Jt("ES5").K(r)))return r.t;r.I=!0,e=yo(o,n),r.I=!1}else e=yo(o,n);return Pt(e,(function(o,n){r&&function(t,o){return 2===$t(t)?t.get(o):t[o]}(r.t,o)===n||Dt(e,o,t(n))})),3===n?new Set(e):e}(t)}function yo(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Ht(t)}It=Kt,Lt=jt,kt=Wt;var bo,go,mo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),vo="undefined"!=typeof Map,Oo="undefined"!=typeof Set,xo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,No=mo?Symbol.for("immer-nothing"):((bo={})["immer-nothing"]=!0,bo),wo=mo?Symbol.for("immer-draftable"):"__$immer_draftable",So=mo?Symbol.for("immer-state"):"__$immer_state",Co=""+Object.prototype.constructor,Eo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ro=Object.getOwnPropertyDescriptors||function(t){var o={};return Eo(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Uo={},Io={get:function(t,o){if(o===So)return t;var e=Gt(t);if(!Bt(e,o))return function(t,o,e){var r,n=lo(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Ft(r)?r:r===so(t.t,o)?(uo(t),t.o[o]=po(t.A.h,r,t)):r},has:function(t,o){return o in Gt(t)},ownKeys:function(t){return Reflect.ownKeys(Gt(t))},set:function(t,o,e){var r=lo(Gt(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=so(Gt(t),o),i=null==n?void 0:n[So];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(zt(e,n)&&(void 0!==e||Bt(t.t,o)))return!0;uo(t),fo(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==so(t.t,o)||o in t.t?(t.R[o]=!1,uo(t),fo(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Gt(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},Lo={};Pt(Io,(function(t,o){Lo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Lo.deleteProperty=function(t,o){return Lo.set.call(this,t,o,void 0)},Lo.set=function(t,o,e){return Io.set.call(this,t[0],o,e,t[0])};var ko=function(){function t(t){var o=this;this.O=xo,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),c=1;c<r;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Zt(6),void 0!==r&&"function"!=typeof r&&Zt(7),Ft(t)){var c=eo(o),s=po(o,t,void 0),l=!0;try{a=e(s),l=!1}finally{l?to(c):oo(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Qt(c,r),no(t,c)}),(function(t){throw to(c),t})):(Qt(c,r),no(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===No&&(a=void 0),o.D&&qt(a,!0),r){var f=[],u=[];Jt("Patches").M(t,a,f,u),r(f,u)}return a}Zt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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 o=t.prototype;return o.createDraft=function(t){Ft(t)||Zt(8),Mt(t)&&(t=ho(t));var o=eo(this),e=po(this,t,void 0);return e[So].C=!0,oo(o),e},o.finishDraft=function(t,o){var e=(t&&t[So]).A;return Qt(e,o),no(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!xo&&Zt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=Jt("Patches").$;return Mt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Wo=new ko,Ko=Wo.produce;function jo(t){return jo="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},jo(t)}function Ao(t){var o=function(t,o){if("object"!==jo(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==jo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===jo(o)?o:String(o)}function Zo(t,o,e){return(o=Ao(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Mo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Fo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Mo(Object(e),!0).forEach((function(o){Zo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Po(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. "}Wo.produceWithPatches.bind(Wo),Wo.setAutoFreeze.bind(Wo),Wo.setUseProxies.bind(Wo),Wo.applyPatches.bind(Wo),Wo.createDraft.bind(Wo),Wo.finishDraft.bind(Wo);var $o="function"==typeof Symbol&&Symbol.observable||"@@observable",Bo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Do={INIT:"@@redux/INIT"+Bo(),REPLACE:"@@redux/REPLACE"+Bo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Bo()}};function zo(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Po(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Po(1));return e(zo)(t,o)}if("function"!=typeof t)throw new Error(Po(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Po(3));return i}function u(t){if("function"!=typeof t)throw new Error(Po(4));if(s)throw new Error(Po(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Po(6));o=!1,l();var e=c.indexOf(t);c.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Po(7));if(void 0===t.type)throw new Error(Po(8));if(s)throw new Error(Po(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:Do.INIT}),(r={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Po(10));n=t,d({type:Do.REPLACE})}})[$o]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Po(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[$o]=function(){return this},t},r}function To(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:Do.INIT}))throw new Error(Po(12));if(void 0===e(void 0,{type:Do.PROBE_UNKNOWN_ACTION()}))throw new Error(Po(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},c=0;c<a.length;c++){var s=a[c],l=e[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Po(14));n[s]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function _o(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function Go(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Po(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=_o.apply(void 0,i)(e.dispatch),Fo(Fo({},e),{},{dispatch:r})}}}function Ho(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var qo=Ho();qo.withExtraArgument=Ho;var Vo,Yo=qo,Jo=(Vo=function(t,o){return Vo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Vo(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Vo(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Xo=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},Qo=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},te=Object.defineProperty,oe=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ae=function(t,o,e){return o in t?te(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ce=function(t,o){for(var e in o||(o={}))ne.call(o,e)&&ae(t,e,o[e]);if(re)for(var r=0,n=re(o);r<n.length;r++){e=n[r];ie.call(o,e)&&ae(t,e,o[e])}return t},se=function(t,o){return oe(t,ee(o))},le="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?_o:_o.apply(null,arguments)};var fe=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Jo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Qo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Qo([void 0],t.concat(this))))},o}(Array),ue=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return Jo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Qo([void 0],t[0].concat(this)))):new(o.bind.apply(o,Qo([void 0],t.concat(this))))},o}(Array);function de(t){return Ft(t)?Ko(t,(function(){})):t}function pe(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new fe;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Yo.withExtraArgument(e.extraArgument)):r.push(Yo));return r}(t)}}function he(t){var o,e=pe(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,c=void 0===a?e():a,s=r.devTools,l=void 0===s||s,f=r.preloadedState,u=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=To(i)}var h=c;"function"==typeof h&&(h=h(e));var y=Go.apply(void 0,h),b=_o;l&&(b=le(ce({trace:!1},"object"==typeof l&&l)));var g=new ue(y),m=g;return Array.isArray(p)?m=Qo([y],p):"function"==typeof p&&(m=p(g)),zo(o,u,b.apply(void 0,m))}function ye(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return ce(ce({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function be(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function ge(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:de(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?be(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=ce(ce({},n),c);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?be(o):[o,e,r],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return de(t())};else{var l=de(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=Qo([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(Mt(t))return void 0===(r=e(t,o))?t:r;if(Ft(t))return Ko(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){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=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,c[l]=e,s[t]=r?ye(l,r):ye(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var me=["name","message","stack","code"],ve=function(t,o){this.payload=t,this.meta=o},Oe=function(t,o){this.payload=t,this.meta=o},xe=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=me;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ne(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=ye(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:se(ce({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=ye(t+"/pending",(function(t,o,e){return{payload:void 0,meta:se(ce({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=ye(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||xe)(t||"Rejected"),meta:se(ce({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,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(c,s,l){var f,u=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function p(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,b,g,m;return Xo(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:d.signal,abort:p,rejectWithValue:function(t,o){return new ve(t,o)},fulfillWithValue:function(t,o){return new Oe(t,o)}})).then((function(o){if(o instanceof ve)throw o;return o instanceof Oe?r(o.payload,u,t,o.meta):r(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof ve?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||c(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:p,requestId:u,arg:t,unwrap:function(){return h.then(Ne)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var we="listenerMiddleware";ye(we+"/add"),ye(we+"/removeAll"),ye(we+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[So];return Io.get(o,t)},set:function(o){var e=this[So];Io.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][So];if(!n.P)switch(n.i){case 5:r(n)&&fo(n);break;case 4:e(n)&&fo(n)}}}function e(t){for(var o=t.t,e=t.k,r=Eo(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==So){var a=o[i];if(void 0===a&&!Bt(o,i))return!0;var c=e[i],s=c&&c[So];if(s?s.t!==a:!zt(c,a))return!0}}var l=!!o[So];return r.length!==Eo(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Uo[t]||(Uo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ro(e);delete i[So];for(var a=Eo(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Xt(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,So,{value:i,writable:!0}),n},S:function(t,e,n){n?Mt(e)&&e[So].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[So];if(e){var n=e.t,i=e.k,a=e.R,c=e.i;if(4===c)Pt(i,(function(o){o!==So&&(void 0!==n[o]||Bt(n,o)?a[o]||t(i[o]):(a[o]=!0,fo(e)))})),Pt(n,(function(t){void 0!==i[t]||Bt(i,t)||(a[t]=!1,fo(e))}));else if(5===c){if(r(e)&&(fo(e),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Se{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Ut(n))return n;if(null==r)return;const i=ge({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=he({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Se(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}: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 Ce=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!l(t,o),attribute:!1,...o};a(n)(t,e);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};var Ee,Re;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Re=null===(Ee=window.safari)||void 0===Ee?void 0:Ee.pushNotification)||void 0===Re||Re.toString());const Ue={colorError:bt.external(vt.colorError,"Design system"),fontFamily:bt.external(vt.contentFont,"Design system")},Ie=m`
|
|
93
93
|
.topic {
|
|
94
|
-
font-family: ${
|
|
94
|
+
font-family: ${Ue.fontFamily};
|
|
95
95
|
overflow-x: auto;
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -100,23 +100,23 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.topic-on-error ft-icon {
|
|
103
|
-
color: ${
|
|
103
|
+
color: ${Ue.colorError}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.topic-loading {
|
|
107
107
|
height: 100vh;
|
|
108
108
|
}
|
|
109
|
-
`;var
|
|
109
|
+
`;var Le;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS"}(Le||(Le={}));var ke=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class We extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ke=Symbol("registerInterval");class je extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Ke]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ke]):this.dispatchEvent(new We)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ke,ke([c()],e.prototype,"stateManager",void 0),e}(At)){}var Ae=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Ze extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Me=Symbol("registerInterval");class Fe extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[Me]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Me]):this.dispatchEvent(new Ze)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=Me,Ae([c()],e.prototype,"tocNode",void 0),Ae([c()],e.prototype,"disableContextInteractions",void 0),e}(je)){}
|
|
110
110
|
/**
|
|
111
111
|
* @license
|
|
112
112
|
* Copyright 2017 Google LLC
|
|
113
113
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
114
|
-
*/const
|
|
114
|
+
*/const Pe=2;class $e{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
115
115
|
/**
|
|
116
116
|
* @license
|
|
117
117
|
* Copyright 2017 Google LLC
|
|
118
118
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
119
|
-
*/class
|
|
119
|
+
*/class Be extends $e{constructor(t){if(super(t),this.et=X,t.type!==Pe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.ft=void 0,this.et=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Be.directiveName="unsafeHTML",Be.resultType=1;const De=(t=>(...o)=>({_$litDirective$:t,values:o}))(Be);var ze,Te;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(ze||(ze={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Te||(Te={})),new Map([...["abw"].map((t=>[t,Te.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Te.AUDIO])),...["avi"].map((t=>[t,Te.AVI])),...["chm","xhs"].map((t=>[t,Te.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Te.CODE])),...["csv"].map((t=>[t,Te.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Te.DITA])),...["epub"].map((t=>[t,Te.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Te.EXCEL])),...["flac"].map((t=>[t,Te.FLAC])),...["gif"].map((t=>[t,Te.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Te.GZIP])),...["html","htm","xhtml"].map((t=>[t,Te.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Te.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Te.JPEG])),...["json"].map((t=>[t,Te.JSON])),...["m4a","m4p"].map((t=>[t,Te.M4A])),...["mov","qt"].map((t=>[t,Te.MOV])),...["mp3"].map((t=>[t,Te.MP3])),...["mp4","m4v"].map((t=>[t,Te.MP4])),...["ogg","oga"].map((t=>[t,Te.OGG])),...["pdf","ps"].map((t=>[t,Te.PDF])),...["png"].map((t=>[t,Te.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Te.POWERPOINT])),...["rar"].map((t=>[t,Te.RAR])),...["stp"].map((t=>[t,Te.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Te.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Te.VIDEO])),...["wav"].map((t=>[t,Te.WAV])),...["wma"].map((t=>[t,Te.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Te.WORD])),...["xml","xsl","rdf"].map((t=>[t,Te.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Te.YAML])),...["zip"].map((t=>[t,Te.ZIP]))]);const _e=bt.create("--ft-icon-font-size","","SIZE","24px"),Ge=bt.extend("--ft-icon-fluid-topics-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),He=bt.extend("--ft-icon-file-format-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),qe=bt.extend("--ft-icon-material-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Ve=bt.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Ye=m`
|
|
120
120
|
:host, i.ft-icon {
|
|
121
121
|
display: inline-flex;
|
|
122
122
|
align-items: center;
|
|
@@ -125,14 +125,14 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
:host {
|
|
128
|
-
width: ${
|
|
129
|
-
height: ${
|
|
128
|
+
width: ${_e};
|
|
129
|
+
height: ${_e};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
i.ft-icon {
|
|
133
133
|
width: 100%;
|
|
134
134
|
height: 100%;
|
|
135
|
-
font-size: ${
|
|
135
|
+
font-size: ${_e};
|
|
136
136
|
line-height: 1;
|
|
137
137
|
font-weight: normal;
|
|
138
138
|
text-transform: none;
|
|
@@ -143,64 +143,64 @@ var ft,ht;let dt=class extends k{constructor(){super(...arguments),this.renderOp
|
|
|
143
143
|
text-rendering: auto;
|
|
144
144
|
-webkit-font-smoothing: antialiased;
|
|
145
145
|
-moz-osx-font-smoothing: grayscale;
|
|
146
|
-
vertical-align: ${
|
|
146
|
+
vertical-align: ${Ve};
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
i.ft-icon.ft-icon--fluid-topics {
|
|
150
|
-
font-family: ${
|
|
150
|
+
font-family: ${Ge}, ft-icons, fticons, sans-serif;
|
|
151
151
|
|
|
152
152
|
/* Ugly fix because font is broken */
|
|
153
|
-
font-size: calc(0.75 * ${
|
|
154
|
-
line-height: ${
|
|
153
|
+
font-size: calc(0.75 * ${_e});
|
|
154
|
+
line-height: ${_e};
|
|
155
155
|
position: relative;
|
|
156
156
|
top: -4%;
|
|
157
157
|
justify-content: center;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.ft-icon--file-format {
|
|
161
|
-
font-family: ${
|
|
161
|
+
font-family: ${He}, ft-mime, sans-serif;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.ft-icon--material {
|
|
165
|
-
font-family: ${
|
|
165
|
+
font-family: ${qe}, "Material Icons", sans-serif;
|
|
166
166
|
}
|
|
167
|
-
`;var
|
|
167
|
+
`;var Je;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Je||(Je={}));var Xe=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Qe extends Et{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(Je).includes(this.variant)?this.variant:Je.fluid_topics,o=t!==Je.material||!!this.value;return Y`
|
|
168
168
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
169
|
-
${
|
|
170
|
-
<slot ?hidden=${
|
|
169
|
+
${De(this.resolvedIcon)}
|
|
170
|
+
<slot ?hidden=${o}></slot>
|
|
171
171
|
</i>
|
|
172
|
-
`}get textContent(){var t,
|
|
172
|
+
`}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 e=this.value||this.textContent;switch(this.variant){case Je.file_format:this.resolvedIcon=null!==(t=Te[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Je.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(o=ze[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Qe.elementDefinitions={},Qe.styles=Ye,Xe([a()],Qe.prototype,"variant",void 0),Xe([a()],Qe.prototype,"value",void 0),Xe([c()],Qe.prototype,"resolvedIcon",void 0),Xe([
|
|
173
173
|
/**
|
|
174
174
|
* @license
|
|
175
175
|
* Copyright 2017 Google LLC
|
|
176
176
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
177
177
|
*/
|
|
178
|
-
function(t,
|
|
179
|
-
`,
|
|
180
|
-
`,
|
|
178
|
+
function(t,o){return(({finisher:t,descriptor:o})=>(e,r)=>{var n;if(void 0===r){const r=null!==(n=e.originalKey)&&void 0!==n?n:e.key,i=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(i.finisher=function(o){t(o,r)}),i}{const n=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(n,r)}})({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}("slot")],Qe.prototype,"slottedContent",void 0),f("ft-icon")(Qe);const tr=m`
|
|
179
|
+
`,or=m`
|
|
180
|
+
`,er=Se.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 rr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=er.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?rr.build(t):null!==(o=rr.API)&&void 0!==o?o:rr.API=rr.build()}static await(t){return new Promise((o=>{let e=rr.get(t);if(e)o(e);else{const r=er.subscribe((()=>{e=rr.get(t),e&&(r(),o(e))}))}}))}}var nr;const ir=Symbol("clearAfterUnitTest");class ar{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[nr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=er.getState().uiLocale,er.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=er.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,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};l(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Rt(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}nr=ir,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ar((async(t,o)=>(await rr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ar((async(t,o)=>(await rr.await()).getCustomMessageContext(t,o))));const cr=window.FluidTopicsI18nService,sr=window.FluidTopicsCustomI18nService;var lr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class fr extends Et{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=()=>rr.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return Y`
|
|
181
181
|
<slot></slot>
|
|
182
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
182
|
+
`}update(t){super.update(t),t.has("baseUrl")&&er.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&er.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&er.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&er.actions.setNoCustom(this.noCustom),t.has("editorMode")&&er.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&er.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&er.actions.setSession(this.session),t.has("availableUiLocales")&&er.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>cr.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()))))}}fr.elementDefinitions={},fr.styles=or,lr([a()],fr.prototype,"baseUrl",void 0),lr([a()],fr.prototype,"apiIntegrationIdentifier",void 0),lr([a()],fr.prototype,"uiLocale",void 0),lr([u([])],fr.prototype,"availableUiLocales",void 0),lr([a({type:Boolean})],fr.prototype,"editorMode",void 0),lr([a({type:Boolean})],fr.prototype,"noCustom",void 0),lr([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],fr.prototype,"noCustomComponent",void 0),lr([a({type:Boolean})],fr.prototype,"withManualResources",void 0),lr([u([])],fr.prototype,"messageContexts",void 0),lr([u(void 0)],fr.prototype,"session",void 0),lr([a({type:Object})],fr.prototype,"apiProvider",void 0);class ur{async listMySearches(){var t;return(null===(t=er.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await rr.await()).listMySearches(er.getState().session.profile.userId):[]}}const dr=new r;class pr{async listMyBookmarks(){return dr.get("bookmarks",(async()=>(await rr.await()).listMyBookmarks(er.getState().session.profile.userId)))}clearCache(){dr.clear("bookmarks")}}const hr=Se.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=er.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pr,er.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=er.getState();l(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){hr.actions.savedSearches(void 0)}clearMyBookmarks(){hr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new ur,o=await t.listMySearches();hr.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;hr.actions.bookmarks(o)}}},f("ft-app-context")(fr);var yr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const br=Symbol("i18nProperties"),gr=Symbol("i18nUnsubs");function mr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?sr:cr}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o;null===(o=this[br])||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[br])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[br]&&new Set([...this[br].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[gr].has(t)||this[gr].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[gr].forEach((t=>t())),this[gr].clear()}}return o=gr,yr([a({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class vr extends(mr(Et)){}class Or extends(mr(At)){}var xr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Nr extends Or{constructor(){super(),this.editorMode=!1,this.addStore(er)}render(){return this.key&&this.context?Y`
|
|
183
183
|
<span class="ft-i18n">
|
|
184
184
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
185
185
|
</span>
|
|
186
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
186
|
+
`:this.editorMode?"Select a context and a label key.":X}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Nr.elementDefinitions={},Nr.styles=tr,xr([Ce()],Nr.prototype,"editorMode",void 0),xr([a()],Nr.prototype,"context",void 0),xr([a()],Nr.prototype,"key",void 0),xr([u([])],Nr.prototype,"args",void 0),xr([a()],Nr.prototype,"defaultMessage",void 0);class wr{static build(t){return new wr(t)}static fromGwt(t){return new wr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>cr.resolveMessage(this.name,o,...t)})}}f("ft-i18n")(Nr);const Sr=wr.build("designedReaderTopicContent");var Cr=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(n=t[c])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Er extends Fe{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,o;return this.map&&(this.error||this.content)?Y`
|
|
187
187
|
<style>
|
|
188
188
|
@import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
|
|
189
189
|
</style>
|
|
190
|
-
<section class="topic" lang="${null===(
|
|
190
|
+
<section class="topic" lang="${null===(o=this.map)||void 0===o?void 0:o.lang}">
|
|
191
191
|
${this.renderTopicContent()}
|
|
192
192
|
</section>
|
|
193
|
-
`:
|
|
193
|
+
`:Y`
|
|
194
194
|
<section class="topic-loading"></section>
|
|
195
|
-
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var e,
|
|
195
|
+
`}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var o,e,r,n,i,a,c;if(super.contentAvailableCallback(t),!this.disableContextInteractions&&(null===(o=this.scrollTarget)||void 0===o?void 0:o.section)&&(null===(e=this.tocNode)||void 0===e?void 0:e.tocId)&&(null===(r=this.tocNode)||void 0===r?void 0:r.tocId)===this.scrollTarget.tocId&&this.content){(null!==(i=null===(n=this.shadowRoot)||void 0===n?void 0:n.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==i?i:this).scrollIntoView({block:"start"}),null===(a=this.stateManager)||void 0===a||a.scrollDone()}const s=null===(c=this.shadowRoot)||void 0===c?void 0:c.querySelector("section.topic");s&&this.onContentAvailable(s,this.shadowRoot)}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var t,o,e,r;if(this.error)return Y`
|
|
196
196
|
<div class="topic-on-error">
|
|
197
197
|
<ft-icon>WARNING</ft-icon>
|
|
198
198
|
<div>
|
|
199
|
-
${this.is404Error()?
|
|
199
|
+
${this.is404Error()?Sr.messages.topicMissingAdvice():Sr.messages.somethingWentWrong()}
|
|
200
200
|
</div>
|
|
201
201
|
</div>
|
|
202
|
-
`;const
|
|
203
|
-
<div class="depth-${null===(
|
|
204
|
-
${null!=this.content?
|
|
202
|
+
`;const n=null!==(o=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==o?o:"";return Y`
|
|
203
|
+
<div class="depth-${null===(e=this.tocNode)||void 0===e?void 0:e.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${n}">
|
|
204
|
+
${null!=this.content?De(`${this.contentPreprocessor(this.content)}`):X}
|
|
205
205
|
</div>
|
|
206
|
-
`}is404Error(){return 404===this.error.status}}
|
|
206
|
+
`}is404Error(){return 404===this.error.status}}Er.styles=Ie,Cr([Ce()],Er.prototype,"map",void 0),Cr([Ce()],Er.prototype,"scrollTarget",void 0),Cr([c()],Er.prototype,"content",void 0),Cr([c()],Er.prototype,"error",void 0),Cr([a({attribute:!1})],Er.prototype,"contentPreprocessor",void 0),Cr([a({attribute:!1})],Er.prototype,"onContentAvailable",void 0),f("ft-reader-topic-content")(Er),t.FtReaderTopicContent=Er,t.FtReaderTopicContentCssVariables=Ue,t.styles=Ie}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-reader-topic-content",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"description": "Content of a topic in integrated reader.",
|
|
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.0.
|
|
23
|
-
"@fluid-topics/ft-i18n": "1.0.
|
|
24
|
-
"@fluid-topics/ft-reader-context": "1.0.
|
|
25
|
-
"@fluid-topics/ft-reader-topic-context": "1.0.
|
|
26
|
-
"@fluid-topics/ft-tooltip": "1.0.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-chip": "1.0.60",
|
|
23
|
+
"@fluid-topics/ft-i18n": "1.0.60",
|
|
24
|
+
"@fluid-topics/ft-reader-context": "1.0.60",
|
|
25
|
+
"@fluid-topics/ft-reader-topic-context": "1.0.60",
|
|
26
|
+
"@fluid-topics/ft-tooltip": "1.0.60",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.0.60",
|
|
28
28
|
"@fluid-topics/public-api": "1.0.45",
|
|
29
29
|
"lit": "2.7.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
|
|
32
32
|
}
|