@everymatrix/player-profile-info-cu 1.80.12 → 1.80.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerProfileInfoCu-DqX5ktKj.cjs → PlayerProfileInfoCu-BhM5cGsn.cjs} +1 -1
- package/components/{PlayerProfileInfoCu-DfclhNQ2.js → PlayerProfileInfoCu-DQqlLigh.js} +1 -1
- package/components/{PlayerProfileInfoCu-Bi36b5UG.js → PlayerProfileInfoCu-rPvVJMel.js} +1 -1
- package/es2015/player-profile-info-cu.cjs +1 -1
- package/es2015/player-profile-info-cu.js +1 -1
- package/esnext/player-profile-info-cu.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-YW9b062G.cjs → index-b2193545-9K-aI7zC.cjs} +1 -1
- package/stencil/{index-b2193545-BeKKnKhR.js → index-b2193545-DsMHU6jb.js} +1 -1
- package/stencil/{index-b2193545-HC0t7mHa.js → index-b2193545-R7ZoV-kY.js} +1 -1
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +12 -12
- package/stencil/ui-skeleton-ed169f8f-CpiCXJrP.cjs +55 -0
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +12 -12
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +0 -55
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Va=Object.defineProperty,Qa=Object.defineProperties;var Wa=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var Xa=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable;var hn=(e,t,r)=>t in e?Va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,So=(e,t)=>{for(var r in t||(t={}))Xa.call(t,r)&&hn(e,r,t[r]);if(Co)for(var r of Co(t))qa.call(t,r)&&hn(e,r,t[r]);return e},Eo=(e,t)=>Qa(e,Wa(t));var xe=(e,t,r)=>(hn(e,typeof t!="symbol"?t+"":t,r),r);var Ke=(e,t,r)=>new Promise((i,n)=>{var o=f=>{try{u(r.next(f))}catch(c){n(c)}},a=f=>{try{u(r.throw(f))}catch(c){n(c)}},u=f=>f.done?i(f.value):Promise.resolve(f.value).then(o,a);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BL4789dS.cjs");function Se(){}function ca(e){return e()}function Po(){return Object.create(null)}function nt(e){e.forEach(ca)}function Vi(e){return typeof e=="function"}function fa(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Za(e){return Object.keys(e).length===0}function pa(e,...t){if(e==null){for(const i of t)i(void 0);return Se}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Ja(e,t,r){e.$$.on_destroy.push(pa(t,r))}function s(e,t){e.appendChild(t)}function Ya(e,t,r){const i=Ka(e);if(!i.getElementById(t)){const n=m("style");n.id=t,n.textContent=r,es(i,n)}}function Ka(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function es(e,t){return s(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Sn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function m(e){return document.createElement(e)}function Et(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function C(){return E(" ")}function ts(){return E("")}function j(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function l(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function rs(e){return Array.from(e.childNodes)}function x(e,t){t=""+t,e.data!==t&&(e.data=t)}function Q(e,t){e.value=t==null?"":t}function wo(e,t,r){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function is(e){const t=e.querySelector(":checked");return t&&t.__value}function ns(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Pr;function Er(e){Pr=e}function os(){if(!Pr)throw new Error("Function called outside component initialization");return Pr}function as(e){os().$$.on_mount.push(e)}const At=[],En=[];let xt=[];const Ao=[],ss=Promise.resolve();let Pn=!1;function ls(){Pn||(Pn=!0,ss.then(Ce))}function Ui(e){xt.push(e)}const dn=new Set;let Pt=0;function Ce(){if(Pt!==0)return;const e=Pr;do{try{for(;Pt<At.length;){const t=At[Pt];Pt++,Er(t),us(t.$$)}}catch(t){throw At.length=0,Pt=0,t}for(Er(null),At.length=0,Pt=0;En.length;)En.pop()();for(let t=0;t<xt.length;t+=1){const r=xt[t];dn.has(r)||(dn.add(r),r())}xt.length=0}while(At.length);for(;Ao.length;)Ao.pop()();Pn=!1,dn.clear(),Er(e)}function us(e){if(e.fragment!==null){e.update(),nt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ui)}}function cs(e){const t=[],r=[];xt.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),xt=t}const fs=new Set;function ps(e,t){e&&e.i&&(fs.delete(e),e.i(t))}function Fi(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function hs(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),Ui(()=>{const o=e.$$.on_mount.map(ca).filter(Vi);e.$$.on_destroy?e.$$.on_destroy.push(...o):nt(o),e.$$.on_mount=[]}),n.forEach(Ui)}function ds(e,t){const r=e.$$;r.fragment!==null&&(cs(r.after_update),nt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ms(e,t){e.$$.dirty[0]===-1&&(At.push(e),ls(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function bs(e,t,r,i,n,o,a=null,u=[-1]){const f=Pr;Er(e);const c=e.$$={fragment:null,ctx:[],props:o,update:Se,not_equal:n,bound:Po(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:Po(),dirty:u,skip_bound:!1,root:t.target||f.$$.root};a&&a(c.root);let p=!1;if(c.ctx=r?r(e,t.props||{},(b,y,...S)=>{const g=S.length?S[0]:y;return c.ctx&&n(c.ctx[b],c.ctx[b]=g)&&(!c.skip_bound&&c.bound[b]&&c.bound[b](g),p&&ms(e,b)),y}):[],c.update(),p=!0,nt(c.before_update),c.fragment=i?i(c.ctx):!1,t.target){if(t.hydrate){const b=rs(t.target);c.fragment&&c.fragment.l(b),b.forEach(N)}else c.fragment&&c.fragment.c();t.intro&&ps(e.$$.fragment),hs(e,t.target,t.anchor),Ce()}Er(f)}let ha;typeof HTMLElement=="function"&&(ha=class extends HTMLElement{constructor(t,r,i){super();xe(this,"$$ctor");xe(this,"$$s");xe(this,"$$c");xe(this,"$$cn",!1);xe(this,"$$d",{});xe(this,"$$r",!1);xe(this,"$$p_d",{});xe(this,"$$l",{});xe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return Ke(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=m("slot"),o!=="default"&&l(a,"name",o)},m:function(c,p){L(c,a,p)},d:function(c){c&&N(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=ns(this);for(const o of this.$$s)o in i&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Di(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Eo(So({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Di(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const a of this.$$l[o]){const u=this.$$c.$on(o,a);this.$$l_u.set(a,u)}this.$$l={}}})}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Di(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Di(e,t,r,i){var o;const n=(o=r[e])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ys(e,t,r,i,n,o){let a=class extends ha{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var c;f=Di(u,f,t),this.$$d[u]=f,(c=this.$$c)==null||c.$set({[u]:f})}})}),i.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=a,a}class vs{constructor(){xe(this,"$$");xe(this,"$$set")}$destroy(){ds(this,1),this.$destroy=Se}$on(t,r){if(!Vi(r))return Se;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(r),()=>{const n=i.indexOf(r);n!==-1&&i.splice(n,1)}}$set(t){this.$$set&&!Za(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gs);function _s(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Cs(e,t){const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ss(e,t,r){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,n=>{i.innerHTML=n,e&&e.appendChild(i)})}}const wt=[];function Es(e,t){return{subscribe:Qi(e,t).subscribe}}function Qi(e,t=Se){let r;const i=new Set;function n(u){if(fa(e,u)&&(e=u,r)){const f=!wt.length;for(const c of i)c[1](),wt.push(c,e);if(f){for(let c=0;c<wt.length;c+=2)wt[c][0](wt[c+1]);wt.length=0}}}function o(u){n(u(e))}function a(u,f=Se){const c=[u,f];return i.add(c),i.size===1&&(r=t(n,o)||Se),u(e),()=>{i.delete(c),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:a}}function Tt(e,t,r){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Es(r,(a,u)=>{let f=!1;const c=[];let p=0,b=Se;const y=()=>{if(p)return;b();const g=t(i?c[0]:c,a,u);o?a(g):b=Vi(g)?g:Se},S=n.map((g,_)=>pa(g,H=>{c[_]=H,p&=~(1<<_),f&&y()},()=>{p|=1<<_}));return f=!0,y(),function(){nt(S),b(),f=!1}})}function Ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ws=function(t){return As(t)&&!xs(t)};function As(e){return!!e&&typeof e=="object"}function xs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hs(e)}var Bs=typeof Symbol=="function"&&Symbol.for,Os=Bs?Symbol.for("react.element"):60103;function Hs(e){return e.$$typeof===Os}function Is(e){return Array.isArray(e)?[]:{}}function wr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Bt(Is(e),e,t):e}function Ts(e,t,r){return e.concat(t).map(function(i){return wr(i,r)})}function ks(e,t){if(!t.customMerge)return Bt;var r=t.customMerge(e);return typeof r=="function"?r:Bt}function Ms(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xo(e){return Object.keys(e).concat(Ms(e))}function da(e,t){try{return t in e}catch(r){return!1}}function Ns(e,t){return da(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ds(e,t,r){var i={};return r.isMergeableObject(e)&&xo(e).forEach(function(n){i[n]=wr(e[n],r)}),xo(t).forEach(function(n){Ns(e,n)||(da(e,n)&&r.isMergeableObject(t[n])?i[n]=ks(n,r)(e[n],t[n],r):i[n]=wr(t[n],r))}),i}function Bt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ts,r.isMergeableObject=r.isMergeableObject||ws,r.cloneUnlessOtherwiseSpecified=wr;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):Ds(e,t,r):wr(t,r)}Bt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Bt(i,n,r)},{})};var Ls=Bt,Rs=Ls;const js=Ps(Rs);var wn=function(e,t){return wn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},wn(e,t)};function Wi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ze=function(){return ze=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ze.apply(this,arguments)};function Us(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function mn(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function bn(e,t){var r=t&&t.cache?t.cache:Ws,i=t&&t.serializer?t.serializer:Vs,n=t&&t.strategy?t.strategy:Gs;return n(e,{cache:r,serializer:i})}function Fs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zs(e,t,r,i){var n=Fs(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function ma(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(n,o)),o}function ba(e,t,r,i,n){return r.bind(t,e,i,n)}function Gs(e,t){var r=e.length===1?zs:ma;return ba(e,this,r,t.cache.create(),t.serializer)}function $s(e,t){return ba(e,this,ma,t.cache.create(),t.serializer)}var Vs=function(){return JSON.stringify(arguments)},Qs=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ws={create:function(){return new Qs}},yn={variadic:$s},zi=function(){return zi=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},zi.apply(this,arguments)};var P;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(P||(P={}));var k;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(k||(k={}));var Ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ot||(Ot={}));function Bo(e){return e.type===k.literal}function Xs(e){return e.type===k.argument}function ya(e){return e.type===k.number}function va(e){return e.type===k.date}function ga(e){return e.type===k.time}function _a(e){return e.type===k.select}function Ca(e){return e.type===k.plural}function qs(e){return e.type===k.pound}function Sa(e){return e.type===k.tag}function Ea(e){return!!(e&&typeof e=="object"&&e.type===Ot.number)}function An(e){return!!(e&&typeof e=="object"&&e.type===Ot.dateTime)}var Pa=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zs=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Js(e){var t={};return e.replace(Zs,function(r){var i=r.length;switch(r[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var D=function(){return D=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},D.apply(this,arguments)};var Ys=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ks(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ys).filter(function(y){return y.length>0}),r=[],i=0,n=t;i<n.length;i++){var o=n[i],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],f=a.slice(1),c=0,p=f;c<p.length;c++){var b=p[c];if(b.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:f})}return r}function el(e){return e.replace(/^(.*?)-/,"")}var Oo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wa=/^(@+)?(\+|#+)?[rs]?$/g,tl=/(\*)(0+)|(#+)(0+)|(0+)/g,Aa=/^(0+)$/;function Ho(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(wa,function(r,i,n){return typeof n!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):n==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),t}function xa(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function rl(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Aa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Io(e){var t={},r=xa(e);return r||t}function il(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=el(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=D(D(D({},t),{notation:"scientific"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));continue;case"engineering":t=D(D(D({},t),{notation:"engineering"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(tl,function(f,c,p,b,y,S){if(c)t.minimumIntegerDigits=p.length;else{if(b&&y)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Aa.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Oo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Oo,function(f,c,p,b,y,S){return p==="*"?t.minimumFractionDigits=c.length:b&&b[0]==="#"?t.maximumFractionDigits=b.length:y&&S?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+S.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var o=n.options[0];o==="w"?t=D(D({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=D(D({},t),Ho(o)));continue}if(wa.test(n.stem)){t=D(D({},t),Ho(n.stem));continue}var a=xa(n.stem);a&&(t=D(D({},t),a));var u=rl(n.stem);u&&(t=D(D({},t),u))}return t}var Mi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function nl(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(o&1),u=o<2?1:3+(o>>1),f="a",c=ol(t);for((c=="H"||c=="k")&&(u=0);u-- >0;)r+=f;for(;a-- >0;)r=c+r}else n==="J"?r+="H":r+=n}return r}function ol(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,i;r!=="root"&&(i=e.maximize().region);var n=Mi[i||""]||Mi[r||""]||Mi["".concat(r,"-001")]||Mi["001"];return n[0]}var vn,al=new RegExp("^".concat(Pa.source,"*")),sl=new RegExp("".concat(Pa.source,"*$"));function A(e,t){return{start:e,end:t}}var ll=!!String.prototype.startsWith&&"_a".startsWith("a",1),ul=!!String.fromCodePoint,cl=!!Object.fromEntries,fl=!!String.prototype.codePointAt,pl=!!String.prototype.trimStart,hl=!!String.prototype.trimEnd,dl=!!Number.isSafeInteger,ml=dl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xn=!0;try{var bl=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xn=((vn=bl.exec("a"))===null||vn===void 0?void 0:vn[0])==="a"}catch(e){xn=!1}var To=ll?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Bn=ul?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,o=0,a;n>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},ko=cl?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var o=n[i],a=o[0],u=o[1];r[a]=u}return r},Ba=fl?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),o;return n<55296||n>56319||r+1===i||(o=t.charCodeAt(r+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},yl=pl?function(t){return t.trimStart()}:function(t){return t.replace(al,"")},vl=hl?function(t){return t.trimEnd()}:function(t){return t.replace(sl,"")};function Oa(e,t){return new RegExp(e,t)}var On;if(xn){var Mo=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");On=function(t,r){var i;Mo.lastIndex=r;var n=Mo.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else On=function(t,r){for(var i=[];;){var n=Ba(t,r);if(n===void 0||Ha(n)||Sl(n))break;i.push(n),r+=n>=65536?2:1}return Bn.apply(void 0,i)};var gl=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,i);if(a.err)return a;n.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),n.push({type:k.pound,location:A(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(P.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Hn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:k.literal,value:"<".concat(n,"/>"),location:A(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hn(this.char()))return this.error(P.INVALID_TAG,A(u,this.clonePosition()));var f=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(P.UNMATCHED_CLOSING_TAG,A(f,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:k.tag,value:n,children:a,location:A(i,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,A(u,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,A(i,this.clonePosition()))}else return this.error(P.INVALID_TAG,A(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Cl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(r);if(o){n+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){n+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){n+=u;continue}break}var f=A(i,this.clonePosition());return{val:{type:k.literal,value:n,location:f},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_l(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return Bn.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),Bn(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,A(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:n,location:A(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=On(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),a=A(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(u){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,A(a,f));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),b=this.parseSimpleArgStyleIfPossible();if(b.err)return b;var y=vl(b.val);if(y.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var S=A(p,this.clonePosition());c={style:y,styleLocation:S}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=A(n,this.clonePosition());if(c&&To(c==null?void 0:c.style,"::",0)){var H=yl(c.style.slice(2));if(u==="number"){var b=this.parseNumberSkeletonFromString(H,c.styleLocation);return b.err?b:{val:{type:k.number,value:i,location:_,style:b.val},err:null}}else{if(H.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var B=H;this.locale&&(B=nl(H,this.locale));var y={type:Ot.dateTime,pattern:B,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Js(B):{}},R=u==="date"?k.date:k.time;return{val:{type:R,value:i,location:_,style:y},err:null}}}return{val:{type:u==="number"?k.number:u==="date"?k.date:k.time,value:i,location:_,style:(o=c==null?void 0:c.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var U=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,A(U,zi({},U)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),F=0;if(u!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var b=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(b.err)return b;this.bumpSpace(),I=this.parseIdentifierIfPossible(),F=b.val}var O=this.tryParsePluralOrSelectOptions(t,u,r,I);if(O.err)return O;var g=this.tryParseArgumentClose(n);if(g.err)return g;var T=A(n,this.clonePosition());return u==="select"?{val:{type:k.select,value:i,options:ko(O.val),location:T},err:null}:{val:{type:k.plural,value:i,options:ko(O.val),offset:F,pluralType:u==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,A(a,f))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var i=[];try{i=Ks(t)}catch(n){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ot.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?il(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,a=!1,u=[],f=new Set,c=n.value,p=n.location;;){if(c.length===0){var b=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;p=A(b,this.clonePosition()),c=this.message.slice(b.offset,this.offset())}else break}if(f.has(c))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,p);c==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,i);if(g.err)return g;var _=this.tryParseArgumentClose(S);if(_.err)return _;u.push([c,{value:g.val,location:A(S,this.clonePosition())}]),f.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,p=o.location}return u.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,a=a*10+(u-48),this.bump();else break}var f=A(n,this.clonePosition());return o?(a*=i,ml(a)?{val:a,err:null}:this.error(r,f)):this.error(t,f)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ba(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(To(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),i=this.message.indexOf(t,r);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ha(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i!=null?i:null},e}();function Hn(e){return e>=97&&e<=122||e>=65&&e<=90}function _l(e){return Hn(e)||e===47}function Cl(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ha(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Sl(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function In(e){e.forEach(function(t){if(delete t.location,_a(t)||Ca(t))for(var r in t.options)delete t.options[r].location,In(t.options[r].value);else ya(t)&&Ea(t.style)||(va(t)||ga(t))&&An(t.style)?delete t.style.location:Sa(t)&&In(t.children)})}function El(e,t){t===void 0&&(t={}),t=zi({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new gl(e,t).parse();if(r.err){var i=SyntaxError(P[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||In(r.val),r.val}var Ht;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ht||(Ht={}));var Xi=function(e){Wi(t,e);function t(r,i,n){var o=e.call(this,r)||this;return o.code=i,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),No=function(e){Wi(t,e);function t(r,i,n,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ht.INVALID_VALUE,o)||this}return t}(Xi),Pl=function(e){Wi(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Ht.INVALID_VALUE,n)||this}return t}(Xi),wl=function(e){Wi(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),Ht.MISSING_VALUE,i)||this}return t}(Xi),ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ee||(ee={}));function Al(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==ee.literal||r.type!==ee.literal?t.push(r):i.value+=r.value,t},[])}function xl(e){return typeof e=="function"}function Li(e,t,r,i,n,o,a){if(e.length===1&&Bo(e[0]))return[{type:ee.literal,value:e[0].value}];for(var u=[],f=0,c=e;f<c.length;f++){var p=c[f];if(Bo(p)){u.push({type:ee.literal,value:p.value});continue}if(qs(p)){typeof o=="number"&&u.push({type:ee.literal,value:r.getNumberFormat(t).format(o)});continue}var b=p.value;if(!(n&&b in n))throw new wl(b,a);var y=n[b];if(Xs(p)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),u.push({type:typeof y=="string"?ee.literal:ee.object,value:y});continue}if(va(p)){var S=typeof p.style=="string"?i.date[p.style]:An(p.style)?p.style.parsedOptions:void 0;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ga(p)){var S=typeof p.style=="string"?i.time[p.style]:An(p.style)?p.style.parsedOptions:i.time.medium;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ya(p)){var S=typeof p.style=="string"?i.number[p.style]:Ea(p.style)?p.style.parsedOptions:void 0;S&&S.scale&&(y=y*(S.scale||1)),u.push({type:ee.literal,value:r.getNumberFormat(t,S).format(y)});continue}if(Sa(p)){var g=p.children,_=p.value,H=n[_];if(!xl(H))throw new Pl(_,"function",a);var B=Li(g,t,r,i,n,o),R=H(B.map(function(F){return F.value}));Array.isArray(R)||(R=[R]),u.push.apply(u,R.map(function(F){return{type:typeof F=="string"?ee.literal:ee.object,value:F}}))}if(_a(p)){var U=p.options[y]||p.options.other;if(!U)throw new No(p.value,y,Object.keys(p.options),a);u.push.apply(u,Li(U.value,t,r,i,n));continue}if(Ca(p)){var U=p.options["=".concat(y)];if(!U){if(!Intl.PluralRules)throw new Xi(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var Va=Object.defineProperty,Qa=Object.defineProperties;var Wa=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var Xa=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable;var hn=(e,t,r)=>t in e?Va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,So=(e,t)=>{for(var r in t||(t={}))Xa.call(t,r)&&hn(e,r,t[r]);if(Co)for(var r of Co(t))qa.call(t,r)&&hn(e,r,t[r]);return e},Eo=(e,t)=>Qa(e,Wa(t));var xe=(e,t,r)=>(hn(e,typeof t!="symbol"?t+"":t,r),r);var Ke=(e,t,r)=>new Promise((i,n)=>{var o=f=>{try{u(r.next(f))}catch(c){n(c)}},a=f=>{try{u(r.throw(f))}catch(c){n(c)}},u=f=>f.done?i(f.value):Promise.resolve(f.value).then(o,a);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function Se(){}function ca(e){return e()}function Po(){return Object.create(null)}function nt(e){e.forEach(ca)}function Vi(e){return typeof e=="function"}function fa(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Za(e){return Object.keys(e).length===0}function pa(e,...t){if(e==null){for(const i of t)i(void 0);return Se}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Ja(e,t,r){e.$$.on_destroy.push(pa(t,r))}function s(e,t){e.appendChild(t)}function Ya(e,t,r){const i=Ka(e);if(!i.getElementById(t)){const n=m("style");n.id=t,n.textContent=r,es(i,n)}}function Ka(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function es(e,t){return s(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function Sn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function m(e){return document.createElement(e)}function Et(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function E(e){return document.createTextNode(e)}function C(){return E(" ")}function ts(){return E("")}function j(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function l(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function rs(e){return Array.from(e.childNodes)}function x(e,t){t=""+t,e.data!==t&&(e.data=t)}function Q(e,t){e.value=t==null?"":t}function wo(e,t,r){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function is(e){const t=e.querySelector(":checked");return t&&t.__value}function ns(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Pr;function Er(e){Pr=e}function os(){if(!Pr)throw new Error("Function called outside component initialization");return Pr}function as(e){os().$$.on_mount.push(e)}const At=[],En=[];let xt=[];const Ao=[],ss=Promise.resolve();let Pn=!1;function ls(){Pn||(Pn=!0,ss.then(Ce))}function Ui(e){xt.push(e)}const dn=new Set;let Pt=0;function Ce(){if(Pt!==0)return;const e=Pr;do{try{for(;Pt<At.length;){const t=At[Pt];Pt++,Er(t),us(t.$$)}}catch(t){throw At.length=0,Pt=0,t}for(Er(null),At.length=0,Pt=0;En.length;)En.pop()();for(let t=0;t<xt.length;t+=1){const r=xt[t];dn.has(r)||(dn.add(r),r())}xt.length=0}while(At.length);for(;Ao.length;)Ao.pop()();Pn=!1,dn.clear(),Er(e)}function us(e){if(e.fragment!==null){e.update(),nt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ui)}}function cs(e){const t=[],r=[];xt.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),xt=t}const fs=new Set;function ps(e,t){e&&e.i&&(fs.delete(e),e.i(t))}function Fi(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function hs(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),Ui(()=>{const o=e.$$.on_mount.map(ca).filter(Vi);e.$$.on_destroy?e.$$.on_destroy.push(...o):nt(o),e.$$.on_mount=[]}),n.forEach(Ui)}function ds(e,t){const r=e.$$;r.fragment!==null&&(cs(r.after_update),nt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ms(e,t){e.$$.dirty[0]===-1&&(At.push(e),ls(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function bs(e,t,r,i,n,o,a=null,u=[-1]){const f=Pr;Er(e);const c=e.$$={fragment:null,ctx:[],props:o,update:Se,not_equal:n,bound:Po(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:Po(),dirty:u,skip_bound:!1,root:t.target||f.$$.root};a&&a(c.root);let p=!1;if(c.ctx=r?r(e,t.props||{},(b,y,...S)=>{const g=S.length?S[0]:y;return c.ctx&&n(c.ctx[b],c.ctx[b]=g)&&(!c.skip_bound&&c.bound[b]&&c.bound[b](g),p&&ms(e,b)),y}):[],c.update(),p=!0,nt(c.before_update),c.fragment=i?i(c.ctx):!1,t.target){if(t.hydrate){const b=rs(t.target);c.fragment&&c.fragment.l(b),b.forEach(N)}else c.fragment&&c.fragment.c();t.intro&&ps(e.$$.fragment),hs(e,t.target,t.anchor),Ce()}Er(f)}let ha;typeof HTMLElement=="function"&&(ha=class extends HTMLElement{constructor(t,r,i){super();xe(this,"$$ctor");xe(this,"$$s");xe(this,"$$c");xe(this,"$$cn",!1);xe(this,"$$d",{});xe(this,"$$r",!1);xe(this,"$$p_d",{});xe(this,"$$l",{});xe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return Ke(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=m("slot"),o!=="default"&&l(a,"name",o)},m:function(c,p){L(c,a,p)},d:function(c){c&&N(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=ns(this);for(const o of this.$$s)o in i&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Di(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Eo(So({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Di(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const o in this.$$l)for(const a of this.$$l[o]){const u=this.$$c.$on(o,a);this.$$l_u.set(a,u)}this.$$l={}}})}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Di(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Di(e,t,r,i){var o;const n=(o=r[e])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ys(e,t,r,i,n,o){let a=class extends ha{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var c;f=Di(u,f,t),this.$$d[u]=f,(c=this.$$c)==null||c.$set({[u]:f})}})}),i.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=a,a}class vs{constructor(){xe(this,"$$");xe(this,"$$set")}$destroy(){ds(this,1),this.$destroy=Se}$on(t,r){if(!Vi(r))return Se;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(r),()=>{const n=i.indexOf(r);n!==-1&&i.splice(n,1)}}$set(t){this.$$set&&!Za(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gs);function _s(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Cs(e,t){const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Ss(e,t,r){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,n=>{i.innerHTML=n,e&&e.appendChild(i)})}}const wt=[];function Es(e,t){return{subscribe:Qi(e,t).subscribe}}function Qi(e,t=Se){let r;const i=new Set;function n(u){if(fa(e,u)&&(e=u,r)){const f=!wt.length;for(const c of i)c[1](),wt.push(c,e);if(f){for(let c=0;c<wt.length;c+=2)wt[c][0](wt[c+1]);wt.length=0}}}function o(u){n(u(e))}function a(u,f=Se){const c=[u,f];return i.add(c),i.size===1&&(r=t(n,o)||Se),u(e),()=>{i.delete(c),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:a}}function Tt(e,t,r){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Es(r,(a,u)=>{let f=!1;const c=[];let p=0,b=Se;const y=()=>{if(p)return;b();const g=t(i?c[0]:c,a,u);o?a(g):b=Vi(g)?g:Se},S=n.map((g,_)=>pa(g,H=>{c[_]=H,p&=~(1<<_),f&&y()},()=>{p|=1<<_}));return f=!0,y(),function(){nt(S),b(),f=!1}})}function Ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ws=function(t){return As(t)&&!xs(t)};function As(e){return!!e&&typeof e=="object"}function xs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hs(e)}var Bs=typeof Symbol=="function"&&Symbol.for,Os=Bs?Symbol.for("react.element"):60103;function Hs(e){return e.$$typeof===Os}function Is(e){return Array.isArray(e)?[]:{}}function wr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Bt(Is(e),e,t):e}function Ts(e,t,r){return e.concat(t).map(function(i){return wr(i,r)})}function ks(e,t){if(!t.customMerge)return Bt;var r=t.customMerge(e);return typeof r=="function"?r:Bt}function Ms(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xo(e){return Object.keys(e).concat(Ms(e))}function da(e,t){try{return t in e}catch(r){return!1}}function Ns(e,t){return da(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ds(e,t,r){var i={};return r.isMergeableObject(e)&&xo(e).forEach(function(n){i[n]=wr(e[n],r)}),xo(t).forEach(function(n){Ns(e,n)||(da(e,n)&&r.isMergeableObject(t[n])?i[n]=ks(n,r)(e[n],t[n],r):i[n]=wr(t[n],r))}),i}function Bt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ts,r.isMergeableObject=r.isMergeableObject||ws,r.cloneUnlessOtherwiseSpecified=wr;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):Ds(e,t,r):wr(t,r)}Bt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Bt(i,n,r)},{})};var Ls=Bt,Rs=Ls;const js=Ps(Rs);var wn=function(e,t){return wn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},wn(e,t)};function Wi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ze=function(){return ze=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ze.apply(this,arguments)};function Us(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function mn(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function bn(e,t){var r=t&&t.cache?t.cache:Ws,i=t&&t.serializer?t.serializer:Vs,n=t&&t.strategy?t.strategy:Gs;return n(e,{cache:r,serializer:i})}function Fs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zs(e,t,r,i){var n=Fs(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function ma(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(n,o)),o}function ba(e,t,r,i,n){return r.bind(t,e,i,n)}function Gs(e,t){var r=e.length===1?zs:ma;return ba(e,this,r,t.cache.create(),t.serializer)}function $s(e,t){return ba(e,this,ma,t.cache.create(),t.serializer)}var Vs=function(){return JSON.stringify(arguments)},Qs=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ws={create:function(){return new Qs}},yn={variadic:$s},zi=function(){return zi=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},zi.apply(this,arguments)};var P;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(P||(P={}));var k;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(k||(k={}));var Ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ot||(Ot={}));function Bo(e){return e.type===k.literal}function Xs(e){return e.type===k.argument}function ya(e){return e.type===k.number}function va(e){return e.type===k.date}function ga(e){return e.type===k.time}function _a(e){return e.type===k.select}function Ca(e){return e.type===k.plural}function qs(e){return e.type===k.pound}function Sa(e){return e.type===k.tag}function Ea(e){return!!(e&&typeof e=="object"&&e.type===Ot.number)}function An(e){return!!(e&&typeof e=="object"&&e.type===Ot.dateTime)}var Pa=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zs=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Js(e){var t={};return e.replace(Zs,function(r){var i=r.length;switch(r[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var D=function(){return D=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},D.apply(this,arguments)};var Ys=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ks(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ys).filter(function(y){return y.length>0}),r=[],i=0,n=t;i<n.length;i++){var o=n[i],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],f=a.slice(1),c=0,p=f;c<p.length;c++){var b=p[c];if(b.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:f})}return r}function el(e){return e.replace(/^(.*?)-/,"")}var Oo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,wa=/^(@+)?(\+|#+)?[rs]?$/g,tl=/(\*)(0+)|(#+)(0+)|(0+)/g,Aa=/^(0+)$/;function Ho(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(wa,function(r,i,n){return typeof n!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):n==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),t}function xa(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function rl(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Aa.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Io(e){var t={},r=xa(e);return r||t}function il(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=el(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=D(D(D({},t),{notation:"scientific"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));continue;case"engineering":t=D(D(D({},t),{notation:"engineering"}),n.options.reduce(function(f,c){return D(D({},f),Io(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(tl,function(f,c,p,b,y,S){if(c)t.minimumIntegerDigits=p.length;else{if(b&&y)throw new Error("We currently do not support maximum integer digits");if(S)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Aa.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Oo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Oo,function(f,c,p,b,y,S){return p==="*"?t.minimumFractionDigits=c.length:b&&b[0]==="#"?t.maximumFractionDigits=b.length:y&&S?(t.minimumFractionDigits=y.length,t.maximumFractionDigits=y.length+S.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var o=n.options[0];o==="w"?t=D(D({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=D(D({},t),Ho(o)));continue}if(wa.test(n.stem)){t=D(D({},t),Ho(n.stem));continue}var a=xa(n.stem);a&&(t=D(D({},t),a));var u=rl(n.stem);u&&(t=D(D({},t),u))}return t}var Mi={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function nl(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(o&1),u=o<2?1:3+(o>>1),f="a",c=ol(t);for((c=="H"||c=="k")&&(u=0);u-- >0;)r+=f;for(;a-- >0;)r=c+r}else n==="J"?r+="H":r+=n}return r}function ol(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,i;r!=="root"&&(i=e.maximize().region);var n=Mi[i||""]||Mi[r||""]||Mi["".concat(r,"-001")]||Mi["001"];return n[0]}var vn,al=new RegExp("^".concat(Pa.source,"*")),sl=new RegExp("".concat(Pa.source,"*$"));function A(e,t){return{start:e,end:t}}var ll=!!String.prototype.startsWith&&"_a".startsWith("a",1),ul=!!String.fromCodePoint,cl=!!Object.fromEntries,fl=!!String.prototype.codePointAt,pl=!!String.prototype.trimStart,hl=!!String.prototype.trimEnd,dl=!!Number.isSafeInteger,ml=dl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xn=!0;try{var bl=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xn=((vn=bl.exec("a"))===null||vn===void 0?void 0:vn[0])==="a"}catch(e){xn=!1}var To=ll?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Bn=ul?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,o=0,a;n>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},ko=cl?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var o=n[i],a=o[0],u=o[1];r[a]=u}return r},Ba=fl?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),o;return n<55296||n>56319||r+1===i||(o=t.charCodeAt(r+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},yl=pl?function(t){return t.trimStart()}:function(t){return t.replace(al,"")},vl=hl?function(t){return t.trimEnd()}:function(t){return t.replace(sl,"")};function Oa(e,t){return new RegExp(e,t)}var On;if(xn){var Mo=Oa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");On=function(t,r){var i;Mo.lastIndex=r;var n=Mo.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else On=function(t,r){for(var i=[];;){var n=Ba(t,r);if(n===void 0||Ha(n)||Sl(n))break;i.push(n),r+=n>=65536?2:1}return Bn.apply(void 0,i)};var gl=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,i);if(a.err)return a;n.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),n.push({type:k.pound,location:A(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(P.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Hn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:k.literal,value:"<".concat(n,"/>"),location:A(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hn(this.char()))return this.error(P.INVALID_TAG,A(u,this.clonePosition()));var f=this.clonePosition(),c=this.parseTagName();return n!==c?this.error(P.UNMATCHED_CLOSING_TAG,A(f,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:k.tag,value:n,children:a,location:A(i,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,A(u,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,A(i,this.clonePosition()))}else return this.error(P.INVALID_TAG,A(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Cl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(r);if(o){n+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){n+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){n+=u;continue}break}var f=A(i,this.clonePosition());return{val:{type:k.literal,value:n,location:f},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!_l(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return Bn.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),Bn(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,A(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:n,location:A(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=On(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),a=A(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(u){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,A(a,f));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),b=this.parseSimpleArgStyleIfPossible();if(b.err)return b;var y=vl(b.val);if(y.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var S=A(p,this.clonePosition());c={style:y,styleLocation:S}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var _=A(n,this.clonePosition());if(c&&To(c==null?void 0:c.style,"::",0)){var H=yl(c.style.slice(2));if(u==="number"){var b=this.parseNumberSkeletonFromString(H,c.styleLocation);return b.err?b:{val:{type:k.number,value:i,location:_,style:b.val},err:null}}else{if(H.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,_);var B=H;this.locale&&(B=nl(H,this.locale));var y={type:Ot.dateTime,pattern:B,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Js(B):{}},R=u==="date"?k.date:k.time;return{val:{type:R,value:i,location:_,style:y},err:null}}}return{val:{type:u==="number"?k.number:u==="date"?k.date:k.time,value:i,location:_,style:(o=c==null?void 0:c.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var U=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,A(U,zi({},U)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),F=0;if(u!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var b=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(b.err)return b;this.bumpSpace(),I=this.parseIdentifierIfPossible(),F=b.val}var O=this.tryParsePluralOrSelectOptions(t,u,r,I);if(O.err)return O;var g=this.tryParseArgumentClose(n);if(g.err)return g;var T=A(n,this.clonePosition());return u==="select"?{val:{type:k.select,value:i,options:ko(O.val),location:T},err:null}:{val:{type:k.plural,value:i,options:ko(O.val),offset:F,pluralType:u==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,A(a,f))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var i=[];try{i=Ks(t)}catch(n){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ot.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?il(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,a=!1,u=[],f=new Set,c=n.value,p=n.location;;){if(c.length===0){var b=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;p=A(b,this.clonePosition()),c=this.message.slice(b.offset,this.offset())}else break}if(f.has(c))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,p);c==="other"&&(a=!0),this.bumpSpace();var S=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,i);if(g.err)return g;var _=this.tryParseArgumentClose(S);if(_.err)return _;u.push([c,{value:g.val,location:A(S,this.clonePosition())}]),f.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,p=o.location}return u.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,a=a*10+(u-48),this.bump();else break}var f=A(n,this.clonePosition());return o?(a*=i,ml(a)?{val:a,err:null}:this.error(r,f)):this.error(t,f)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ba(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(To(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),i=this.message.indexOf(t,r);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ha(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i!=null?i:null},e}();function Hn(e){return e>=97&&e<=122||e>=65&&e<=90}function _l(e){return Hn(e)||e===47}function Cl(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ha(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Sl(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function In(e){e.forEach(function(t){if(delete t.location,_a(t)||Ca(t))for(var r in t.options)delete t.options[r].location,In(t.options[r].value);else ya(t)&&Ea(t.style)||(va(t)||ga(t))&&An(t.style)?delete t.style.location:Sa(t)&&In(t.children)})}function El(e,t){t===void 0&&(t={}),t=zi({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new gl(e,t).parse();if(r.err){var i=SyntaxError(P[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||In(r.val),r.val}var Ht;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ht||(Ht={}));var Xi=function(e){Wi(t,e);function t(r,i,n){var o=e.call(this,r)||this;return o.code=i,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),No=function(e){Wi(t,e);function t(r,i,n,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ht.INVALID_VALUE,o)||this}return t}(Xi),Pl=function(e){Wi(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Ht.INVALID_VALUE,n)||this}return t}(Xi),wl=function(e){Wi(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),Ht.MISSING_VALUE,i)||this}return t}(Xi),ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ee||(ee={}));function Al(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==ee.literal||r.type!==ee.literal?t.push(r):i.value+=r.value,t},[])}function xl(e){return typeof e=="function"}function Li(e,t,r,i,n,o,a){if(e.length===1&&Bo(e[0]))return[{type:ee.literal,value:e[0].value}];for(var u=[],f=0,c=e;f<c.length;f++){var p=c[f];if(Bo(p)){u.push({type:ee.literal,value:p.value});continue}if(qs(p)){typeof o=="number"&&u.push({type:ee.literal,value:r.getNumberFormat(t).format(o)});continue}var b=p.value;if(!(n&&b in n))throw new wl(b,a);var y=n[b];if(Xs(p)){(!y||typeof y=="string"||typeof y=="number")&&(y=typeof y=="string"||typeof y=="number"?String(y):""),u.push({type:typeof y=="string"?ee.literal:ee.object,value:y});continue}if(va(p)){var S=typeof p.style=="string"?i.date[p.style]:An(p.style)?p.style.parsedOptions:void 0;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ga(p)){var S=typeof p.style=="string"?i.time[p.style]:An(p.style)?p.style.parsedOptions:i.time.medium;u.push({type:ee.literal,value:r.getDateTimeFormat(t,S).format(y)});continue}if(ya(p)){var S=typeof p.style=="string"?i.number[p.style]:Ea(p.style)?p.style.parsedOptions:void 0;S&&S.scale&&(y=y*(S.scale||1)),u.push({type:ee.literal,value:r.getNumberFormat(t,S).format(y)});continue}if(Sa(p)){var g=p.children,_=p.value,H=n[_];if(!xl(H))throw new Pl(_,"function",a);var B=Li(g,t,r,i,n,o),R=H(B.map(function(F){return F.value}));Array.isArray(R)||(R=[R]),u.push.apply(u,R.map(function(F){return{type:typeof F=="string"?ee.literal:ee.object,value:F}}))}if(_a(p)){var U=p.options[y]||p.options.other;if(!U)throw new No(p.value,y,Object.keys(p.options),a);u.push.apply(u,Li(U.value,t,r,i,n));continue}if(Ca(p)){var U=p.options["=".concat(y)];if(!U){if(!Intl.PluralRules)throw new Xi(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,Ht.MISSING_INTL_API,a);var I=r.getPluralRules(t,{type:p.pluralType}).select(y-(p.offset||0));U=p.options[I]||p.options.other}if(!U)throw new No(p.value,y,Object.keys(p.options),a);u.push.apply(u,Li(U.value,t,r,i,n,y-(p.offset||0)));continue}}return Al(u)}function Bl(e,t){return t?ze(ze(ze({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=ze(ze({},e[i]),t[i]||{}),r},{})):e}function Ol(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=Bl(e[i],t[i]),r},ze({},e)):e}function gn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Hl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.number),strategy:yn.variadic}),getDateTimeFormat:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.dateTime),strategy:yn.variadic}),getPluralRules:bn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,mn([void 0],r,!1)))},{cache:gn(e.pluralRules),strategy:yn.variadic})}}var Il=function(){function e(t,r,i,n){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(f){var c=o.formatToParts(f);if(c.length===1)return c[0].value;var p=c.reduce(function(b,y){return!b.length||y.type!==ee.literal||typeof b[b.length-1]!="string"?b.push(y.value):b[b.length-1]+=y.value,b},[]);return p.length<=1?p[0]||"":p},this.formatToParts=function(f){return Li(o.ast,o.locales,o.formatters,o.formats,f,void 0,o.message)},this.resolvedOptions=function(){var f;return{locale:((f=o.resolvedLocale)===null||f===void 0?void 0:f.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=n||{};a.formatters;var u=Us(a,["formatters"]);this.ast=e.__parse(t,ze(ze({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ol(e.formats,i),this.formatters=n&&n.formatters||Hl(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=El,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Tl(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let i=e;for(let n=0;n<r.length;n++)if(typeof i=="object"){if(n>0){const o=r.slice(n,r.length).join(".");if(o in i){i=i[o];break}}i=i[r[n]]}else i=void 0;return i}const et={},kl=(e,t,r)=>r&&(t in et||(et[t]={}),e in et[t]||(et[t][e]=r),r),Ia=(e,t)=>{if(t==null)return;if(t in et&&e in et[t])return et[t][e];const r=qi(t);for(let i=0;i<r.length;i++){const n=r[i],o=Nl(n,e);if(o)return kl(e,t,o)}};let Un;const xr=Qi({});function Ml(e){return Un[e]||null}function Ta(e){return e in Un}function Nl(e,t){if(!Ta(e))return null;const r=Ml(e);return Tl(r,t)}function Dl(e){if(e==null)return;const t=qi(e);for(let r=0;r<t.length;r++){const i=t[r];if(Ta(i))return i}}function ka(e,...t){delete et[e],xr.update(r=>(r[e]=js.all([r[e]||{},...t]),r))}Tt([xr],([e])=>Object.keys(e));xr.subscribe(e=>Un=e);const Ri={};function Ll(e,t){Ri[e].delete(t),Ri[e].size===0&&delete Ri[e]}function Ma(e){return Ri[e]}function Rl(e){return qi(e).map(t=>{const r=Ma(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Tn(e){return e==null?!1:qi(e).some(t=>{var r;return(r=Ma(t))==null?void 0:r.size})}function jl(e,t){return Promise.all(t.map(i=>(Ll(e,i),i().then(n=>n.default||n)))).then(i=>ka(e,...i))}const Sr={};function Na(e){if(!Tn(e))return e in Sr?Sr[e]:Promise.resolve();const t=Rl(e);return Sr[e]=Promise.all(t.map(([r,i])=>jl(r,i))).then(()=>{if(Tn(e))return Na(e);delete Sr[e]}),Sr[e]}const Ul={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Fl={fallbackLocale:null,loadingDelay:200,formats:Ul,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},zl=Fl;function It(){return zl}const _n=Qi(!1);var Gl=Object.defineProperty,$l=Object.defineProperties,Vl=Object.getOwnPropertyDescriptors,Do=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Wl=Object.prototype.propertyIsEnumerable,Lo=(e,t,r)=>t in e?Gl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xl=(e,t)=>{for(var r in t||(t={}))Ql.call(t,r)&&Lo(e,r,t[r]);if(Do)for(var r of Do(t))Wl.call(t,r)&&Lo(e,r,t[r]);return e},ql=(e,t)=>$l(e,Vl(t));let kn;const Gi=Qi(null);function Ro(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function qi(e,t=It().fallbackLocale){const r=Ro(e);return t?[...new Set([...r,...Ro(t)])]:r}function ot(){return kn!=null?kn:void 0}Gi.subscribe(e=>{kn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Zl=e=>{if(e&&Dl(e)&&Tn(e)){const{loadingDelay:t}=It();let r;return typeof window!="undefined"&&ot()!=null&&t?r=window.setTimeout(()=>_n.set(!0),t):_n.set(!0),Na(e).then(()=>{Gi.set(e)}).finally(()=>{clearTimeout(r),_n.set(!1)})}return Gi.set(e)},kt=ql(Xl({},Gi),{set:Zl}),Zi=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var Jl=Object.defineProperty,$i=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,jo=(e,t,r)=>t in e?Jl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fn=(e,t)=>{for(var r in t||(t={}))Da.call(t,r)&&jo(e,r,t[r]);if($i)for(var r of $i(t))La.call(t,r)&&jo(e,r,t[r]);return e},Mt=(e,t)=>{var r={};for(var i in e)Da.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&$i)for(var i of $i(e))t.indexOf(i)<0&&La.call(e,i)&&(r[i]=e[i]);return r};const Ar=(e,t)=>{const{formats:r}=It();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Yl=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=Ar("number",i)),new Intl.NumberFormat(r,n)}),Kl=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=Ar("date",i):Object.keys(n).length===0&&(n=Ar("date","short")),new Intl.DateTimeFormat(r,n)}),eu=Zi(e=>{var t=e,{locale:r,format:i}=t,n=Mt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=Ar("time",i):Object.keys(n).length===0&&(n=Ar("time","short")),new Intl.DateTimeFormat(r,n)}),tu=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return Yl(Fn({locale:r},i))},ru=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return Kl(Fn({locale:r},i))},iu=(e={})=>{var t=e,{locale:r=ot()}=t,i=Mt(t,["locale"]);return eu(Fn({locale:r},i))},nu=Zi((e,t=ot())=>new Il(e,t,It().formats,{ignoreTag:It().ignoreTag})),ou=(e,t={})=>{var r,i,n,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:f=ot(),default:c}=a;if(f==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let p=Ia(e,f);if(!p)p=(o=(n=(i=(r=It()).handleMissingMessage)==null?void 0:i.call(r,{locale:f,id:e,defaultValue:c}))!=null?n:c)!=null?o:e;else if(typeof p!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof p}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),p;if(!u)return p;let b=p;try{b=nu(p,f).format(u)}catch(y){y instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,y.message)}return b},au=(e,t)=>iu(t).format(e),su=(e,t)=>ru(t).format(e),lu=(e,t)=>tu(t).format(e),uu=(e,t=ot())=>Ia(e,t),cu=Tt([kt,xr],()=>ou);Tt([kt],()=>au);Tt([kt],()=>su);Tt([kt],()=>lu);Tt([kt,xr],()=>uu);function Uo(e,t){ka(e,t)}function fu(e){kt.set(e)}const Fo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userPrefixError:"Prefix value is required",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:","Mr.":"Mr.","Mrs.":"Mrs.",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddress2:"Address 2:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",smsConsent:"Enable SMS notifications",emailmarketingConsent:"Enable Emails",phonecallConsent:"Enable phone call notifications",postConsent:"Enable post notifications","3rdpartyConsent":"Enable third-party notifications",smsandemailConsent:"Enable SMS and email notifications",casinosmsConsent:"Enable SMS notifications",casinoemailConsent:"Enable Emails",casino3rdpartyConsent:"Enable phone call notifications",casinopushConsent:"Enable push notifications",sportssmsConsent:"Enable SMS notifications",sportsemailConsent:"Enable Emails",sports3rdpartyConsent:"Enable phone call notifications",sportspushConsent:"Enable push notifications",bingosmsConsent:"Enable SMS notifications",bingoemailConsent:"Enable Emails",bingo3rdpartyConsent:"Enable phone call notifications",bingopushConsent:"Enable push notifications",virtualsportssmsConsent:"Enable SMS notifications",virtualsportsemailConsent:"Enable Emails",virtualsports3rdpartyConsent:"Enable phone call notifications",virtualsportspushConsent:"Enable push notifications",consentCategoryHeaderCasino:"Casino Promotions",consentCategoryHeaderSports:"Sports Promotions",consentCategoryHeaderBingo:"Bingo Promotions",consentCategoryHeaderVirtualSports:"Virtual Sports Promotions",consentCategoryHeaderMarketing:"Marketing Promotions",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information",locationDetailsDescription:"If you wish to update any of your personal details, please contact Customer Services who may request proof of these changes before updating your account."},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:","Mr.":"先生","Mrs.":"太太",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddress2:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",smsConsent:"啟用短信通知",emailmarketingConsent:"啟用電子郵件",phonecallConsent:"啟用電話通知",postConsent:"啟用郵件通知","3rdpartyConsent":"啟用第三方通知",smsandemailConsent:"啟用短信和電子郵件通知",casinosmsConsent:"啟用短信通知",casinoemailConsent:"啟用電子郵件",casino3rdpartyConsent:"啟用電話通知",casinopushConsent:"啟用推送通知",sportssmsConsent:"啟用短信通知",sportsemailConsent:"啟用電子郵件",sports3rdpartyConsent:"啟用電話通知",sportspushConsent:"啟用推送通知",bingosmsConsent:"啟用短信通知",bingoemailConsent:"啟用電子郵件",bingo3rdpartyConsent:"啟用電話通知",bingopushConsent:"啟用推送通知",virtualsportssmsConsent:"啟用短信通知",virtualsportsemailConsent:"啟用電子郵件",virtualsports3rdpartyConsent:"啟用電話通知",virtualsportspushConsent:"啟用推送通知",consentCategoryHeaderCasino:"賭場促銷",consentCategoryHeaderSports:"體育促銷",consentCategoryHeaderBingo:"賓果促銷",consentCategoryHeaderVirtualSports:"虛擬體育促銷",consentCategoryHeaderMarketing:"營銷促銷",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤",locationDetailsDescription:"如果您希望更新任何個人資料,請聯絡客戶服務部門,他們可能會要求您提供這些變更的證明,然後才會更新您的帳戶。"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userPrefixError:"La valeur du préfixe est requise",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:","Mr.":"M.","Mrs.":"Mme",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddress2:"Adresse 2:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",smsConsent:"Activer les notifications par sms",emailmarketingConsent:"Activer les e-mails",phonecallConsent:"Activer les notifications d'appel téléphonique",postConsent:"Activer les notifications par courrier","3rdpartyConsent":"Activer les notifications de tiers",smsandemailConsent:"Activer les notifications par SMS et e-mail",casinosmsConsent:"Activer les notifications par SMS",casinoemailConsent:"Activer les e-mails",casino3rdpartyConsent:"Activer les notifications par appel téléphonique",casinopushConsent:"Activer les notifications push",sportssmsConsent:"Activer les notifications par SMS",sportsemailConsent:"Activer les e-mails",sports3rdpartyConsent:"Activer les notifications par appel téléphonique",sportspushConsent:"Activer les notifications push",bingosmsConsent:"Activer les notifications par SMS",bingoemailConsent:"Activer les e-mails",bingo3rdpartyConsent:"Activer les notifications par appel téléphonique",bingopushConsent:"Activer les notifications push",virtualsportssmsConsent:"Activer les notifications par SMS",virtualsportsemailConsent:"Activer les e-mails",virtualsports3rdpartyConsent:"Activer les notifications par appel téléphonique",virtualsportspushConsent:"Activer les notifications push",consentCategoryHeaderCasino:"Promotions de casino",consentCategoryHeaderSports:"Promotions sportives",consentCategoryHeaderBingo:"Promotions de bingo",consentCategoryHeaderVirtualSports:"Promotions de sports virtuels",consentCategoryHeaderMarketing:"Promotions marketing",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil",locationDetailsDescription:"Si vous souhaitez mettre à jour vos informations personnelles, veuillez contacter le service client qui pourrait vous demander une preuve de ces modifications avant de mettre à jour votre compte."},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userPrefixError:"Prefixul este necesar",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:","Mr.":"Dl.","Mrs.":"Dna.",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddress2:"Adresă 2:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",smsConsent:"Activează notificări prin SMS",emailmarketingConsent:"Activează notificări prin E-mail",phonecallConsent:"Activează notificările prin apel telefonic",postConsent:"Activează notificările prin poștă","3rdpartyConsent":"Activează notificările de la parte terță",smsandemailConsent:"Activează notificările prin SMS și e-mail",casinosmsConsent:"Activează notificările prin SMS",casinoemailConsent:"Activează e-mailurile",casino3rdpartyConsent:"Activează notificările prin apel telefonic",casinopushConsent:"Activează notificările push",sportssmsConsent:"Activează notificările prin SMS",sportsemailConsent:"Activează e-mailurile",sports3rdpartyConsent:"Activează notificările prin apel telefonic",sportspushConsent:"Activează notificările push",bingosmsConsent:"Activează notificările prin SMS",bingoemailConsent:"Activează e-mailurile",bingo3rdpartyConsent:"Activează notificările prin apel telefonic",bingopushConsent:"Activează notificările push",virtualsportssmsConsent:"Activează notificările prin SMS",virtualsportsemailConsent:"Activează e-mailurile",virtualsports3rdpartyConsent:"Activează notificările prin apel telefonic",virtualsportspushConsent:"Activează notificările push",consentCategoryHeaderCasino:"Promoții de cazino",consentCategoryHeaderSports:"Promoții sportive",consentCategoryHeaderBingo:"Promoții de bingo",consentCategoryHeaderVirtualSports:"Promoții pentru sporturi virtuale",consentCategoryHeaderMarketing:"Promoții de marketing",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului",locationDetailsDescription:"Dacă doriți să actualizați orice detalii personale, vă rugăm să contactați Serviciul Clienți, care poate solicita o dovadă a acestor modificări înainte de a vă actualiza contul."},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userPrefixError:"Önek değeri gereklidir",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:","Mr.":"Bay","Mrs.":"Bayan",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddress2:"Adres 2:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",smsConsent:"SMS bildirimlerini etkinleştir",emailmarketingConsent:"E-postaları Etkinleştir",phonecallConsent:"Telefon araması bildirimlerini etkinleştir",postConsent:"Posta bildirimlerini etkinleştir","3rdpartyConsent":"Üçüncü taraf bildirimlerini etkinleştir",casinosmsConsent:"SMS bildirimlerini etkinleştir",casinoemailConsent:"E-postaları etkinleştir",casino3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",casinopushConsent:"Anlık bildirimleri etkinleştir",sportssmsConsent:"SMS bildirimlerini etkinleştir",sportsemailConsent:"E-postaları etkinleştir",sports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",sportspushConsent:"Anlık bildirimleri etkinleştir",bingosmsConsent:"SMS bildirimlerini etkinleştir",bingoemailConsent:"E-postaları etkinleştir",bingo3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",bingopushConsent:"Anlık bildirimleri etkinleştir",virtualsportssmsConsent:"SMS bildirimlerini etkinleştir",virtualsportsemailConsent:"E-postaları etkinleştir",virtualsports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",virtualsportspushConsent:"Anlık bildirimleri etkinleştir",consentCategoryHeaderCasino:"Kumarhane Promosyonları",consentCategoryHeaderSports:"Spor Promosyonları",consentCategoryHeaderBingo:"Bingo Promosyonları",consentCategoryHeaderVirtualSports:"Sanal Sporlar Promosyonları",consentCategoryHeaderMarketing:"Pazarlama Promosyonları",smsandemailConsent:"SMS ve e-posta bildirimlerini etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu",locationDetailsDescription:"Kişisel bilgilerinizi güncellemek istiyorsanız, hesabınızı güncellemeden önce bu değişikliklerin kanıtını isteyebilecek Müşteri Hizmetleri ile iletişime geçin."},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userPrefixError:"Se requiere el valor del prefijo",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddress2:"Dirección 2:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",smsConsent:"Habilitar notificaciones SMS",emailmarketingConsent:"Habilitar Emails",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta."},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userPrefixError:"O valor do prefixo é obrigatório",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddress2:"Endereço 2:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",smsConsent:"Ativar notificações por SMS",emailmarketingConsent:"Ativar notificações por e-mail",phonecallConsent:"Ativar notificações de chamadas telefónicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta."},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userPrefixError:"Vrijednost prefiksa je potrebna",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:","Mr.":"Gosp.","Mrs.":"Gđa.",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddress2:"Adresa 2:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",smsConsent:"Omogućite SMS obavijesti",emailmarketingConsent:"Omogući e-mail",phonecallConsent:"Omogući obavijesti o telefonskim pozivima",postConsent:"Omogući obavijesti o pošti","3rdpartyConsent":"Omogući obavijesti od trećih strana",smsandemailConsent:"Omogući obavijesti putem SMS-a i e-pošte",casinosmsConsent:"Omogući SMS obavijesti",casinoemailConsent:"Omogući e-poštu",casino3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",casinopushConsent:"Omogući push obavijesti",sportssmsConsent:"Omogući SMS obavijesti",sportsemailConsent:"Omogući e-poštu",sports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",sportspushConsent:"Omogući push obavijesti",bingosmsConsent:"Omogući SMS obavijesti",bingoemailConsent:"Omogući e-poštu",bingo3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",bingopushConsent:"Omogući push obavijesti",virtualsportssmsConsent:"Omogući SMS obavijesti",virtualsportsemailConsent:"Omogući e-poštu",virtualsports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportspushConsent:"Omogući push obavijesti",consentCategoryHeaderCasino:"Promocije kasina",consentCategoryHeaderSports:"Sportske promocije",consentCategoryHeaderBingo:"Bingo promocije",consentCategoryHeaderVirtualSports:"Promocije virtualnih sportova",consentCategoryHeaderMarketing:"Marketinške promocije",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila",locationDetailsDescription:"Ako želite ažurirati bilo koje svoje osobne podatke, obratite se Službi za korisnike koja može zatražiti dokaz o tim promjenama prije ažuriranja vašeg računa."},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userPrefixError:"O valor do prefixo é obrigatório",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddress2:"Endereço 2:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",smsConsent:"Habilitar notificações por SMS",emailmarketingConsent:"Ativar e-mail",phonecallConsent:"Ativar notificações de chamadas telefônicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta."},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userPrefixError:"Se requiere el valor del prefijo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:","Mr.":"Sr.","Mrs.":"Sra.",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddress2:"Dirección 2:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",smsConsent:"Habilitar notificaciones de SMS",emailmarketingConsent:"Habilitar correo electrónico",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta."}};/*! *****************************************************************************
|
|
4
4
|
Copyright (c) Microsoft Corporation.
|
|
@@ -27,7 +27,7 @@ var Ke = (e, t, r) => new Promise((i, n) => {
|
|
|
27
27
|
}, u = (f) => f.done ? i(f.value) : Promise.resolve(f.value).then(o, a);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function Se() {
|
|
32
32
|
}
|
|
33
33
|
function ca(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfoCu-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfoCu-BhM5cGsn.cjs")).then(({default:t})=>{!customElements.get("player-profile-info-cu")&&customElements.define("player-profile-info-cu",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerProfileInfoCu-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerProfileInfoCu-DQqlLigh.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-profile-info-cu") && customElements.define("player-profile-info-cu", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BL4789dS.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-
|
|
1
|
+
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-9K-aI7zC.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-ed169f8f-CpiCXJrP.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BreIU6e5.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};f().then(t=>u(exports,null,function*(){return yield p.globalScripts(),c.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as e, p as o } from "./index-b2193545-
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-R7ZoV-kY.js";
|
|
2
2
|
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
import { U as g } from "./ui-skeleton-
|
|
3
|
+
import { U as g } from "./ui-skeleton-ed169f8f-CVY4B-CP.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, t = {};
|
|
6
6
|
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as t, H as
|
|
2
|
-
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-R7ZoV-kY.js";
|
|
2
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
|
-
|
|
4
|
+
n(this, e), this.stylingValue = {
|
|
5
5
|
width: this.handleStylingProps(this.width),
|
|
6
6
|
height: this.handleStylingProps(this.height),
|
|
7
7
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -46,22 +46,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
renderLogo() {
|
|
49
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
49
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
50
50
|
}
|
|
51
51
|
renderImage() {
|
|
52
|
-
return t("div", { class: "
|
|
52
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
53
53
|
}
|
|
54
54
|
renderTitle() {
|
|
55
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
55
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
56
56
|
}
|
|
57
57
|
renderText() {
|
|
58
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
59
59
|
}
|
|
60
60
|
renderRectangle() {
|
|
61
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
61
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
62
62
|
}
|
|
63
63
|
renderCircle() {
|
|
64
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
64
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
let e = "";
|
|
@@ -141,7 +141,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
141
141
|
default:
|
|
142
142
|
e = "";
|
|
143
143
|
}
|
|
144
|
-
return t(
|
|
144
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
145
145
|
}
|
|
146
146
|
static get watchers() {
|
|
147
147
|
return {
|
|
@@ -149,7 +149,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
a.style = l;
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
a as U
|
|
155
155
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";const t=require("./index-b2193545-9K-aI7zC.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
+
}
|
|
11
|
+
`;break;case"image":e=`
|
|
12
|
+
:host {
|
|
13
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
+
}
|
|
21
|
+
`;break;case"title":e=`
|
|
22
|
+
:host {
|
|
23
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
+
}
|
|
31
|
+
`;break;case"text":e=`
|
|
32
|
+
:host {
|
|
33
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
+
}
|
|
41
|
+
`;break;case"rectangle":e=`
|
|
42
|
+
:host {
|
|
43
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
+
}
|
|
51
|
+
`;break;case"circle":e=`
|
|
52
|
+
:host {
|
|
53
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
+
}
|
|
55
|
+
`;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r, h as t, H as
|
|
2
|
-
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
1
|
+
import { r as n, h as t, H as r } from "./index-b2193545-DsMHU6jb.js";
|
|
2
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
|
-
|
|
4
|
+
n(this, e), this.stylingValue = {
|
|
5
5
|
width: this.handleStylingProps(this.width),
|
|
6
6
|
height: this.handleStylingProps(this.height),
|
|
7
7
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -46,22 +46,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
renderLogo() {
|
|
49
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
49
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
50
50
|
}
|
|
51
51
|
renderImage() {
|
|
52
|
-
return t("div", { class: "
|
|
52
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
53
53
|
}
|
|
54
54
|
renderTitle() {
|
|
55
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
55
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
56
56
|
}
|
|
57
57
|
renderText() {
|
|
58
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
59
59
|
}
|
|
60
60
|
renderRectangle() {
|
|
61
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
61
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
62
62
|
}
|
|
63
63
|
renderCircle() {
|
|
64
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
64
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
let e = "";
|
|
@@ -141,7 +141,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
141
141
|
default:
|
|
142
142
|
e = "";
|
|
143
143
|
}
|
|
144
|
-
return t(
|
|
144
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
145
145
|
}
|
|
146
146
|
static get watchers() {
|
|
147
147
|
return {
|
|
@@ -149,7 +149,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
149
149
|
};
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
|
-
|
|
152
|
+
a.style = l;
|
|
153
153
|
export {
|
|
154
|
-
|
|
154
|
+
a as U
|
|
155
155
|
};
|
|
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as p, p as l } from "./index-b2193545-
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-DsMHU6jb.js";
|
|
18
18
|
import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
import { U as k } from "./ui-skeleton-
|
|
19
|
+
import { U as k } from "./ui-skeleton-ed169f8f-D3TjbVKy.js";
|
|
20
20
|
var c = () => {
|
|
21
21
|
const t = import.meta.url, e = {};
|
|
22
22
|
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-YW9b062G.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
}
|
|
11
|
-
`;break;case"image":e=`
|
|
12
|
-
:host {
|
|
13
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
-
}
|
|
21
|
-
`;break;case"title":e=`
|
|
22
|
-
:host {
|
|
23
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
-
}
|
|
31
|
-
`;break;case"text":e=`
|
|
32
|
-
:host {
|
|
33
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
-
}
|
|
41
|
-
`;break;case"rectangle":e=`
|
|
42
|
-
:host {
|
|
43
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
-
}
|
|
51
|
-
`;break;case"circle":e=`
|
|
52
|
-
:host {
|
|
53
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
-
}
|
|
55
|
-
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|