@everymatrix/casino-tournaments-customize-page-controller 1.77.13 → 1.77.15
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/{CasinoTournamentsCustomizePageController-CxgMNusn.cjs → CasinoTournamentsCustomizePageController-BUW5PvRO.cjs} +1 -1
- package/components/{CasinoTournamentsCustomizePageController-14Xs8stD.js → CasinoTournamentsCustomizePageController-DEZbQNHQ.js} +1 -1
- package/components/{CasinoTournamentsCustomizePageController-CdCnqnnB.js → CasinoTournamentsCustomizePageController-dp8yKOyB.js} +1 -1
- package/es2015/casino-tournaments-customize-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-customize-page-controller.js +1 -1
- package/esnext/casino-tournaments-customize-page-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-256b7d4e-DrOXnq3q.js → index-97d17652--F7PvMq9.js} +101 -102
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-256b7d4e-B27ydHcs.js → index-97d17652-CCFHkzJw.js} +104 -105
- package/stencil/ui-image-Bk8cIvcH.cjs +1 -0
- package/stencil/ui-image-CXqPvnQ2.js +7 -0
- package/stencil/ui-image-DgbODkuX.js +25 -0
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
- package/stencil/{ui-image_2-D4c_LX5r.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-C-3C7pxb.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-hEBXfomA.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/index-256b7d4e-yFNBIexD.cjs +0 -1
- package/stencil/ui-image-CtMIw0bP.cjs +0 -1
- package/stencil/ui-image-DPajcLJ9.js +0 -7
- package/stencil/ui-image-TlQfec4K.js +0 -25
- package/stencil/ui-image-ae115205-Bmmit6PH.js +0 -81
- package/stencil/ui-image-ae115205-C9w0DS-q.js +0 -81
- package/stencil/ui-image-ae115205-CcwMMc09.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var t0=Object.defineProperty,r0=Object.defineProperties;var n0=Object.getOwnPropertyDescriptors;var Ea=Object.getOwnPropertySymbols;var i0=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable;var li=(t,e,r)=>e in t?t0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ar=(t,e)=>{for(var r in e||(e={}))i0.call(e,r)&&li(t,r,e[r]);if(Ea)for(var r of Ea(e))a0.call(e,r)&&li(t,r,e[r]);return t},Ma=(t,e)=>r0(t,n0(e));var yt=(t,e,r)=>(li(t,typeof e!="symbol"?e+"":e,r),r);var Yr=(t,e,r)=>new Promise((n,i)=>{var a=l=>{try{o(r.next(l))}catch(u){i(u)}},s=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-B0BB970e.cjs");require("../stencil/ui-image-CtMIw0bP.cjs");function J(){}function Jt(t,e){for(const r in e)t[r]=e[r];return t}function _o(t){return t()}function Ra(){return Object.create(null)}function Ot(t){t.forEach(_o)}function $t(t){return typeof t=="function"}function je(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let mn;function Ye(t,e){return t===e?!0:(mn||(mn=document.createElement("a")),mn.href=e,t===mn.href)}function s0(t){return Object.keys(t).length===0}function yo(t,...e){if(t==null){for(const n of e)n(void 0);return J}const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function vt(t,e,r){t.$$.on_destroy.push(yo(e,r))}function o0(t,e,r,n){if(t){const i=Co(t,e,r,n);return t[0](i)}}function Co(t,e,r,n){return t[1]&&n?Jt(r.ctx.slice(),t[1](n(e))):r.ctx}function l0(t,e,r,n){if(t[2]&&n){const i=t[2](n(r));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(e.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=e.dirty[o]|i[o];return a}return e.dirty|i}return e.dirty}function u0(t,e,r,n,i,a){if(i){const s=Co(e,r,n,a);t.p(s,i)}}function c0(t){if(t.ctx.length>32){const e=[],r=t.ctx.length/32;for(let n=0;n<r;n++)e[n]=-1;return e}return-1}function Aa(t){const e={};for(const r in t)r[0]!=="$"&&(e[r]=t[r]);return e}function er(t){return t&&$t(t.destroy)?t.destroy:J}function m(t,e){t.appendChild(e)}function _r(t,e,r){const n=f0(t);if(!n.getElementById(e)){const i=b("style");i.id=e,i.textContent=r,d0(n,i)}}function f0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function d0(t,e){return m(t.head||t,e),e.sheet}function C(t,e,r){t.insertBefore(e,r||null)}function y(t){t.parentNode&&t.parentNode.removeChild(t)}function ft(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function b(t){return document.createElement(t)}function $e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function O(t){return document.createTextNode(t)}function H(){return O(" ")}function de(){return O("")}function tt(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function c(t,e,r){r==null?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function h0(t){return Array.from(t.childNodes)}function W(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e,r,n){r==null?t.style.removeProperty(e):t.style.setProperty(e,r,"")}function pn(t,e,r){t.classList.toggle(e,!!r)}function m0(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Mr(t,e){return new t(e)}let en;function Qr(t){en=t}function vo(){if(!en)throw new Error("Function called outside component initialization");return en}function tr(t){vo().$$.on_mount.push(t)}const kr=[],tn=[];let xr=[];const Fa=[],p0=Promise.resolve();let vi=!1;function g0(){vi||(vi=!0,p0.then(x))}function wi(t){xr.push(t)}const ui=new Set;let vr=0;function x(){if(vr!==0)return;const t=en;do{try{for(;vr<kr.length;){const e=kr[vr];vr++,Qr(e),b0(e.$$)}}catch(e){throw kr.length=0,vr=0,e}for(Qr(null),kr.length=0,vr=0;tn.length;)tn.pop()();for(let e=0;e<xr.length;e+=1){const r=xr[e];ui.has(r)||(ui.add(r),r())}xr.length=0}while(kr.length);for(;Fa.length;)Fa.pop()();vi=!1,ui.clear(),Qr(t)}function b0(t){if(t.fragment!==null){t.update(),Ot(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(wi)}}function _0(t){const e=[],r=[];xr.forEach(n=>t.indexOf(n)===-1?e.push(n):r.push(n)),r.forEach(n=>n()),xr=e}const Cn=new Set;let pr;function lt(){pr={r:0,c:[],p:pr}}function ut(){pr.r||Ot(pr.c),pr=pr.p}function oe(t,e){t&&t.i&&(Cn.delete(t),t.i(e))}function _e(t,e,r,n){if(t&&t.o){if(Cn.has(t))return;Cn.add(t),pr.c.push(()=>{Cn.delete(t),n&&(r&&t.d(1),n())}),t.o(e)}else n&&n()}function Le(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Rr(t,e){const r={},n={},i={$$scope:1};let a=t.length;for(;a--;){const s=t[a],o=e[a];if(o){for(const l in s)l in o||(n[l]=1);for(const l in o)i[l]||(r[l]=o[l],i[l]=1);t[a]=o}else for(const l in s)i[l]=1}for(const s in n)s in r||(r[s]=void 0);return r}function Ar(t){return typeof t=="object"&&t!==null?t:{}}function cr(t){t&&t.c()}function Zt(t,e,r){const{fragment:n,after_update:i}=t.$$;n&&n.m(e,r),wi(()=>{const a=t.$$.on_mount.map(_o).filter($t);t.$$.on_destroy?t.$$.on_destroy.push(...a):Ot(a),t.$$.on_mount=[]}),i.forEach(wi)}function Xt(t,e){const r=t.$$;r.fragment!==null&&(_0(r.after_update),Ot(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function y0(t,e){t.$$.dirty[0]===-1&&(kr.push(t),g0(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function We(t,e,r,n,i,a,s=null,o=[-1]){const l=en;Qr(t);const u=t.$$={fragment:null,ctx:[],props:a,update:J,not_equal:i,bound:Ra(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Ra(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(t,e.props||{},(d,h,...p)=>{const _=p.length?p[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=_)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](_),f&&y0(t,d)),h}):[],u.update(),f=!0,Ot(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const d=h0(e.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();e.intro&&oe(t.$$.fragment),Zt(t,e.target,e.anchor),x()}Qr(l)}let wo;typeof HTMLElement=="function"&&(wo=class extends HTMLElement{constructor(e,r,n){super();yt(this,"$$ctor");yt(this,"$$s");yt(this,"$$c");yt(this,"$$cn",!1);yt(this,"$$d",{});yt(this,"$$r",!1);yt(this,"$$p_d",{});yt(this,"$$l",{});yt(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const i=this.$$c.$on(e,r);this.$$l_u.set(r,i)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Yr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(a){return()=>{let s;return{c:function(){s=b("slot"),a!=="default"&&c(s,"name",a)},m:function(u,f){C(u,s,f)},d:function(u){u&&y(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=m0(this);for(const a of this.$$s)a in n&&(r[a]=[e(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=vn(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ma(ar({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=vn(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(e,r,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=vn(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function vn(t,e,r,n){var a;const i=(a=r[t])==null?void 0:a.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ve(t,e,r,n,i,a){let s=class extends wo{constructor(){super(t,r,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=vn(o,l,e),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),t.element=s,s}class qe{constructor(){yt(this,"$$");yt(this,"$$set")}$destroy(){Xt(this,1),this.$destroy=J}$on(e,r){if(!$t(r))return J;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!s0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const C0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(C0);const wr=[];function v0(t,e){return{subscribe:Un(t,e).subscribe}}function Un(t,e=J){let r;const n=new Set;function i(o){if(je(t,o)&&(t=o,r)){const l=!wr.length;for(const u of n)u[1](),wr.push(u,t);if(l){for(let u=0;u<wr.length;u+=2)wr[u][0](wr[u+1]);wr.length=0}}}function a(o){i(o(t))}function s(o,l=J){const u=[o,l];return n.add(u),n.size===1&&(r=e(i,a)||J),o(t),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Nr(t,e,r){const n=!Array.isArray(t),i=n?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=e.length<2;return v0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=J;const h=()=>{if(f)return;d();const _=e(n?u[0]:u,s,o);a?s(_):d=$t(_)?_:J},p=i.map((_,g)=>yo(_,P=>{u[g]=P,f&=~(1<<g),l&&h()},()=>{f|=1<<g}));return l=!0,h(),function(){Ot(p),d(),l=!1}})}var w0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function T0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k0=function(e){return S0(e)&&!P0(e)};function S0(t){return!!t&&typeof t=="object"}function P0(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||L0(t)}var x0=typeof Symbol=="function"&&Symbol.for,D0=x0?Symbol.for("react.element"):60103;function L0(t){return t.$$typeof===D0}function E0(t){return Array.isArray(t)?[]:{}}function rn(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Fr(E0(t),t,e):t}function M0(t,e,r){return t.concat(e).map(function(n){return rn(n,r)})}function R0(t,e){if(!e.customMerge)return Fr;var r=e.customMerge(t);return typeof r=="function"?r:Fr}function A0(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Oa(t){return Object.keys(t).concat(A0(t))}function To(t,e){try{return e in t}catch(r){return!1}}function F0(t,e){return To(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function O0(t,e,r){var n={};return r.isMergeableObject(t)&&Oa(t).forEach(function(i){n[i]=rn(t[i],r)}),Oa(e).forEach(function(i){F0(t,i)||(To(t,i)&&r.isMergeableObject(e[i])?n[i]=R0(i,r)(t[i],e[i],r):n[i]=rn(e[i],r))}),n}function Fr(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||M0,r.isMergeableObject=r.isMergeableObject||k0,r.cloneUnlessOtherwiseSpecified=rn;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):O0(t,e,r):rn(e,r)}Fr.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Fr(n,i,r)},{})};var z0=Fr,B0=z0;const N0=T0(B0);var Ti=function(t,e){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ti(t,e)};function In(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ti(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Mt=function(){return Mt=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Mt.apply(this,arguments)};function H0(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function ci(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function fi(t,e){var r=e&&e.cache?e.cache:V0,n=e&&e.serializer?e.serializer:Y0,i=e&&e.strategy?e.strategy:j0;return i(t,{cache:r,serializer:n})}function U0(t){return t==null||typeof t=="number"||typeof t=="boolean"}function I0(t,e,r,n){var i=U0(n)?n:r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.call(this,n),e.set(i,a)),a}function ko(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.apply(this,n),e.set(i,a)),a}function So(t,e,r,n,i){return r.bind(e,t,n,i)}function j0(t,e){var r=t.length===1?I0:ko;return So(t,this,r,e.cache.create(),e.serializer)}function G0(t,e){return So(t,this,ko,e.cache.create(),e.serializer)}var Y0=function(){return JSON.stringify(arguments)},W0=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){this.cache[e]=r},t}(),V0={create:function(){return new W0}},di={variadic:G0},Dn=function(){return Dn=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Dn.apply(this,arguments)};var me;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(me||(me={}));var ze;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(ze||(ze={}));var Or;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Or||(Or={}));function za(t){return t.type===ze.literal}function q0(t){return t.type===ze.argument}function Po(t){return t.type===ze.number}function xo(t){return t.type===ze.date}function Do(t){return t.type===ze.time}function Lo(t){return t.type===ze.select}function Eo(t){return t.type===ze.plural}function J0(t){return t.type===ze.pound}function Mo(t){return t.type===ze.tag}function Ro(t){return!!(t&&typeof t=="object"&&t.type===Or.number)}function ki(t){return!!(t&&typeof t=="object"&&t.type===Or.dateTime)}var Ao=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Z0=/(?:[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 X0(t){var e={};return t.replace(Z0,function(r){var n=r.length;switch(r[0]){case"G":e.era=n===4?"long":n===5?"narrow":"short";break;case"y":e.year=n===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":e.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][n-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][n-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][n-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][n-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":e.minute=["numeric","2-digit"][n-1];break;case"s":e.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=n<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""}),e}var Ue=function(){return Ue=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ue.apply(this,arguments)};var Q0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function K0(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Q0).filter(function(h){return h.length>0}),r=[],n=0,i=e;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,f=l;u<f.length;u++){var d=f[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function $0(t){return t.replace(/^(.*?)-/,"")}var Ba=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Fo=/^(@+)?(\+|#+)?[rs]?$/g,eu=/(\*)(0+)|(#+)(0+)|(0+)/g,Oo=/^(0+)$/;function Na(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(Fo,function(r,n,i){return typeof i!="string"?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):i==="+"?e.minimumSignificantDigits=n.length:n[0]==="#"?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),e}function zo(t){switch(t){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 tu(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if(r==="+!"?(e.signDisplay="always",t=t.slice(2)):r==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!Oo.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ha(t){var e={},r=zo(t);return r||e}function ru(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=$0(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Ue(Ue(Ue({},e),{notation:"scientific"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"engineering":e=Ue(Ue(Ue({},e),{notation:"engineering"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(eu,function(l,u,f,d,h,p){if(u)e.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oo.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(Ba.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ba,function(l,u,f,d,h,p){return f==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?e=Ue(Ue({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=Ue(Ue({},e),Na(a)));continue}if(Fo.test(i.stem)){e=Ue(Ue({},e),Na(i.stem));continue}var s=zo(i.stem);s&&(e=Ue(Ue({},e),s));var o=tu(i.stem);o&&(e=Ue(Ue({},e),o))}return e}var gn={"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 nu(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if(i==="j"){for(var a=0;n+1<t.length&&t.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=iu(e);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function iu(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=t.language,n;r!=="root"&&(n=t.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var hi,au=new RegExp("^".concat(Ao.source,"*")),su=new RegExp("".concat(Ao.source,"*$"));function pe(t,e){return{start:t,end:e}}var ou=!!String.prototype.startsWith&&"_a".startsWith("a",1),lu=!!String.fromCodePoint,uu=!!Object.fromEntries,cu=!!String.prototype.codePointAt,fu=!!String.prototype.trimStart,du=!!String.prototype.trimEnd,hu=!!Number.isSafeInteger,mu=hu?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Si=!0;try{var pu=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((hi=pu.exec("a"))===null||hi===void 0?void 0:hi[0])==="a"}catch(t){Si=!1}var Ua=ou?function(e,r,n){return e.startsWith(r,n)}:function(e,r,n){return e.slice(n,n+r.length)===r},Pi=lu?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,a=0,s;i>a;){if(s=e[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Ia=uu?Object.fromEntries:function(e){for(var r={},n=0,i=e;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},Bo=cu?function(e,r){return e.codePointAt(r)}:function(e,r){var n=e.length;if(!(r<0||r>=n)){var i=e.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},gu=fu?function(e){return e.trimStart()}:function(e){return e.replace(au,"")},bu=du?function(e){return e.trimEnd()}:function(e){return e.replace(su,"")};function No(t,e){return new RegExp(t,e)}var xi;if(Si){var ja=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(e,r){var n;ja.lastIndex=r;var i=ja.exec(e);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(e,r){for(var n=[];;){var i=Bo(e,r);if(i===void 0||Ho(i)||vu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var _u=function(){function t(e,r){r===void 0&&(r={}),this.message=e,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 t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(e,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&e>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ze.pound,location:pe(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(me.UNMATCHED_CLOSING_TAG,pe(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(e,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ze.literal,value:"<".concat(i,"/>"),location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Di(this.char()))return this.error(me.INVALID_TAG,pe(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(me.UNMATCHED_CLOSING_TAG,pe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ze.tag,value:i,children:s,location:pe(n,this.clonePosition())},err:null}:this.error(me.INVALID_TAG,pe(o,this.clonePosition())))}else return this.error(me.UNCLOSED_TAG,pe(n,this.clonePosition()))}else return this.error(me.INVALID_TAG,pe(n,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Cu(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(e,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=pe(n,this.clonePosition());return{val:{type:ze.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!yu(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Pi.apply(void 0,r)},t.prototype.tryParseUnquoted=function(e,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&e>0?null:(this.bump(),Pi(n))},t.prototype.parseArgument=function(e,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(me.EMPTY_ARGUMENT,pe(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ze.argument,value:i,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition())):this.parseArgumentOptions(e,r,i,n);default:return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=pe(e,a);return{value:n,location:s}},t.prototype.parseArgumentOptions=function(e,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(me.EXPECT_ARGUMENT_TYPE,pe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=bu(d.val);if(h.length===0)return this.error(me.EXPECT_ARGUMENT_STYLE,pe(this.clonePosition(),this.clonePosition()));var p=pe(f,this.clonePosition());u={style:h,styleLocation:p}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var g=pe(i,this.clonePosition());if(u&&Ua(u==null?void 0:u.style,"::",0)){var P=gu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(P,u.styleLocation);return d.err?d:{val:{type:ze.number,value:n,location:g,style:d.val},err:null}}else{if(P.length===0)return this.error(me.EXPECT_DATE_TIME_SKELETON,g);var L=P;this.locale&&(L=nu(P,this.locale));var h={type:Or.dateTime,pattern:L,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?X0(L):{}},E=o==="date"?ze.date:ze.time;return{val:{type:E,value:n,location:g,style:h},err:null}}}return{val:{type:o==="number"?ze.number:o==="date"?ze.date:ze.time,value:n,location:g,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(me.EXPECT_SELECT_ARGUMENT_OPTIONS,pe(v,Dn({},v)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),Y=0;if(o!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),w=this.parseIdentifierIfPossible(),Y=d.val}var D=this.tryParsePluralOrSelectOptions(e,o,r,w);if(D.err)return D;var _=this.tryParseArgumentClose(i);if(_.err)return _;var F=pe(i,this.clonePosition());return o==="select"?{val:{type:ze.select,value:n,options:Ia(D.val),location:F},err:null}:{val:{type:ze.plural,value:n,options:Ia(D.val),offset:Y,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(me.INVALID_ARGUMENT_TYPE,pe(s,l))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(me.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pe(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=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}},t.prototype.parseNumberSkeletonFromString=function(e,r){var n=[];try{n=K0(e)}catch(i){return this.error(me.INVALID_NUMBER_SKELETON,r)}return{val:{type:Or.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ru(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,r,n,i){for(var a,s=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR,me.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=pe(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?me.DUPLICATE_SELECT_ARGUMENT_SELECTOR:me.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:me.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,pe(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,r,n);if(_.err)return _;var g=this.tryParseArgumentClose(p);if(g.err)return g;o.push([u,{value:_.val,location:pe(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR:me.EXPECT_PLURAL_ARGUMENT_SELECTOR,pe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(me.MISSING_OTHER_CLAUSE,pe(this.clonePosition(),this.clonePosition())):{val:o,err:null}},t.prototype.tryParseDecimalInteger=function(e,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=pe(i,this.clonePosition());return a?(s*=n,mu(s)?{val:s,err:null}:this.error(r,l)):this.error(e,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=Bo(this.message,e);if(r===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Ua(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var r=this.offset(),n=this.message.indexOf(e,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(r>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ho(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(e>=65536?2:1));return n!=null?n:null},t}();function Di(t){return t>=97&&t<=122||t>=65&&t<=90}function yu(t){return Di(t)||t===47}function Cu(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Ho(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function vu(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Li(t){t.forEach(function(e){if(delete e.location,Lo(e)||Eo(e))for(var r in e.options)delete e.options[r].location,Li(e.options[r].value);else Po(e)&&Ro(e.style)||(xo(e)||Do(e))&&ki(e.style)?delete e.style.location:Mo(e)&&Li(e.children)})}function wu(t,e){e===void 0&&(e={}),e=Dn({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new _u(t,e).parse();if(r.err){var n=SyntaxError(me[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return e!=null&&e.captureLocation||Li(r.val),r.val}var zr;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(zr||(zr={}));var jn=function(t){In(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Ga=function(t){In(e,t);function e(r,n,i,a){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),zr.INVALID_VALUE,a)||this}return e}(jn),Tu=function(t){In(e,t);function e(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),zr.INVALID_VALUE,i)||this}return e}(jn),ku=function(t){In(e,t);function e(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),zr.MISSING_VALUE,n)||this}return e}(jn),ot;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ot||(ot={}));function Su(t){return t.length<2?t:t.reduce(function(e,r){var n=e[e.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?e.push(r):n.value+=r.value,e},[])}function Pu(t){return typeof t=="function"}function wn(t,e,r,n,i,a,s){if(t.length===1&&za(t[0]))return[{type:ot.literal,value:t[0].value}];for(var o=[],l=0,u=t;l<u.length;l++){var f=u[l];if(za(f)){o.push({type:ot.literal,value:f.value});continue}if(J0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(e).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new ku(d,s);var h=i[d];if(q0(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),o.push({type:typeof h=="string"?ot.literal:ot.object,value:h});continue}if(xo(f)){var p=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Do(f)){var p=typeof f.style=="string"?n.time[f.style]:ki(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Po(f)){var p=typeof f.style=="string"?n.number[f.style]:Ro(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(e,p).format(h)});continue}if(Mo(f)){var _=f.children,g=f.value,P=i[g];if(!Pu(P))throw new Tu(g,"function",s);var L=wn(_,e,r,n,i,a),E=P(L.map(function(Y){return Y.value}));Array.isArray(E)||(E=[E]),o.push.apply(o,E.map(function(Y){return{type:typeof Y=="string"?ot.literal:ot.object,value:Y}}))}if(Lo(f)){var v=f.options[h]||f.options.other;if(!v)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,wn(v.value,e,r,n,i));continue}if(Eo(f)){var v=f.options["=".concat(h)];if(!v){if(!Intl.PluralRules)throw new jn(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var t0=Object.defineProperty,r0=Object.defineProperties;var n0=Object.getOwnPropertyDescriptors;var Ea=Object.getOwnPropertySymbols;var i0=Object.prototype.hasOwnProperty,a0=Object.prototype.propertyIsEnumerable;var li=(t,e,r)=>e in t?t0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ar=(t,e)=>{for(var r in e||(e={}))i0.call(e,r)&&li(t,r,e[r]);if(Ea)for(var r of Ea(e))a0.call(e,r)&&li(t,r,e[r]);return t},Ma=(t,e)=>r0(t,n0(e));var yt=(t,e,r)=>(li(t,typeof e!="symbol"?e+"":e,r),r);var Yr=(t,e,r)=>new Promise((n,i)=>{var a=l=>{try{o(r.next(l))}catch(u){i(u)}},s=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,s);o((r=r.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-B0BB970e.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function J(){}function Jt(t,e){for(const r in e)t[r]=e[r];return t}function _o(t){return t()}function Ra(){return Object.create(null)}function Ot(t){t.forEach(_o)}function $t(t){return typeof t=="function"}function je(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let mn;function Ye(t,e){return t===e?!0:(mn||(mn=document.createElement("a")),mn.href=e,t===mn.href)}function s0(t){return Object.keys(t).length===0}function yo(t,...e){if(t==null){for(const n of e)n(void 0);return J}const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function vt(t,e,r){t.$$.on_destroy.push(yo(e,r))}function o0(t,e,r,n){if(t){const i=Co(t,e,r,n);return t[0](i)}}function Co(t,e,r,n){return t[1]&&n?Jt(r.ctx.slice(),t[1](n(e))):r.ctx}function l0(t,e,r,n){if(t[2]&&n){const i=t[2](n(r));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],s=Math.max(e.dirty.length,i.length);for(let o=0;o<s;o+=1)a[o]=e.dirty[o]|i[o];return a}return e.dirty|i}return e.dirty}function u0(t,e,r,n,i,a){if(i){const s=Co(e,r,n,a);t.p(s,i)}}function c0(t){if(t.ctx.length>32){const e=[],r=t.ctx.length/32;for(let n=0;n<r;n++)e[n]=-1;return e}return-1}function Aa(t){const e={};for(const r in t)r[0]!=="$"&&(e[r]=t[r]);return e}function er(t){return t&&$t(t.destroy)?t.destroy:J}function m(t,e){t.appendChild(e)}function _r(t,e,r){const n=f0(t);if(!n.getElementById(e)){const i=b("style");i.id=e,i.textContent=r,d0(n,i)}}function f0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function d0(t,e){return m(t.head||t,e),e.sheet}function C(t,e,r){t.insertBefore(e,r||null)}function y(t){t.parentNode&&t.parentNode.removeChild(t)}function ft(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function b(t){return document.createElement(t)}function $e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function O(t){return document.createTextNode(t)}function H(){return O(" ")}function de(){return O("")}function tt(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function c(t,e,r){r==null?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function h0(t){return Array.from(t.childNodes)}function W(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e,r,n){r==null?t.style.removeProperty(e):t.style.setProperty(e,r,"")}function pn(t,e,r){t.classList.toggle(e,!!r)}function m0(t){const e={};return t.childNodes.forEach(r=>{e[r.slot||"default"]=!0}),e}function Mr(t,e){return new t(e)}let en;function Qr(t){en=t}function vo(){if(!en)throw new Error("Function called outside component initialization");return en}function tr(t){vo().$$.on_mount.push(t)}const kr=[],tn=[];let xr=[];const Fa=[],p0=Promise.resolve();let vi=!1;function g0(){vi||(vi=!0,p0.then(x))}function wi(t){xr.push(t)}const ui=new Set;let vr=0;function x(){if(vr!==0)return;const t=en;do{try{for(;vr<kr.length;){const e=kr[vr];vr++,Qr(e),b0(e.$$)}}catch(e){throw kr.length=0,vr=0,e}for(Qr(null),kr.length=0,vr=0;tn.length;)tn.pop()();for(let e=0;e<xr.length;e+=1){const r=xr[e];ui.has(r)||(ui.add(r),r())}xr.length=0}while(kr.length);for(;Fa.length;)Fa.pop()();vi=!1,ui.clear(),Qr(t)}function b0(t){if(t.fragment!==null){t.update(),Ot(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(wi)}}function _0(t){const e=[],r=[];xr.forEach(n=>t.indexOf(n)===-1?e.push(n):r.push(n)),r.forEach(n=>n()),xr=e}const Cn=new Set;let pr;function lt(){pr={r:0,c:[],p:pr}}function ut(){pr.r||Ot(pr.c),pr=pr.p}function oe(t,e){t&&t.i&&(Cn.delete(t),t.i(e))}function _e(t,e,r,n){if(t&&t.o){if(Cn.has(t))return;Cn.add(t),pr.c.push(()=>{Cn.delete(t),n&&(r&&t.d(1),n())}),t.o(e)}else n&&n()}function Le(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Rr(t,e){const r={},n={},i={$$scope:1};let a=t.length;for(;a--;){const s=t[a],o=e[a];if(o){for(const l in s)l in o||(n[l]=1);for(const l in o)i[l]||(r[l]=o[l],i[l]=1);t[a]=o}else for(const l in s)i[l]=1}for(const s in n)s in r||(r[s]=void 0);return r}function Ar(t){return typeof t=="object"&&t!==null?t:{}}function cr(t){t&&t.c()}function Zt(t,e,r){const{fragment:n,after_update:i}=t.$$;n&&n.m(e,r),wi(()=>{const a=t.$$.on_mount.map(_o).filter($t);t.$$.on_destroy?t.$$.on_destroy.push(...a):Ot(a),t.$$.on_mount=[]}),i.forEach(wi)}function Xt(t,e){const r=t.$$;r.fragment!==null&&(_0(r.after_update),Ot(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function y0(t,e){t.$$.dirty[0]===-1&&(kr.push(t),g0(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function We(t,e,r,n,i,a,s=null,o=[-1]){const l=en;Qr(t);const u=t.$$={fragment:null,ctx:[],props:a,update:J,not_equal:i,bound:Ra(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:Ra(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};s&&s(u.root);let f=!1;if(u.ctx=r?r(t,e.props||{},(d,h,...p)=>{const _=p.length?p[0]:h;return u.ctx&&i(u.ctx[d],u.ctx[d]=_)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](_),f&&y0(t,d)),h}):[],u.update(),f=!0,Ot(u.before_update),u.fragment=n?n(u.ctx):!1,e.target){if(e.hydrate){const d=h0(e.target);u.fragment&&u.fragment.l(d),d.forEach(y)}else u.fragment&&u.fragment.c();e.intro&&oe(t.$$.fragment),Zt(t,e.target,e.anchor),x()}Qr(l)}let wo;typeof HTMLElement=="function"&&(wo=class extends HTMLElement{constructor(e,r,n){super();yt(this,"$$ctor");yt(this,"$$s");yt(this,"$$c");yt(this,"$$cn",!1);yt(this,"$$d",{});yt(this,"$$r",!1);yt(this,"$$p_d",{});yt(this,"$$l",{});yt(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(e,r,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(r),this.$$c){const i=this.$$c.$on(e,r);this.$$l_u.set(r,i)}super.addEventListener(e,r,n)}removeEventListener(e,r,n){if(super.removeEventListener(e,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Yr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(a){return()=>{let s;return{c:function(){s=b("slot"),a!=="default"&&c(s,"name",a)},m:function(u,f){C(u,s,f)},d:function(u){u&&y(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=m0(this);for(const a of this.$$s)a in n&&(r[a]=[e(a)]);for(const a of this.attributes){const s=this.$$g_p(a.name);s in this.$$d||(this.$$d[s]=vn(s,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ma(ar({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const s=vn(a,this.$$d[a],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const s of this.$$l[a]){const o=this.$$c.$on(a,s);this.$$l_u.set(s,o)}this.$$l={}}})}attributeChangedCallback(e,r,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=vn(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===e||!this.$$p_d[r].attribute&&r.toLowerCase()===e)||e}});function vn(t,e,r,n){var a;const i=(a=r[t])==null?void 0:a.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!n||!r[t])return e;if(n==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ve(t,e,r,n,i,a){let s=class extends wo{constructor(){super(t,r,i),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(o=>(e[o].attribute||o).toLowerCase())}};return Object.keys(e).forEach(o=>{Object.defineProperty(s.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=vn(o,l,e),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(s.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),t.element=s,s}class qe{constructor(){yt(this,"$$");yt(this,"$$set")}$destroy(){Xt(this,1),this.$destroy=J}$on(e,r){if(!$t(r))return J;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(e){this.$$set&&!s0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const C0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(C0);const wr=[];function v0(t,e){return{subscribe:Un(t,e).subscribe}}function Un(t,e=J){let r;const n=new Set;function i(o){if(je(t,o)&&(t=o,r)){const l=!wr.length;for(const u of n)u[1](),wr.push(u,t);if(l){for(let u=0;u<wr.length;u+=2)wr[u][0](wr[u+1]);wr.length=0}}}function a(o){i(o(t))}function s(o,l=J){const u=[o,l];return n.add(u),n.size===1&&(r=e(i,a)||J),o(t),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:s}}function Nr(t,e,r){const n=!Array.isArray(t),i=n?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=e.length<2;return v0(r,(s,o)=>{let l=!1;const u=[];let f=0,d=J;const h=()=>{if(f)return;d();const _=e(n?u[0]:u,s,o);a?s(_):d=$t(_)?_:J},p=i.map((_,g)=>yo(_,P=>{u[g]=P,f&=~(1<<g),l&&h()},()=>{f|=1<<g}));return l=!0,h(),function(){Ot(p),d(),l=!1}})}var w0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function T0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k0=function(e){return S0(e)&&!P0(e)};function S0(t){return!!t&&typeof t=="object"}function P0(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||L0(t)}var x0=typeof Symbol=="function"&&Symbol.for,D0=x0?Symbol.for("react.element"):60103;function L0(t){return t.$$typeof===D0}function E0(t){return Array.isArray(t)?[]:{}}function rn(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Fr(E0(t),t,e):t}function M0(t,e,r){return t.concat(e).map(function(n){return rn(n,r)})}function R0(t,e){if(!e.customMerge)return Fr;var r=e.customMerge(t);return typeof r=="function"?r:Fr}function A0(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Oa(t){return Object.keys(t).concat(A0(t))}function To(t,e){try{return e in t}catch(r){return!1}}function F0(t,e){return To(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function O0(t,e,r){var n={};return r.isMergeableObject(t)&&Oa(t).forEach(function(i){n[i]=rn(t[i],r)}),Oa(e).forEach(function(i){F0(t,i)||(To(t,i)&&r.isMergeableObject(e[i])?n[i]=R0(i,r)(t[i],e[i],r):n[i]=rn(e[i],r))}),n}function Fr(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||M0,r.isMergeableObject=r.isMergeableObject||k0,r.cloneUnlessOtherwiseSpecified=rn;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):O0(t,e,r):rn(e,r)}Fr.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Fr(n,i,r)},{})};var z0=Fr,B0=z0;const N0=T0(B0);var Ti=function(t,e){return Ti=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ti(t,e)};function In(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ti(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Mt=function(){return Mt=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Mt.apply(this,arguments)};function H0(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function ci(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}function fi(t,e){var r=e&&e.cache?e.cache:V0,n=e&&e.serializer?e.serializer:Y0,i=e&&e.strategy?e.strategy:j0;return i(t,{cache:r,serializer:n})}function U0(t){return t==null||typeof t=="number"||typeof t=="boolean"}function I0(t,e,r,n){var i=U0(n)?n:r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.call(this,n),e.set(i,a)),a}function ko(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=e.get(i);return typeof a=="undefined"&&(a=t.apply(this,n),e.set(i,a)),a}function So(t,e,r,n,i){return r.bind(e,t,n,i)}function j0(t,e){var r=t.length===1?I0:ko;return So(t,this,r,e.cache.create(),e.serializer)}function G0(t,e){return So(t,this,ko,e.cache.create(),e.serializer)}var Y0=function(){return JSON.stringify(arguments)},W0=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,r){this.cache[e]=r},t}(),V0={create:function(){return new W0}},di={variadic:G0},Dn=function(){return Dn=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Dn.apply(this,arguments)};var me;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(me||(me={}));var ze;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(ze||(ze={}));var Or;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Or||(Or={}));function za(t){return t.type===ze.literal}function q0(t){return t.type===ze.argument}function Po(t){return t.type===ze.number}function xo(t){return t.type===ze.date}function Do(t){return t.type===ze.time}function Lo(t){return t.type===ze.select}function Eo(t){return t.type===ze.plural}function J0(t){return t.type===ze.pound}function Mo(t){return t.type===ze.tag}function Ro(t){return!!(t&&typeof t=="object"&&t.type===Or.number)}function ki(t){return!!(t&&typeof t=="object"&&t.type===Or.dateTime)}var Ao=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Z0=/(?:[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 X0(t){var e={};return t.replace(Z0,function(r){var n=r.length;switch(r[0]){case"G":e.era=n===4?"long":n===5?"narrow":"short";break;case"y":e.year=n===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":e.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][n-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][n-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][n-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][n-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][n-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":e.minute=["numeric","2-digit"][n-1];break;case"s":e.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=n<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""}),e}var Ue=function(){return Ue=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ue.apply(this,arguments)};var Q0=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function K0(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Q0).filter(function(h){return h.length>0}),r=[],n=0,i=e;n<i.length;n++){var a=i[n],s=a.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var o=s[0],l=s.slice(1),u=0,f=l;u<f.length;u++){var d=f[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function $0(t){return t.replace(/^(.*?)-/,"")}var Ba=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Fo=/^(@+)?(\+|#+)?[rs]?$/g,eu=/(\*)(0+)|(#+)(0+)|(0+)/g,Oo=/^(0+)$/;function Na(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(Fo,function(r,n,i){return typeof i!="string"?(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length):i==="+"?e.minimumSignificantDigits=n.length:n[0]==="#"?e.maximumSignificantDigits=n.length:(e.minimumSignificantDigits=n.length,e.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),e}function zo(t){switch(t){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 tu(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if(r==="+!"?(e.signDisplay="always",t=t.slice(2)):r==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!Oo.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ha(t){var e={},r=zo(t);return r||e}function ru(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=$0(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=Ue(Ue(Ue({},e),{notation:"scientific"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"engineering":e=Ue(Ue(Ue({},e),{notation:"engineering"}),i.options.reduce(function(l,u){return Ue(Ue({},l),Ha(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(eu,function(l,u,f,d,h,p){if(u)e.minimumIntegerDigits=f.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oo.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(Ba.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ba,function(l,u,f,d,h,p){return f==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:h&&p?(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length+p.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?e=Ue(Ue({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=Ue(Ue({},e),Na(a)));continue}if(Fo.test(i.stem)){e=Ue(Ue({},e),Na(i.stem));continue}var s=zo(i.stem);s&&(e=Ue(Ue({},e),s));var o=tu(i.stem);o&&(e=Ue(Ue({},e),o))}return e}var gn={"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 nu(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if(i==="j"){for(var a=0;n+1<t.length&&t.charAt(n+1)===i;)a++,n++;var s=1+(a&1),o=a<2?1:3+(a>>1),l="a",u=iu(e);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function iu(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=t.language,n;r!=="root"&&(n=t.maximize().region);var i=gn[n||""]||gn[r||""]||gn["".concat(r,"-001")]||gn["001"];return i[0]}var hi,au=new RegExp("^".concat(Ao.source,"*")),su=new RegExp("".concat(Ao.source,"*$"));function pe(t,e){return{start:t,end:e}}var ou=!!String.prototype.startsWith&&"_a".startsWith("a",1),lu=!!String.fromCodePoint,uu=!!Object.fromEntries,cu=!!String.prototype.codePointAt,fu=!!String.prototype.trimStart,du=!!String.prototype.trimEnd,hu=!!Number.isSafeInteger,mu=hu?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Si=!0;try{var pu=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Si=((hi=pu.exec("a"))===null||hi===void 0?void 0:hi[0])==="a"}catch(t){Si=!1}var Ua=ou?function(e,r,n){return e.startsWith(r,n)}:function(e,r,n){return e.slice(n,n+r.length)===r},Pi=lu?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,a=0,s;i>a;){if(s=e[a++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Ia=uu?Object.fromEntries:function(e){for(var r={},n=0,i=e;n<i.length;n++){var a=i[n],s=a[0],o=a[1];r[s]=o}return r},Bo=cu?function(e,r){return e.codePointAt(r)}:function(e,r){var n=e.length;if(!(r<0||r>=n)){var i=e.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=e.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},gu=fu?function(e){return e.trimStart()}:function(e){return e.replace(au,"")},bu=du?function(e){return e.trimEnd()}:function(e){return e.replace(su,"")};function No(t,e){return new RegExp(t,e)}var xi;if(Si){var ja=No("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xi=function(e,r){var n;ja.lastIndex=r;var i=ja.exec(e);return(n=i[1])!==null&&n!==void 0?n:""}}else xi=function(e,r){for(var n=[];;){var i=Bo(e,r);if(i===void 0||Ho(i)||vu(i))break;n.push(i),r+=i>=65536?2:1}return Pi.apply(void 0,n)};var _u=function(){function t(e,r){r===void 0&&(r={}),this.message=e,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 t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var s=this.parseArgument(e,n);if(s.err)return s;i.push(s.val)}else{if(a===125&&e>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:ze.pound,location:pe(o,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(me.UNMATCHED_CLOSING_TAG,pe(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Di(this.peek()||0)){var s=this.parseTag(e,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ze.literal,value:"<".concat(i,"/>"),location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,r,!0);if(a.err)return a;var s=a.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Di(this.char()))return this.error(me.INVALID_TAG,pe(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(me.UNMATCHED_CLOSING_TAG,pe(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ze.tag,value:i,children:s,location:pe(n,this.clonePosition())},err:null}:this.error(me.INVALID_TAG,pe(o,this.clonePosition())))}else return this.error(me.UNCLOSED_TAG,pe(n,this.clonePosition()))}else return this.error(me.INVALID_TAG,pe(n,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Cu(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var s=this.tryParseUnquoted(e,r);if(s){i+=s;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=pe(n,this.clonePosition());return{val:{type:ze.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!yu(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Pi.apply(void 0,r)},t.prototype.tryParseUnquoted=function(e,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&e>0?null:(this.bump(),Pi(n))},t.prototype.parseArgument=function(e,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(me.EMPTY_ARGUMENT,pe(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ze.argument,value:i,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(n,this.clonePosition())):this.parseArgumentOptions(e,r,i,n);default:return this.error(me.MALFORMED_ARGUMENT,pe(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),n=xi(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),s=pe(e,a);return{value:n,location:s}},t.prototype.parseArgumentOptions=function(e,r,n,i){var a,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(me.EXPECT_ARGUMENT_TYPE,pe(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=bu(d.val);if(h.length===0)return this.error(me.EXPECT_ARGUMENT_STYLE,pe(this.clonePosition(),this.clonePosition()));var p=pe(f,this.clonePosition());u={style:h,styleLocation:p}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var g=pe(i,this.clonePosition());if(u&&Ua(u==null?void 0:u.style,"::",0)){var P=gu(u.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(P,u.styleLocation);return d.err?d:{val:{type:ze.number,value:n,location:g,style:d.val},err:null}}else{if(P.length===0)return this.error(me.EXPECT_DATE_TIME_SKELETON,g);var L=P;this.locale&&(L=nu(P,this.locale));var h={type:Or.dateTime,pattern:L,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?X0(L):{}},E=o==="date"?ze.date:ze.time;return{val:{type:E,value:n,location:g,style:h},err:null}}}return{val:{type:o==="number"?ze.number:o==="date"?ze.date:ze.time,value:n,location:g,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(me.EXPECT_SELECT_ARGUMENT_OPTIONS,pe(v,Dn({},v)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),Y=0;if(o!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,pe(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,me.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),w=this.parseIdentifierIfPossible(),Y=d.val}var D=this.tryParsePluralOrSelectOptions(e,o,r,w);if(D.err)return D;var _=this.tryParseArgumentClose(i);if(_.err)return _;var F=pe(i,this.clonePosition());return o==="select"?{val:{type:ze.select,value:n,options:Ia(D.val),location:F},err:null}:{val:{type:ze.plural,value:n,options:Ia(D.val),offset:Y,pluralType:o==="plural"?"cardinal":"ordinal",location:F},err:null}}default:return this.error(me.INVALID_ARGUMENT_TYPE,pe(s,l))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(me.EXPECT_ARGUMENT_CLOSING_BRACE,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(me.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,pe(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=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}},t.prototype.parseNumberSkeletonFromString=function(e,r){var n=[];try{n=K0(e)}catch(i){return this.error(me.INVALID_NUMBER_SKELETON,r)}return{val:{type:Or.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ru(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,r,n,i){for(var a,s=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(me.EXPECT_PLURAL_ARGUMENT_SELECTOR,me.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=pe(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?me.DUPLICATE_SELECT_ARGUMENT_SELECTOR:me.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:me.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,pe(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,r,n);if(_.err)return _;var g=this.tryParseArgumentClose(p);if(g.err)return g;o.push([u,{value:_.val,location:pe(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return o.length===0?this.error(r==="select"?me.EXPECT_SELECT_ARGUMENT_SELECTOR:me.EXPECT_PLURAL_ARGUMENT_SELECTOR,pe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(me.MISSING_OTHER_CLAUSE,pe(this.clonePosition(),this.clonePosition())):{val:o,err:null}},t.prototype.tryParseDecimalInteger=function(e,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,s=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)a=!0,s=s*10+(o-48),this.bump();else break}var l=pe(i,this.clonePosition());return a?(s*=n,mu(s)?{val:s,err:null}:this.error(r,l)):this.error(e,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=Bo(this.message,e);if(r===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Ua(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var r=this.offset(),n=this.message.indexOf(e,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(r>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ho(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(e>=65536?2:1));return n!=null?n:null},t}();function Di(t){return t>=97&&t<=122||t>=65&&t<=90}function yu(t){return Di(t)||t===47}function Cu(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Ho(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function vu(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function Li(t){t.forEach(function(e){if(delete e.location,Lo(e)||Eo(e))for(var r in e.options)delete e.options[r].location,Li(e.options[r].value);else Po(e)&&Ro(e.style)||(xo(e)||Do(e))&&ki(e.style)?delete e.style.location:Mo(e)&&Li(e.children)})}function wu(t,e){e===void 0&&(e={}),e=Dn({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new _u(t,e).parse();if(r.err){var n=SyntaxError(me[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return e!=null&&e.captureLocation||Li(r.val),r.val}var zr;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(zr||(zr={}));var jn=function(t){In(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Ga=function(t){In(e,t);function e(r,n,i,a){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),zr.INVALID_VALUE,a)||this}return e}(jn),Tu=function(t){In(e,t);function e(r,n,i){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),zr.INVALID_VALUE,i)||this}return e}(jn),ku=function(t){In(e,t);function e(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),zr.MISSING_VALUE,n)||this}return e}(jn),ot;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(ot||(ot={}));function Su(t){return t.length<2?t:t.reduce(function(e,r){var n=e[e.length-1];return!n||n.type!==ot.literal||r.type!==ot.literal?e.push(r):n.value+=r.value,e},[])}function Pu(t){return typeof t=="function"}function wn(t,e,r,n,i,a,s){if(t.length===1&&za(t[0]))return[{type:ot.literal,value:t[0].value}];for(var o=[],l=0,u=t;l<u.length;l++){var f=u[l];if(za(f)){o.push({type:ot.literal,value:f.value});continue}if(J0(f)){typeof a=="number"&&o.push({type:ot.literal,value:r.getNumberFormat(e).format(a)});continue}var d=f.value;if(!(i&&d in i))throw new ku(d,s);var h=i[d];if(q0(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),o.push({type:typeof h=="string"?ot.literal:ot.object,value:h});continue}if(xo(f)){var p=typeof f.style=="string"?n.date[f.style]:ki(f.style)?f.style.parsedOptions:void 0;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Do(f)){var p=typeof f.style=="string"?n.time[f.style]:ki(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:ot.literal,value:r.getDateTimeFormat(e,p).format(h)});continue}if(Po(f)){var p=typeof f.style=="string"?n.number[f.style]:Ro(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),o.push({type:ot.literal,value:r.getNumberFormat(e,p).format(h)});continue}if(Mo(f)){var _=f.children,g=f.value,P=i[g];if(!Pu(P))throw new Tu(g,"function",s);var L=wn(_,e,r,n,i,a),E=P(L.map(function(Y){return Y.value}));Array.isArray(E)||(E=[E]),o.push.apply(o,E.map(function(Y){return{type:typeof Y=="string"?ot.literal:ot.object,value:Y}}))}if(Lo(f)){var v=f.options[h]||f.options.other;if(!v)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,wn(v.value,e,r,n,i));continue}if(Eo(f)){var v=f.options["=".concat(h)];if(!v){if(!Intl.PluralRules)throw new jn(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,zr.MISSING_INTL_API,s);var w=r.getPluralRules(e,{type:f.pluralType}).select(h-(f.offset||0));v=f.options[w]||f.options.other}if(!v)throw new Ga(f.value,h,Object.keys(f.options),s);o.push.apply(o,wn(v.value,e,r,n,i,h-(f.offset||0)));continue}}return Su(o)}function xu(t,e){return e?Mt(Mt(Mt({},t||{}),e||{}),Object.keys(t).reduce(function(r,n){return r[n]=Mt(Mt({},t[n]),e[n]||{}),r},{})):t}function Du(t,e){return e?Object.keys(t).reduce(function(r,n){return r[n]=xu(t[n],e[n]),r},Mt({},t)):t}function mi(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}function Lu(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.number),strategy:di.variadic}),getDateTimeFormat:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.dateTime),strategy:di.variadic}),getPluralRules:fi(function(){for(var e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ci([void 0],r,!1)))},{cache:mi(t.pluralRules),strategy:di.variadic})}}var Uo=function(){function t(e,r,n,i){r===void 0&&(r=t.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(d,h){return!d.length||h.type!==ot.literal||typeof d[d.length-1]!="string"?d.push(h.value):d[d.length-1]+=h.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return wn(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var o=H0(s,["formatters"]);this.ast=t.__parse(e,Mt(Mt({},o),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Du(t.formats,n),this.formatters=i&&i.formatters||Lu(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(e);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=wu,t.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"}}},t}();function Eu(t,e){if(e==null)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const sr={},Mu=(t,e,r)=>r&&(e in sr||(sr[e]={}),t in sr[e]||(sr[e][t]=r),r),Io=(t,e)=>{if(e==null)return;if(e in sr&&t in sr[e])return sr[e][t];const r=ln(e);for(let n=0;n<r.length;n++){const i=r[n],a=Au(i,t);if(a)return Mu(t,e,a)}};let oa;const Hr=Un({});function Ru(t){return oa[t]||null}function jo(t){return t in oa}function Au(t,e){if(!jo(t))return null;const r=Ru(t);return Eu(r,e)}function Fu(t){if(t==null)return;const e=ln(t);for(let r=0;r<e.length;r++){const n=e[r];if(jo(n))return n}}function Go(t,...e){delete sr[t],Hr.update(r=>(r[t]=N0.all([r[t]||{},...e]),r))}Nr([Hr],([t])=>Object.keys(t));Hr.subscribe(t=>oa=t);const Tn={};function Ou(t,e){Tn[t].delete(e),Tn[t].size===0&&delete Tn[t]}function Yo(t){return Tn[t]}function zu(t){return ln(t).map(e=>{const r=Yo(e);return[e,r?[...r]:[]]}).filter(([,e])=>e.length>0)}function Ln(t){return t==null?!1:ln(t).some(e=>{var r;return(r=Yo(e))==null?void 0:r.size})}function Bu(t,e){return Promise.all(e.map(n=>(Ou(t,n),n().then(i=>i.default||i)))).then(n=>Go(t,...n))}const Wr={};function Wo(t){if(!Ln(t))return t in Wr?Wr[t]:Promise.resolve();const e=zu(t);return Wr[t]=Promise.all(e.map(([r,n])=>Bu(r,n))).then(()=>{if(Ln(t))return Wo(t);delete Wr[t]}),Wr[t]}var Ya=Object.getOwnPropertySymbols,Nu=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,Uu=(t,e)=>{var r={};for(var n in t)Nu.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Ya)for(var n of Ya(t))e.indexOf(n)<0&&Hu.call(t,n)&&(r[n]=t[n]);return r};const Iu={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"}}};function ju({locale:t,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${ln(t).join('", "')}".${Ln(fr())?`
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ var Yr = (t, e, r) => new Promise((n, i) => {
|
|
|
28
28
|
o((r = r.apply(t, e)).next());
|
|
29
29
|
});
|
|
30
30
|
import "../stencil/ui-skeleton-D8L-WY77.js";
|
|
31
|
-
import "../stencil/ui-image-
|
|
31
|
+
import "../stencil/ui-image-DgbODkuX.js";
|
|
32
32
|
function J() {
|
|
33
33
|
}
|
|
34
34
|
function Jt(t, 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/CasinoTournamentsCustomizePageController-
|
|
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/CasinoTournamentsCustomizePageController-BUW5PvRO.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-customize-page-controller")&&customElements.define("casino-tournaments-customize-page-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsCustomizePageController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsCustomizePageController-dp8yKOyB.js").then(
|
|
14
14
|
({ default: t }) => {
|
|
15
15
|
!customElements.get("casino-tournaments-customize-page-controller") && customElements.define(
|
|
16
16
|
"casino-tournaments-customize-page-controller",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-tournaments-customize-page-controller",
|
|
3
|
-
"version": "1.77.
|
|
3
|
+
"version": "1.77.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/casino-tournaments-customize-page-controller.cjs",
|
|
6
6
|
"module": "esnext/casino-tournaments-customize-page-controller.js",
|